public static final class DescriptorProtos.EnumOptions extends GeneratedMessage.ExtendableMessage<DescriptorProtos.EnumOptions> implements DescriptorProtos.EnumOptionsOrBuilder
google.protobuf.EnumOptions| Modifier and Type | Class and Description |
|---|---|
static class |
DescriptorProtos.EnumOptions.Builder
Protobuf type
google.protobuf.EnumOptions |
GeneratedMessage.ExtendableMessage.ExtensionWriterGeneratedMessage.BuilderParent, GeneratedMessage.ExtendableBuilder<MessageType extends GeneratedMessage.ExtendableMessage,BuilderType extends GeneratedMessage.ExtendableBuilder>, GeneratedMessage.ExtendableMessage<MessageType extends GeneratedMessage.ExtendableMessage>, GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends GeneratedMessage.ExtendableMessage>, GeneratedMessage.FieldAccessorTable, GeneratedMessage.GeneratedExtension<ContainingType extends Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOW_ALIAS_FIELD_NUMBER |
static Parser<DescriptorProtos.EnumOptions> |
PARSER |
static int |
UNINTERPRETED_OPTION_FIELD_NUMBER |
alwaysUseFieldBuildersextensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getExtension, getExtension, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, makeExtensionsImmutable, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownFieldgetDescriptorForType, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtensionequals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetExtension, getExtension, getExtensionCount, hasExtensionfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, hasFieldtoByteArray, toByteString, writeDelimitedTo, writeTopublic static Parser<DescriptorProtos.EnumOptions> PARSER
public static final int ALLOW_ALIAS_FIELD_NUMBER
public static final int UNINTERPRETED_OPTION_FIELD_NUMBER
public static DescriptorProtos.EnumOptions getDefaultInstance()
public DescriptorProtos.EnumOptions getDefaultInstanceForType()
MessageLiteOrBuildergetDefaultInstance() method of generated message classes in that
this method is an abstract method of the MessageLite interface
whereas getDefaultInstance() is a static method of a specific
class. They return the same thing.getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic final UnknownFieldSet getUnknownFields()
MessageOrBuilderUnknownFieldSet for this message.getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessagepublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
GeneratedMessageinternalGetFieldAccessorTable in class GeneratedMessagepublic Parser<DescriptorProtos.EnumOptions> getParserForType()
MessageLitegetParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessagepublic boolean hasAllowAlias()
optional bool allow_alias = 2 [default = true];
Set this option to false to disallow mapping different tag names to a same value.
hasAllowAlias in interface DescriptorProtos.EnumOptionsOrBuilderpublic boolean getAllowAlias()
optional bool allow_alias = 2 [default = true];
Set this option to false to disallow mapping different tag names to a same value.
getAllowAlias in interface DescriptorProtos.EnumOptionsOrBuilderpublic List<DescriptorProtos.UninterpretedOption> getUninterpretedOptionList()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
The parser stores options it doesn't recognize here. See above.
getUninterpretedOptionList in interface DescriptorProtos.EnumOptionsOrBuilderpublic List<? extends DescriptorProtos.UninterpretedOptionOrBuilder> getUninterpretedOptionOrBuilderList()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
The parser stores options it doesn't recognize here. See above.
getUninterpretedOptionOrBuilderList in interface DescriptorProtos.EnumOptionsOrBuilderpublic int getUninterpretedOptionCount()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
The parser stores options it doesn't recognize here. See above.
getUninterpretedOptionCount in interface DescriptorProtos.EnumOptionsOrBuilderpublic DescriptorProtos.UninterpretedOption getUninterpretedOption(int index)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
The parser stores options it doesn't recognize here. See above.
getUninterpretedOption in interface DescriptorProtos.EnumOptionsOrBuilderpublic DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(int index)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
The parser stores options it doesn't recognize here. See above.
getUninterpretedOptionOrBuilder in interface DescriptorProtos.EnumOptionsOrBuilderpublic final boolean isInitialized()
MessageLiteOrBuilderisInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessage.ExtendableMessage<DescriptorProtos.EnumOptions>public void writeTo(CodedOutputStream output) throws IOException
MessageLiteoutput. This does not
flush or close the stream.writeTo in interface MessageLitewriteTo in class AbstractMessageIOExceptionpublic int getSerializedSize()
MessageLitegetSerializedSize in interface MessageLitegetSerializedSize in class AbstractMessageprotected Object writeReplace() throws ObjectStreamException
GeneratedMessagereturn super.writeReplace();writeReplace in class GeneratedMessageObjectStreamExceptionpublic static DescriptorProtos.EnumOptions parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DescriptorProtos.EnumOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DescriptorProtos.EnumOptions parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DescriptorProtos.EnumOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DescriptorProtos.EnumOptions parseFrom(InputStream input) throws IOException
IOExceptionpublic static DescriptorProtos.EnumOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DescriptorProtos.EnumOptions parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DescriptorProtos.EnumOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DescriptorProtos.EnumOptions parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static DescriptorProtos.EnumOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DescriptorProtos.EnumOptions.Builder newBuilder()
public DescriptorProtos.EnumOptions.Builder newBuilderForType()
MessageLitenewBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static DescriptorProtos.EnumOptions.Builder newBuilder(DescriptorProtos.EnumOptions prototype)
public DescriptorProtos.EnumOptions.Builder toBuilder()
MessageLitetoBuilder in interface MessagetoBuilder in interface MessageLiteprotected DescriptorProtos.EnumOptions.Builder newBuilderForType(GeneratedMessage.BuilderParent parent)
newBuilderForType in class GeneratedMessageCopyright © 2008–2025. All rights reserved.