FieldDescriptorProto

google.protobuf. FieldDescriptorProto

Represents a FieldDescriptorProto.

Constructor

new FieldDescriptorProto(propertiesopt)

Constructs a new FieldDescriptorProto.

Parameters:
Name Type Attributes Description
properties google.protobuf.IFieldDescriptorProto <optional>

Properties to set

Implements:
  • IFieldDescriptorProto

Members

defaultValue

FieldDescriptorProto defaultValue.

defaultValue

FieldDescriptorProto defaultValue.

defaultValue

FieldDescriptorProto defaultValue.

extendee

FieldDescriptorProto extendee.

extendee

FieldDescriptorProto extendee.

extendee

FieldDescriptorProto extendee.

jsonName

FieldDescriptorProto jsonName.

jsonName

FieldDescriptorProto jsonName.

jsonName

FieldDescriptorProto jsonName.

label

FieldDescriptorProto label.

label

FieldDescriptorProto label.

label

FieldDescriptorProto label.

name

FieldDescriptorProto name.

name

FieldDescriptorProto name.

name

FieldDescriptorProto name.

number

FieldDescriptorProto number.

number

FieldDescriptorProto number.

number

FieldDescriptorProto number.

oneofIndex

FieldDescriptorProto oneofIndex.

oneofIndex

FieldDescriptorProto oneofIndex.

oneofIndex

FieldDescriptorProto oneofIndex.

options

FieldDescriptorProto options.

options

FieldDescriptorProto options.

options

FieldDescriptorProto options.

type

FieldDescriptorProto type.

type

FieldDescriptorProto type.

type

FieldDescriptorProto type.

typeName

FieldDescriptorProto typeName.

typeName

FieldDescriptorProto typeName.

typeName

FieldDescriptorProto typeName.

Label

Label enum.

Properties:
Name Type Description
LABEL_OPTIONAL string

LABEL_OPTIONAL value

LABEL_REQUIRED string

LABEL_REQUIRED value

LABEL_REPEATED string

LABEL_REPEATED value

Label

Label enum.

Properties:
Name Type Description
LABEL_OPTIONAL string

LABEL_OPTIONAL value

LABEL_REQUIRED string

LABEL_REQUIRED value

LABEL_REPEATED string

LABEL_REPEATED value

Label

Label enum.

Properties:
Name Type Description
LABEL_OPTIONAL string

LABEL_OPTIONAL value

LABEL_REQUIRED string

LABEL_REQUIRED value

LABEL_REPEATED string

LABEL_REPEATED value

Type

Type enum.

Properties:
Name Type Description
TYPE_DOUBLE string

TYPE_DOUBLE value

TYPE_FLOAT string

TYPE_FLOAT value

TYPE_INT64 string

TYPE_INT64 value

TYPE_UINT64 string

TYPE_UINT64 value

TYPE_INT32 string

TYPE_INT32 value

TYPE_FIXED64 string

TYPE_FIXED64 value

TYPE_FIXED32 string

TYPE_FIXED32 value

TYPE_BOOL string

TYPE_BOOL value

TYPE_STRING string

TYPE_STRING value

TYPE_GROUP string

TYPE_GROUP value

TYPE_MESSAGE string

TYPE_MESSAGE value

TYPE_BYTES string

TYPE_BYTES value

TYPE_UINT32 string

TYPE_UINT32 value

TYPE_ENUM string

TYPE_ENUM value

TYPE_SFIXED32 string

TYPE_SFIXED32 value

TYPE_SFIXED64 string

TYPE_SFIXED64 value

TYPE_SINT32 string

TYPE_SINT32 value

TYPE_SINT64 string

TYPE_SINT64 value

Type

Type enum.

Properties:
Name Type Description
TYPE_DOUBLE string

TYPE_DOUBLE value

TYPE_FLOAT string

TYPE_FLOAT value

TYPE_INT64 string

TYPE_INT64 value

TYPE_UINT64 string

TYPE_UINT64 value

TYPE_INT32 string

TYPE_INT32 value

TYPE_FIXED64 string

TYPE_FIXED64 value

TYPE_FIXED32 string

TYPE_FIXED32 value

TYPE_BOOL string

TYPE_BOOL value

TYPE_STRING string

TYPE_STRING value

TYPE_GROUP string

TYPE_GROUP value

TYPE_MESSAGE string

TYPE_MESSAGE value

TYPE_BYTES string

TYPE_BYTES value

TYPE_UINT32 string

TYPE_UINT32 value

TYPE_ENUM string

TYPE_ENUM value

TYPE_SFIXED32 string

