A class which describes a field in a Protocol Buffer 2 Message.
| Instance Method Summary | |
deserializationConversionPermitted() ⇒ booleanReturns true if simple conversions between numbers and strings are permitted during deserialization for this field. | |
getContainingType() ⇒ ?goog.proto2.DescriptorReturns the descriptor describing the message that defined this field. | |
getDefaultValue() ⇒ <Any Type>Returns the default value of this field. | |
getFieldMessageType() ⇒ ?goog.proto2.DescriptorReturns the descriptor of the message type of this field. Only valid for fields of type GROUP and MESSAGE. | |
getFieldType() ⇒ ?goog.proto2.FieldDescriptor.FieldTypeReturns the field type of the field described by this descriptor. | |
getName() ⇒ stringReturns the name of the field that this descriptor represents. | |
getNativeType() ⇒ ?ObjectReturns the native (i.e. ECMAScript) type of the field described by this descriptor. | |
getTag() ⇒ numberReturns the tag of the field that this descriptor represents. | |
isCompositeType() ⇒ boolean | |
isOptional() ⇒ booleanReturns whether the field described by this descriptor is optional. | |
isRepeated() ⇒ booleanReturns whether the field described by this descriptor is repeating. | |
isRequired() ⇒ booleanReturns whether the field described by this descriptor is required. | |