# Class: Value

## ProtoBuf.Reflect.Enum. Value

#### new Value(enm, name, id)

  Constructs a new Enum Value.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `enm` | ProtoBuf.Reflect.Enum | Enum reference
  `name` | string | Field name
  `id` | number | Unique field id

### Extends

- ProtoBuf.Reflect.T

### Members

#### id :number

  Unique enum value id.

#### name :string

  Object name in namespace.

  Inherited From:
    - ProtoBuf.Reflect.T#name

#### parent :ProtoBuf.Reflect.T|null

  Parent object.

  Inherited From:
    - ProtoBuf.Reflect.T#parent

### Methods

#### build()

  Builds this type.

  Inherited From:
    - ProtoBuf.Reflect.T#build

  ##### Throws:

  If this type cannot be built directly
  Type
    Error

#### fqn() → {string}

  Returns the fully qualified name of this object.

  Inherited From:
    - ProtoBuf.Reflect.T#fqn

  ##### Returns:

  Fully qualified name as of ".PATH.TO.THIS"

  Type
    string

#### toString(includeClass)

  Returns a string representation of this Reflect object (its fully qualified name).

  ##### Parameters:

  Name | Type | Argument | Description
  --- | --- | --- | ---
  `includeClass` | boolean | <optional> | Set to true to include the class name. Defaults to false.

  Inherited From:
    - ProtoBuf.Reflect.T#toString

  ##### Returns:

  String representation