Interface DescriptorProtos.OneofDescriptorProtoOrBuilder

All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
DescriptorProtos.OneofDescriptorProto, DescriptorProtos.OneofDescriptorProto.Builder
Enclosing class:
DescriptorProtos

public static interface DescriptorProtos.OneofDescriptorProtoOrBuilder 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

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

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

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

      optional .google.protobuf.OneofOptions options = 2 [json_name = "options"];