TYPE_SFIXED32 value

TYPE_SFIXED64 string

TYPE_SFIXED64 value

TYPE_SINT32 string

TYPE_SINT32 value

TYPE_SINT64 string

TYPE_SINT64 value

Type

Type enum.

Properties:
Name Type Description
TYPE_DOUBLE string

TYPE_DOUBLE value

TYPE_FLOAT string

TYPE_FLOAT value

TYPE_INT64 string

TYPE_INT64 value

TYPE_UINT64 string

TYPE_UINT64 value

TYPE_INT32 string

TYPE_INT32 value

TYPE_FIXED64 string

TYPE_FIXED64 value

TYPE_FIXED32 string

TYPE_FIXED32 value

TYPE_BOOL string

TYPE_BOOL value

TYPE_STRING string

TYPE_STRING value

TYPE_GROUP string

TYPE_GROUP value

TYPE_MESSAGE string

TYPE_MESSAGE value

TYPE_BYTES string

TYPE_BYTES value

TYPE_UINT32 string

TYPE_UINT32 value

TYPE_ENUM string

TYPE_ENUM value

TYPE_SFIXED32 string

TYPE_SFIXED32 value

TYPE_SFIXED64 string

TYPE_SFIXED64 value

TYPE_SINT32 string

TYPE_SINT32 value

TYPE_SINT64 string

TYPE_SINT64 value

Methods

toJSON() → {Object.<string, *>}

Converts this FieldDescriptorProto to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

toJSON() → {Object.<string, *>}

Converts this FieldDescriptorProto to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

toJSON() → {Object.<string, *>}

Converts this FieldDescriptorProto to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

(static) fromObject(object) → {google.protobuf.FieldDescriptorProto}

Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

Returns:
Type Description
google.protobuf.FieldDescriptorProto

FieldDescriptorProto

(static) fromObject(object) → {google.protobuf.FieldDescriptorProto}

Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

Returns:
Type Description
google.protobuf.FieldDescriptorProto

FieldDescriptorProto

(static) fromObject(object) → {google.protobuf.FieldDescriptorProto}

Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

Returns:
Type Description
google.protobuf.FieldDescriptorProto

FieldDescriptorProto

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for FieldDescriptorProto

Parameters:
Name Type Attributes Description
typeUrlPrefix string <optional>

your custom typeUrlPrefix(default "type.googleapis.com")

Returns:
Type Description
string

The default type url

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for FieldDescriptorProto

Parameters:
Name Type Attributes Description
typeUrlPrefix string <optional>

your custom typeUrlPrefix(default "type.googleapis.com")

Returns:
Type Description
string

The default type url

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for FieldDescriptorProto

Parameters:
Name Type Attributes Description
typeUrlPrefix string <optional>

your custom typeUrlPrefix(default "type.googleapis.com")

Returns:
Type Description
string

The default type url

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.protobuf.FieldDescriptorProto

FieldDescriptorProto

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.protobuf.FieldDescriptorProto

FieldDescriptorProto

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.protobuf.FieldDescriptorProto

FieldDescriptorProto

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

google.protobuf. FieldDescriptorProto

Represents a FieldDescriptorProto.

Constructor

new FieldDescriptorProto(propertiesopt)

Constructs a new FieldDescriptorProto.

Parameters:
Name Type Attributes Description
properties google.protobuf.IFieldDescriptorProto <optional>

Properties to set

Implements:
  • IFieldDescriptorProto

Members

defaultValue

FieldDescriptorProto defaultValue.

defaultValue

FieldDescriptorProto defaultValue.

defaultValue

FieldDescriptorProto defaultValue.

extendee

FieldDescriptorProto extendee.

extendee

FieldDescriptorProto extendee.

extendee

FieldDescriptorProto extendee.

jsonName

FieldDescriptorProto jsonName.

jsonName

FieldDescriptorProto jsonName.

jsonName

FieldDescriptorProto jsonName.

label

FieldDescriptorProto label.

label

FieldDescriptorProto label.

label

FieldDescriptorProto label.

name

FieldDescriptorProto name.

name

FieldDescriptorProto name.

name

FieldDescriptorProto name.

number

FieldDescriptorProto number.

number

FieldDescriptorProto number.

number

FieldDescriptorProto number.

oneofIndex

FieldDescriptorProto oneofIndex.

oneofIndex

FieldDescriptorProto oneofIndex.

oneofIndex

FieldDescriptorProto oneofIndex.

options

FieldDescriptorProto options.

options

FieldDescriptorProto options.

options

FieldDescriptorProto options.

type

