Package org.bluezoo.gumdrop.grpc.proto
Class FieldDescriptor
java.lang.Object
org.bluezoo.gumdrop.grpc.proto.FieldDescriptor
Descriptor for a protobuf field.
- Author:
- Chris Burdess
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic FieldDescriptor.Builderbuilder()Returns the fully qualified enum type name for ENUM fields, or null.Returns the key type for MAP fields, or null.Returns the fully qualified message type name for MESSAGE fields, or null.getName()intgetType()Returns the value type for MAP fields, or null.booleanboolean
-
Method Details
-
getNumber
public int getNumber() -
getName
-
getType
-
isRepeated
public boolean isRepeated() -
isOptional
public boolean isOptional() -
getMessageTypeName
Returns the fully qualified message type name for MESSAGE fields, or null. -
getEnumTypeName
Returns the fully qualified enum type name for ENUM fields, or null. -
getKeyTypeName
Returns the key type for MAP fields, or null. -
getValueTypeName
Returns the value type for MAP fields, or null. -
builder
-