Interface DescriptorProtos.OneofDescriptorProtoOrBuilder

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

public static interface DescriptorProtos.OneofDescriptorProtoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    optional string name = 1;
    com.google.protobuf.ByteString
    optional string name = 1;
    optional .google.protobuf.OneofOptions options = 2;
    optional .google.protobuf.OneofOptions options = 2;
    boolean
    optional string name = 1;
    boolean
    optional .google.protobuf.OneofOptions options = 2;

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasName

      boolean hasName()
      optional string name = 1;
      Returns:
      Whether the name field is set.
    • getName

      String getName()
      optional string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
      optional string name = 1;
      Returns:
      The bytes for name.
    • hasOptions

      boolean hasOptions()
      optional .google.protobuf.OneofOptions options = 2;
      Returns:
      Whether the options field is set.
    • getOptions

      optional .google.protobuf.OneofOptions options = 2;
      Returns:
      The options.
    • getOptionsOrBuilder

      optional .google.protobuf.OneofOptions options = 2;