FieldDescriptorProto type.

type

FieldDescriptorProto type.

type

FieldDescriptorProto type.

typeName

FieldDescriptorProto typeName.

typeName

FieldDescriptorProto typeName.

typeName

FieldDescriptorProto typeName.

Label

Label enum.

Properties:
Name Type Description
LABEL_OPTIONAL string

LABEL_OPTIONAL value

LABEL_REQUIRED string

LABEL_REQUIRED value

LABEL_REPEATED string

LABEL_REPEATED value

Label

Label enum.

Properties:
Name Type Description
LABEL_OPTIONAL string

LABEL_OPTIONAL value

LABEL_REQUIRED string

LABEL_REQUIRED value

LABEL_REPEATED string

LABEL_REPEATED value

Label

Label enum.

Properties:
Name Type Description
LABEL_OPTIONAL string

LABEL_OPTIONAL value

LABEL_REQUIRED string

LABEL_REQUIRED value

LABEL_REPEATED string

LABEL_REPEATED value

Type

Type enum.

Properties:
Name Type Description
TYPE_DOUBLE string

TYPE_DOUBLE value

TYPE_FLOAT string

TYPE_FLOAT value

TYPE_INT64 string

TYPE_INT64 value

TYPE_UINT64 string

TYPE_UINT64 value

TYPE_INT32 string

TYPE_INT32 value

TYPE_FIXED64 string

TYPE_FIXED64 value

TYPE_FIXED32 string

TYPE_FIXED32 value

TYPE_BOOL string

TYPE_BOOL value

TYPE_STRING string

TYPE_STRING value

TYPE_GROUP string

TYPE_GROUP value

TYPE_MESSAGE string

TYPE_MESSAGE value

TYPE_BYTES string

TYPE_BYTES value

TYPE_UINT32 string

TYPE_UINT32 value

TYPE_ENUM string

TYPE_ENUM value

TYPE_SFIXED32 string

TYPE_SFIXED32 value

TYPE_SFIXED64 string

TYPE_SFIXED64 value

TYPE_SINT32 string

TYPE_SINT32 value

TYPE_SINT64 string

TYPE_SINT64 value

Type

Type enum.

Properties:
Name Type Description
TYPE_DOUBLE string

TYPE_DOUBLE value

TYPE_FLOAT string

TYPE_FLOAT value

TYPE_INT64 string

TYPE_INT64 value

TYPE_UINT64 string

TYPE_UINT64 value

TYPE_INT32 string

TYPE_INT32 value

TYPE_FIXED64 string

TYPE_FIXED64 value

TYPE_FIXED32 string

TYPE_FIXED32 value

TYPE_BOOL string

TYPE_BOOL value

TYPE_STRING string

TYPE_STRING value

TYPE_GROUP string

TYPE_GROUP value

TYPE_MESSAGE string

TYPE_MESSAGE value

TYPE_BYTES string

TYPE_BYTES value

TYPE_UINT32 string

TYPE_UINT32 value

TYPE_ENUM string

TYPE_ENUM value

TYPE_SFIXED32 string

TYPE_SFIXED32 value

TYPE_SFIXED64 string

TYPE_SFIXED64 value

TYPE_SINT32 string

TYPE_SINT32 value

TYPE_SINT64 string

TYPE_SINT64 value

Type

Type enum.

Properties:
Name Type Description
TYPE_DOUBLE string

TYPE_DOUBLE value

TYPE_FLOAT string

TYPE_FLOAT value

TYPE_INT64 string

TYPE_INT64 value

TYPE_UINT64 string

TYPE_UINT64 value

TYPE_INT32 string

TYPE_INT32 value

TYPE_FIXED64 string

TYPE_FIXED64 value

TYPE_FIXED32 string

TYPE_FIXED32 value

TYPE_BOOL string

TYPE_BOOL value

TYPE_STRING string

TYPE_STRING value

TYPE_GROUP string

TYPE_GROUP value

TYPE_MESSAGE string

TYPE_MESSAGE value

TYPE_BYTES string

TYPE_BYTES value

TYPE_UINT32 string

TYPE_UINT32 value

TYPE_ENUM string

TYPE_ENUM value

TYPE_SFIXED32 string

TYPE_SFIXED32 value

TYPE_SFIXED64 string

TYPE_SFIXED64 value

TYPE_SINT32 string

TYPE_SINT32 value

TYPE_SINT64 string

TYPE_SINT64 value

Methods

toJSON() → {Object.<string, *>}

Converts this FieldDescriptorProto to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

toJSON() → {Object.<string, *>}

