Package com.google.protobuf
Interface DescriptorProtos.EnumOptionsOrBuilder
- All Superinterfaces:
GeneratedMessage.ExtendableMessageOrBuilder<DescriptorProtos.EnumOptions>
,MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
DescriptorProtos.EnumOptions
,DescriptorProtos.EnumOptions.Builder
- Enclosing class:
- DescriptorProtos
public static interface DescriptorProtos.EnumOptionsOrBuilder
extends GeneratedMessage.ExtendableMessageOrBuilder<DescriptorProtos.EnumOptions>
-
Method Summary
Modifier and TypeMethodDescriptionboolean
optional bool allow_alias = 2;
boolean
optional bool deprecated = 3 [default = false];
getUninterpretedOption
(int index) repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
int
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
getUninterpretedOptionOrBuilder
(int index) repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
boolean
optional bool allow_alias = 2;
boolean
optional bool deprecated = 3 [default = false];
Methods inherited from interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder
getDefaultInstanceForType, getExtension, getExtension, getExtensionCount, hasExtension
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasAllowAlias
boolean hasAllowAlias()optional bool allow_alias = 2;
Set this option to true to allow mapping different tag names to the same value.
-
getAllowAlias
boolean getAllowAlias()optional bool allow_alias = 2;
Set this option to true to allow mapping different tag names to the same value.
-
hasDeprecated
boolean hasDeprecated()optional bool deprecated = 3 [default = false];
Is this enum deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum, or it will be completely ignored; in the very least, this is a formalization for deprecating enums.
-
getDeprecated
boolean getDeprecated()optional bool deprecated = 3 [default = false];
Is this enum deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum, or it will be completely ignored; in the very least, this is a formalization for deprecating enums.
-
getUninterpretedOptionList
List<DescriptorProtos.UninterpretedOption> getUninterpretedOptionList()repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
The parser stores options it doesn't recognize here. See above.
-
getUninterpretedOption
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
The parser stores options it doesn't recognize here. See above.
-
getUninterpretedOptionCount
int getUninterpretedOptionCount()repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
The parser stores options it doesn't recognize here. See above.
-
getUninterpretedOptionOrBuilderList
List<? extends DescriptorProtos.UninterpretedOptionOrBuilder> getUninterpretedOptionOrBuilderList()repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
The parser stores options it doesn't recognize here. See above.
-
getUninterpretedOptionOrBuilder
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
The parser stores options it doesn't recognize here. See above.
-