public interface EnumValueOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getName()
optional string name = 1; |
ByteString |
getNameBytes()
optional string name = 1; |
int |
getNumber()
optional int32 number = 2; |
Option |
getOptions(int index)
repeated .google.protobuf.Option options = 3; |
int |
getOptionsCount()
repeated .google.protobuf.Option options = 3; |
List<Option> |
getOptionsList()
repeated .google.protobuf.Option options = 3; |
OptionOrBuilder |
getOptionsOrBuilder(int index)
repeated .google.protobuf.Option options = 3; |
List<? extends OptionOrBuilder> |
getOptionsOrBuilderList()
repeated .google.protobuf.Option options = 3; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getName()
optional string name = 1;
Enum value name.
ByteString getNameBytes()
optional string name = 1;
Enum value name.
int getNumber()
optional int32 number = 2;
Enum value number.
List<Option> getOptionsList()
repeated .google.protobuf.Option options = 3;
Proto options for the enum value.
Option getOptions(int index)
repeated .google.protobuf.Option options = 3;
Proto options for the enum value.
int getOptionsCount()
repeated .google.protobuf.Option options = 3;
Proto options for the enum value.
List<? extends OptionOrBuilder> getOptionsOrBuilderList()
repeated .google.protobuf.Option options = 3;
Proto options for the enum value.
OptionOrBuilder getOptionsOrBuilder(int index)
repeated .google.protobuf.Option options = 3;
Proto options for the enum value.
Copyright © 2008–2015 Google. All rights reserved.