Converts this FieldDescriptorProto to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

toJSON() → {Object.<string, *>}

Converts this FieldDescriptorProto to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

(static) fromObject(object) → {google.protobuf.FieldDescriptorProto}

Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

Returns:
Type Description
google.protobuf.FieldDescriptorProto

FieldDescriptorProto

(static) fromObject(object) → {google.protobuf.FieldDescriptorProto}

Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

Returns:
Type Description
google.protobuf.FieldDescriptorProto

FieldDescriptorProto

(static) fromObject(object) → {google.protobuf.FieldDescriptorProto}

Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

Returns:
Type Description
google.protobuf.FieldDescriptorProto

FieldDescriptorProto

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for FieldDescriptorProto

Parameters:
Name Type Attributes Description
typeUrlPrefix string <optional>

your custom typeUrlPrefix(default "type.googleapis.com")

Returns:
Type Description
string

The default type url

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for FieldDescriptorProto

Parameters:
Name Type Attributes Description
typeUrlPrefix string <optional>

your custom typeUrlPrefix(default "type.googleapis.com")

Returns:
Type Description
string

The default type url

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for FieldDescriptorProto

Parameters:
Name Type Attributes Description
typeUrlPrefix string <optional>

your custom typeUrlPrefix(default "type.googleapis.com")

Returns:
Type Description
string

The default type url

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.protobuf.FieldDescriptorProto

FieldDescriptorProto

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.protobuf.FieldDescriptorProto

FieldDescriptorProto

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.protobuf.FieldDescriptorProto

FieldDescriptorProto

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

google.protobuf. FieldDescriptorProto

Represents a FieldDescriptorProto.

Constructor

new FieldDescriptorProto(propertiesopt)

Constructs a new FieldDescriptorProto.

Parameters:
Name Type Attributes Description
properties google.protobuf.IFieldDescriptorProto <optional>

Properties to set

Implements:
  • IFieldDescriptorProto

Members

defaultValue

FieldDescriptorProto defaultValue.

defaultValue

FieldDescriptorProto defaultValue.

defaultValue

FieldDescriptorProto defaultValue.

extendee

FieldDescriptorProto extendee.

extendee

FieldDescriptorProto extendee.

extendee

FieldDescriptorProto extendee.

jsonName

FieldDescriptorProto jsonName.

jsonName

FieldDescriptorProto jsonName.

jsonName

FieldDescriptorProto jsonName.

label

FieldDescriptorProto label.

label

FieldDescriptorProto label.

label

FieldDescriptorProto label.

name

FieldDescriptorProto name.

name

FieldDescriptorProto name.

name

FieldDescriptorProto name.

number

FieldDescriptorProto number.

number

FieldDescriptorProto number.

number

FieldDescriptorProto number.

oneofIndex

FieldDescriptorProto oneofIndex.

oneofIndex

FieldDescriptorProto oneofIndex.

oneofIndex

FieldDescriptorProto oneofIndex.

options

FieldDescriptorProto options.

options

FieldDescriptorProto options.

options

FieldDescriptorProto options.

type

FieldDescriptorProto type.

type

FieldDescriptorProto type.

type

FieldDescriptorProto type.

typeName

FieldDescriptorProto typeName.

typeName

FieldDescriptorProto typeName.

typeName

FieldDescriptorProto typeName.

Label

Label enum.

Properties:
Name Type Description
LABEL_OPTIONAL string

LABEL_OPTIONAL value

LABEL_REQUIRED string

LABEL_REQUIRED value

LABEL_REPEATED string

LABEL_REPEATED value

Label

Label enum.

Properties:
Name Type Description
LABEL_OPTIONAL string

LABEL_OPTIONAL value

LABEL_REQUIRED string

LABEL_REQUIRED value

LABEL_REPEATED string

LABEL_REPEATED value

Label

Label enum.

Properties:
Name Type Description
LABEL_OPTIONAL string

LABEL_OPTIONAL value

LABEL_REQUIRED string

LABEL_REQUIRED value

LABEL_REPEATED string

LABEL_REPEATED value

Type

Type enum.

Properties:
Name Type Description
TYPE_DOUBLE string

TYPE_DOUBLE value

TYPE_FLOAT string

TYPE_FLOAT value

TYPE_INT64 string

TYPE_INT64 value

TYPE_UINT64 string

TYPE_UINT64 value

TYPE_INT32 string

TYPE_INT32 value

TYPE_FIXED64 string

TYPE_FIXED64 value

TYPE_FIXED32 string

TYPE_FIXED32 value

TYPE_BOOL string

TYPE_BOOL value

