Interface DescriptorProtos.FieldDescriptorProtoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
DescriptorProtos.FieldDescriptorProto, DescriptorProtos.FieldDescriptorProto.Builder
Enclosing class:
DescriptorProtos

public static interface DescriptorProtos.FieldDescriptorProtoOrBuilder extends MessageOrBuilder
  • Method Details Link icon

    • hasName Link icon

      boolean hasName()
      optional string name = 1 [json_name = "name"];
      Returns:
      Whether the name field is set.
    • getName Link icon

      String getName()
      optional string name = 1 [json_name = "name"];
      Returns:
      The name.
    • getNameBytes Link icon

      com.google.protobuf.ByteString getNameBytes()
      optional string name = 1 [json_name = "name"];
      Returns:
      The bytes for name.
    • hasNumber Link icon

      boolean hasNumber()
      optional int32 number = 3 [json_name = "number"];
      Returns:
      Whether the number field is set.
    • getNumber Link icon

      int getNumber()
      optional int32 number = 3 [json_name = "number"];
      Returns:
      The number.
    • hasLabel Link icon

      boolean hasLabel()
      optional .google.protobuf.FieldDescriptorProto.Label label = 4 [json_name = "label"];
      Returns:
      Whether the label field is set.
    • getLabel Link icon

      optional .google.protobuf.FieldDescriptorProto.Label label = 4 [json_name = "label"];
      Returns:
      The label.
    • hasType Link icon

      boolean hasType()
      optional .google.protobuf.FieldDescriptorProto.Type type = 5 [json_name = "type"];
      Returns:
      Whether the type field is set.
    • getType Link icon

      optional .google.protobuf.FieldDescriptorProto.Type type = 5 [json_name = "type"];
      Returns:
      The type.
    • hasTypeName Link icon

      boolean hasTypeName()
      optional string type_name = 6 [json_name = "typeName"];
      Returns:
      Whether the typeName field is set.
    • getTypeName Link icon

      String getTypeName()
      optional string type_name = 6 [json_name = "typeName"];
      Returns:
      The typeName.
    • getTypeNameBytes Link icon

      com.google.protobuf.ByteString getTypeNameBytes()
      optional string type_name = 6 [json_name = "typeName"];
      Returns:
      The bytes for typeName.
    • hasExtendee Link icon

      boolean hasExtendee()
      optional string extendee = 2 [json_name = "extendee"];
      Returns:
      Whether the extendee field is set.
    • getExtendee Link icon

      String getExtendee()
      optional string extendee = 2 [json_name = "extendee"];
      Returns:
      The extendee.
    • getExtendeeBytes Link icon

      com.google.protobuf.ByteString getExtendeeBytes()
      optional string extendee = 2 [json_name = "extendee"];
      Returns:
      The bytes for extendee.
    • hasDefaultValue Link icon

      boolean hasDefaultValue()
      optional string default_value = 7 [json_name = "defaultValue"];
      Returns:
      Whether the defaultValue field is set.
    • getDefaultValue Link icon

      String getDefaultValue()
      optional string default_value = 7 [json_name = "defaultValue"];
      Returns:
      The defaultValue.
    • getDefaultValueBytes Link icon

      com.google.protobuf.ByteString getDefaultValueBytes()
      optional string default_value = 7 [json_name = "defaultValue"];
      Returns:
      The bytes for defaultValue.
    • hasOneofIndex Link icon

      boolean hasOneofIndex()
      optional int32 oneof_index = 9 [json_name = "oneofIndex"];
      Returns:
      Whether the oneofIndex field is set.
    • getOneofIndex Link icon

      int getOneofIndex()
      optional int32 oneof_index = 9 [json_name = "oneofIndex"];
      Returns:
      The oneofIndex.
    • hasJsonName Link icon

      boolean hasJsonName()
      optional string json_name = 10 [json_name = "jsonName"];
      Returns:
      Whether the jsonName field is set.
    • getJsonName Link icon

      String getJsonName()
      optional string json_name = 10 [json_name = "jsonName"];
      Returns:
      The jsonName.
    • getJsonNameBytes Link icon

      com.google.protobuf.ByteString getJsonNameBytes()
      optional string json_name = 10 [json_name = "jsonName"];
      Returns:
      The bytes for jsonName.
    • hasOptions Link icon

      boolean hasOptions()
      optional .google.protobuf.FieldOptions options = 8 [json_name = "options"];
      Returns:
      Whether the options field is set.
    • getOptions Link icon

      optional .google.protobuf.FieldOptions options = 8 [json_name = "options"];
      Returns:
      The options.
    • getOptionsOrBuilder Link icon

      optional .google.protobuf.FieldOptions options = 8 [json_name = "options"];
    • hasProto3Optional Link icon

      boolean hasProto3Optional()
      optional bool proto3_optional = 17 [json_name = "proto3Optional"];
      Returns:
      Whether the proto3Optional field is set.
    • getProto3Optional Link icon

      boolean getProto3Optional()
      optional bool proto3_optional = 17 [json_name = "proto3Optional"];
      Returns:
      The proto3Optional.