Class FieldDescriptor

java.lang.Object
org.bluezoo.gumdrop.grpc.proto.FieldDescriptor

public class FieldDescriptor extends Object
Descriptor for a protobuf field.
Author:
Chris Burdess
  • Method Details

    • getNumber

      public int getNumber()
    • getName

      public String getName()
    • getType

      public FieldType getType()
    • isRepeated

      public boolean isRepeated()
    • isOptional

      public boolean isOptional()
    • getMessageTypeName

      public String getMessageTypeName()
      Returns the fully qualified message type name for MESSAGE fields, or null.
    • getEnumTypeName

      public String getEnumTypeName()
      Returns the fully qualified enum type name for ENUM fields, or null.
    • getKeyTypeName

      public String getKeyTypeName()
      Returns the key type for MAP fields, or null.
    • getValueTypeName

      public String getValueTypeName()
      Returns the value type for MAP fields, or null.
    • builder

      public static FieldDescriptor.Builder builder()