TYPE_STRING string

TYPE_STRING value

TYPE_GROUP string

TYPE_GROUP value

TYPE_MESSAGE string

TYPE_MESSAGE value

TYPE_BYTES string

TYPE_BYTES value

TYPE_UINT32 string

TYPE_UINT32 value

TYPE_ENUM string

TYPE_ENUM value

TYPE_SFIXED32 string

TYPE_SFIXED32 value

TYPE_SFIXED64 string

TYPE_SFIXED64 value

TYPE_SINT32 string

TYPE_SINT32 value

TYPE_SINT64 string

TYPE_SINT64 value

Type

Type enum.

Properties:
Name Type Description
TYPE_DOUBLE string

TYPE_DOUBLE value

TYPE_FLOAT string

TYPE_FLOAT value

TYPE_INT64 string

TYPE_INT64 value

TYPE_UINT64 string

TYPE_UINT64 value

TYPE_INT32 string

TYPE_INT32 value

TYPE_FIXED64 string

TYPE_FIXED64 value

TYPE_FIXED32 string

TYPE_FIXED32 value

TYPE_BOOL string

TYPE_BOOL value

TYPE_STRING string

TYPE_STRING value

TYPE_GROUP string

TYPE_GROUP value

TYPE_MESSAGE string

TYPE_MESSAGE value

TYPE_BYTES string

TYPE_BYTES value

TYPE_UINT32 string

TYPE_UINT32 value

TYPE_ENUM string

TYPE_ENUM value

TYPE_SFIXED32 string

TYPE_SFIXED32 value

TYPE_SFIXED64 string

TYPE_SFIXED64 value

TYPE_SINT32 string

TYPE_SINT32 value

TYPE_SINT64 string

TYPE_SINT64 value

Type

Type enum.

Properties:
Name Type Description
TYPE_DOUBLE string

TYPE_DOUBLE value

TYPE_FLOAT string

TYPE_FLOAT value

TYPE_INT64 string

TYPE_INT64 value

TYPE_UINT64 string

TYPE_UINT64 value

TYPE_INT32 string

TYPE_INT32 value

TYPE_FIXED64 string

TYPE_FIXED64 value

TYPE_FIXED32 string

TYPE_FIXED32 value

TYPE_BOOL string

TYPE_BOOL value

TYPE_STRING string

TYPE_STRING value

TYPE_GROUP string

TYPE_GROUP value

TYPE_MESSAGE string

TYPE_MESSAGE value

TYPE_BYTES string

TYPE_BYTES value

TYPE_UINT32 string

TYPE_UINT32 value

TYPE_ENUM string

TYPE_ENUM value

TYPE_SFIXED32 string

TYPE_SFIXED32 value

TYPE_SFIXED64 string

TYPE_SFIXED64 value

TYPE_SINT32 string

TYPE_SINT32 value

TYPE_SINT64 string

TYPE_SINT64 value

Methods

toJSON() → {Object.<string, *>}

Converts this FieldDescriptorProto to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

toJSON() → {Object.<string, *>}

Converts this FieldDescriptorProto to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

toJSON() → {Object.<string, *>}

Converts this FieldDescriptorProto to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

(static) fromObject(object) → {google.protobuf.FieldDescriptorProto}

Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

Returns:
Type Description
google.protobuf.FieldDescriptorProto

FieldDescriptorProto

(static) fromObject(object) → {google.protobuf.FieldDescriptorProto}

Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

Returns:
Type Description
google.protobuf.FieldDescriptorProto

FieldDescriptorProto

(static) fromObject(object) → {google.protobuf.FieldDescriptorProto}

Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

Returns:
Type Description
google.protobuf.FieldDescriptorProto

FieldDescriptorProto

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for FieldDescriptorProto

Parameters:
Name Type Attributes Description
typeUrlPrefix string <optional>

your custom typeUrlPrefix(default "type.googleapis.com")

Returns:
Type Description
string

The default type url

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for FieldDescriptorProto

Parameters:
Name Type Attributes Description
typeUrlPrefix string <optional>

your custom typeUrlPrefix(default "type.googleapis.com")

Returns:
Type Description
string

The default type url

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for FieldDescriptorProto

Parameters:
Name Type Attributes Description
typeUrlPrefix string <optional>

your custom typeUrlPrefix(default "type.googleapis.com")

Returns:
Type Description
string

The default type url

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.protobuf.FieldDescriptorProto

FieldDescriptorProto

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.protobuf.FieldDescriptorProto

FieldDescriptorProto

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.protobuf.FieldDescriptorProto

FieldDescriptorProto

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object