A class which describes a Protocol Buffer 2 Message.
| Instance Method Summary | |
createMessageInstance() ⇒ ?goog.proto2.MessageCreates an instance of the message type that this descriptor describes. | |
findFieldByName(string name) ⇒ ?goog.proto2.FieldDescriptorReturns the field matching the given name, if any. Note that this method searches over the *original* name of the field, not the camelCase version. | |
findFieldByTag((number|string) tag) ⇒ ?goog.proto2.FieldDescriptorReturns the field matching the given tag number, if any. | |
getContainingType() ⇒ ?goog.proto2.DescriptorReturns the descriptor of the containing message type or null if none. | |
getFields() ⇒ !ArrayReturns the fields in the message described by this descriptor ordered by tag. | |
getFieldsMap() ⇒ !ObjectReturns the fields in the message as a key/value map, where the key is the tag number of the field. | |
getFullName() ⇒ ?stringReturns the full name of the message, if any. | |
getName() ⇒ ?stringReturns the name of the message, if any. | |