Package com.google.protobuf
Class DescriptorProtos.EnumOptions
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- com.google.protobuf.GeneratedMessage.ExtendableMessage<DescriptorProtos.EnumOptions>
-
- com.google.protobuf.DescriptorProtos.EnumOptions
-
- All Implemented Interfaces:
DescriptorProtos.EnumOptionsOrBuilder,GeneratedMessage.ExtendableMessageOrBuilder<DescriptorProtos.EnumOptions>,Message,MessageLite,MessageLiteOrBuilder,MessageOrBuilder,java.io.Serializable
- Enclosing class:
- DescriptorProtos
public static final class DescriptorProtos.EnumOptions extends GeneratedMessage.ExtendableMessage<DescriptorProtos.EnumOptions> implements DescriptorProtos.EnumOptionsOrBuilder
Protobuf typegoogle.protobuf.EnumOptions- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDescriptorProtos.EnumOptions.BuilderProtobuf typegoogle.protobuf.EnumOptions-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage.ExtendableMessage
GeneratedMessage.ExtendableMessage.ExtensionSerializer, GeneratedMessage.ExtendableMessage.ExtensionWriter
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
GeneratedMessage.ExtendableBuilder<MessageT extends GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, GeneratedMessage.ExtendableMessage<MessageT extends GeneratedMessage.ExtendableMessage<MessageT>>, GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends GeneratedMessage.ExtendableMessage<MessageT>>, GeneratedMessage.ExtensionDescriptorRetriever, GeneratedMessage.FieldAccessorTable, GeneratedMessage.GeneratedExtension<ContainingT extends Message,T>, GeneratedMessage.UnusedPrivateParameter
-
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
AbstractMessage.BuilderParent
-
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
AbstractMessageLite.InternalOneOfEnum
-
-
Field Summary
Fields Modifier and Type Field Description static intALLOW_ALIAS_FIELD_NUMBERprivate booleanallowAlias_private intbitField0_private static DescriptorProtos.EnumOptionsDEFAULT_INSTANCEprivate booleandeprecated_static intDEPRECATED_FIELD_NUMBERstatic intDEPRECATED_LEGACY_JSON_FIELD_CONFLICTS_FIELD_NUMBERprivate booleandeprecatedLegacyJsonFieldConflicts_private DescriptorProtos.FeatureSetfeatures_static intFEATURES_FIELD_NUMBERprivate bytememoizedIsInitializedprivate static Parser<DescriptorProtos.EnumOptions>PARSERprivate static longserialVersionUIDstatic intUNINTERPRETED_OPTION_FIELD_NUMBERprivate java.util.List<DescriptorProtos.UninterpretedOption>uninterpretedOption_-
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFields
-
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
-
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
-
Constructor Summary
Constructors Modifier Constructor Description privateEnumOptions()privateEnumOptions(GeneratedMessage.ExtendableBuilder<DescriptorProtos.EnumOptions,?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Compares the specified object with this message for equality.booleangetAllowAlias()Set this option to true to allow mapping different tag names to the same value.static DescriptorProtos.EnumOptionsgetDefaultInstance()DescriptorProtos.EnumOptionsgetDefaultInstanceForType()Get an instance of the type with no fields set.booleangetDeprecated()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.booleangetDeprecatedLegacyJsonFieldConflicts()Deprecated.google.protobuf.EnumOptions.deprecated_legacy_json_field_conflicts is deprecated.static Descriptors.DescriptorgetDescriptor()DescriptorProtos.FeatureSetgetFeatures()Any features defined in the specific edition.DescriptorProtos.FeatureSetOrBuildergetFeaturesOrBuilder()Any features defined in the specific edition.Parser<DescriptorProtos.EnumOptions>getParserForType()TODO: Remove this unnecessary intermediate implementation of this method.intgetSerializedSize()Get the number of bytes required to encode this message.DescriptorProtos.UninterpretedOptiongetUninterpretedOption(int index)The parser stores options it doesn't recognize here.intgetUninterpretedOptionCount()The parser stores options it doesn't recognize here.java.util.List<DescriptorProtos.UninterpretedOption>getUninterpretedOptionList()The parser stores options it doesn't recognize here.DescriptorProtos.UninterpretedOptionOrBuildergetUninterpretedOptionOrBuilder(int index)The parser stores options it doesn't recognize here.java.util.List<? extends DescriptorProtos.UninterpretedOptionOrBuilder>getUninterpretedOptionOrBuilderList()The parser stores options it doesn't recognize here.booleanhasAllowAlias()Set this option to true to allow mapping different tag names to the same value.booleanhasDeprecated()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.booleanhasDeprecatedLegacyJsonFieldConflicts()Deprecated.google.protobuf.EnumOptions.deprecated_legacy_json_field_conflicts is deprecated.booleanhasFeatures()Any features defined in the specific edition.inthashCode()Returns the hash code value for this message.protected GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()Get the FieldAccessorTable for this type.booleanisInitialized()Returns true if all required fields in the message and all embedded messages are set, false otherwise.static DescriptorProtos.EnumOptions.BuildernewBuilder()static DescriptorProtos.EnumOptions.BuildernewBuilder(DescriptorProtos.EnumOptions prototype)DescriptorProtos.EnumOptions.BuildernewBuilderForType()Constructs a new builder for a message of the same type as this message.protected DescriptorProtos.EnumOptions.BuildernewBuilderForType(AbstractMessage.BuilderParent parent)Create a nested builder.static DescriptorProtos.EnumOptionsparseDelimitedFrom(java.io.InputStream input)static DescriptorProtos.EnumOptionsparseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.EnumOptionsparseFrom(byte[] data)static DescriptorProtos.EnumOptionsparseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.EnumOptionsparseFrom(ByteString data)static DescriptorProtos.EnumOptionsparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.EnumOptionsparseFrom(CodedInputStream input)static DescriptorProtos.EnumOptionsparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.EnumOptionsparseFrom(java.io.InputStream input)static DescriptorProtos.EnumOptionsparseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.EnumOptionsparseFrom(java.nio.ByteBuffer data)static DescriptorProtos.EnumOptionsparseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry)static Parser<DescriptorProtos.EnumOptions>parser()DescriptorProtos.EnumOptions.BuildertoBuilder()Constructs a builder initialized with the current message.voidwriteTo(CodedOutputStream output)Serializes the message and writes it tooutput.-
Methods inherited from class com.google.protobuf.GeneratedMessage.ExtendableMessage
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getAllFieldsRaw, getExtension, getExtension, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, newExtensionSerializer, newExtensionWriter, newMessageSetExtensionSerializer, newMessageSetExtensionWriter
-
Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, enableAlwaysUseFieldBuildersForTesting, getDescriptorForType, getFieldRaw, getOneofFieldDescriptor, getUnknownFields, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, setAlwaysUseFieldBuildersForTesting, setUnknownFields, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
compareFields, findInitializationErrors, getInitializationErrorString, getMemoizedSerializedSize, hashFields, newUninitializedMessageException, setMemoizedSerializedSize, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, getSerializedSize, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder
getExtension, getExtension, getExtensionCount, hasExtension
-
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
bitField0_
private int bitField0_
-
ALLOW_ALIAS_FIELD_NUMBER
public static final int ALLOW_ALIAS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
allowAlias_
private boolean allowAlias_
-
DEPRECATED_FIELD_NUMBER
public static final int DEPRECATED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
deprecated_
private boolean deprecated_
-
DEPRECATED_LEGACY_JSON_FIELD_CONFLICTS_FIELD_NUMBER
public static final int DEPRECATED_LEGACY_JSON_FIELD_CONFLICTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
deprecatedLegacyJsonFieldConflicts_
private boolean deprecatedLegacyJsonFieldConflicts_
-
FEATURES_FIELD_NUMBER
public static final int FEATURES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
features_
private DescriptorProtos.FeatureSet features_
-
UNINTERPRETED_OPTION_FIELD_NUMBER
public static final int UNINTERPRETED_OPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
uninterpretedOption_
private java.util.List<DescriptorProtos.UninterpretedOption> uninterpretedOption_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final DescriptorProtos.EnumOptions DEFAULT_INSTANCE
-
PARSER
private static final Parser<DescriptorProtos.EnumOptions> PARSER
-
-
Constructor Detail
-
EnumOptions
private EnumOptions(GeneratedMessage.ExtendableBuilder<DescriptorProtos.EnumOptions,?> builder)
-
EnumOptions
private EnumOptions()
-
-
Method Detail
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Description copied from class:GeneratedMessageGet the FieldAccessorTable for this type. We can't have the message class pass this in to the constructor because of bootstrapping trouble with DescriptorProtos.- Specified by:
internalGetFieldAccessorTablein classGeneratedMessage
-
hasAllowAlias
public boolean hasAllowAlias()
Set this option to true to allow mapping different tag names to the same value.
optional bool allow_alias = 2;- Specified by:
hasAllowAliasin interfaceDescriptorProtos.EnumOptionsOrBuilder- Returns:
- Whether the allowAlias field is set.
-
getAllowAlias
public boolean getAllowAlias()
Set this option to true to allow mapping different tag names to the same value.
optional bool allow_alias = 2;- Specified by:
getAllowAliasin interfaceDescriptorProtos.EnumOptionsOrBuilder- Returns:
- The allowAlias.
-
hasDeprecated
public boolean hasDeprecated()
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.
optional bool deprecated = 3 [default = false];- Specified by:
hasDeprecatedin interfaceDescriptorProtos.EnumOptionsOrBuilder- Returns:
- Whether the deprecated field is set.
-
getDeprecated
public boolean getDeprecated()
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.
optional bool deprecated = 3 [default = false];- Specified by:
getDeprecatedin interfaceDescriptorProtos.EnumOptionsOrBuilder- Returns:
- The deprecated.
-
hasDeprecatedLegacyJsonFieldConflicts
@Deprecated public boolean hasDeprecatedLegacyJsonFieldConflicts()
Deprecated.google.protobuf.EnumOptions.deprecated_legacy_json_field_conflicts is deprecated. See google/protobuf/descriptor.proto;l=839Enable the legacy handling of JSON field name conflicts. This lowercases and strips underscored from the fields before comparison in proto3 only. The new behavior takes `json_name` into account and applies to proto2 as well. TODO Remove this legacy behavior once downstream teams have had time to migrate.
optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];- Specified by:
hasDeprecatedLegacyJsonFieldConflictsin interfaceDescriptorProtos.EnumOptionsOrBuilder- Returns:
- Whether the deprecatedLegacyJsonFieldConflicts field is set.
-
getDeprecatedLegacyJsonFieldConflicts
@Deprecated public boolean getDeprecatedLegacyJsonFieldConflicts()
Deprecated.google.protobuf.EnumOptions.deprecated_legacy_json_field_conflicts is deprecated. See google/protobuf/descriptor.proto;l=839Enable the legacy handling of JSON field name conflicts. This lowercases and strips underscored from the fields before comparison in proto3 only. The new behavior takes `json_name` into account and applies to proto2 as well. TODO Remove this legacy behavior once downstream teams have had time to migrate.
optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];- Specified by:
getDeprecatedLegacyJsonFieldConflictsin interfaceDescriptorProtos.EnumOptionsOrBuilder- Returns:
- The deprecatedLegacyJsonFieldConflicts.
-
hasFeatures
public boolean hasFeatures()
Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 7;- Specified by:
hasFeaturesin interfaceDescriptorProtos.EnumOptionsOrBuilder- Returns:
- Whether the features field is set.
-
getFeatures
public DescriptorProtos.FeatureSet getFeatures()
Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 7;- Specified by:
getFeaturesin interfaceDescriptorProtos.EnumOptionsOrBuilder- Returns:
- The features.
-
getFeaturesOrBuilder
public DescriptorProtos.FeatureSetOrBuilder getFeaturesOrBuilder()
Any features defined in the specific edition.
optional .google.protobuf.FeatureSet features = 7;- Specified by:
getFeaturesOrBuilderin interfaceDescriptorProtos.EnumOptionsOrBuilder
-
getUninterpretedOptionList
public java.util.List<DescriptorProtos.UninterpretedOption> getUninterpretedOptionList()
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;- Specified by:
getUninterpretedOptionListin interfaceDescriptorProtos.EnumOptionsOrBuilder
-
getUninterpretedOptionOrBuilderList
public java.util.List<? extends DescriptorProtos.UninterpretedOptionOrBuilder> getUninterpretedOptionOrBuilderList()
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;- Specified by:
getUninterpretedOptionOrBuilderListin interfaceDescriptorProtos.EnumOptionsOrBuilder
-
getUninterpretedOptionCount
public int getUninterpretedOptionCount()
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;- Specified by:
getUninterpretedOptionCountin interfaceDescriptorProtos.EnumOptionsOrBuilder
-
getUninterpretedOption
public DescriptorProtos.UninterpretedOption getUninterpretedOption(int index)
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;- Specified by:
getUninterpretedOptionin interfaceDescriptorProtos.EnumOptionsOrBuilder
-
getUninterpretedOptionOrBuilder
public DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(int index)
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;- Specified by:
getUninterpretedOptionOrBuilderin interfaceDescriptorProtos.EnumOptionsOrBuilder
-
isInitialized
public final boolean isInitialized()
Description copied from interface:MessageLiteOrBuilderReturns true if all required fields in the message and all embedded messages are set, false otherwise.- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessage.ExtendableMessage<DescriptorProtos.EnumOptions>
-
writeTo
public void writeTo(CodedOutputStream output) throws java.io.IOException
Description copied from interface:MessageLiteSerializes the message and writes it tooutput. This does not flush or close the stream.- Specified by:
writeToin interfaceMessageLite- Overrides:
writeToin classGeneratedMessage- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
Description copied from interface:MessageLiteGet the number of bytes required to encode this message. The result is only computed on the first call and memoized after that. If this message requires more than Integer.MAX_VALUE bytes to encode, the return value will be smaller than the actual number of bytes required and might be negative.- Specified by:
getSerializedSizein interfaceMessageLite- Overrides:
getSerializedSizein classGeneratedMessage
-
equals
public boolean equals(java.lang.Object obj)
Description copied from interface:MessageCompares the specified object with this message for equality. Returnstrueif the given object is a message of the same type (as defined bygetDescriptorForType()) and has identical values for all of its fields. Subclasses must implement this; inheritingObject.equals()is incorrect.- Specified by:
equalsin interfaceMessage- Overrides:
equalsin classAbstractMessage- Parameters:
obj- object to be compared for equality with this message- Returns:
trueif the specified object is equal to this message
-
hashCode
public int hashCode()
Description copied from interface:MessageReturns the hash code value for this message. The hash code of a message should mix the message's type (object identity of the descriptor) with its contents (known and unknown field values). Subclasses must implement this; inheritingObject.hashCode()is incorrect.- Specified by:
hashCodein interfaceMessage- Overrides:
hashCodein classAbstractMessage- Returns:
- the hash code value for this message
- See Also:
Map.hashCode()
-
parseFrom
public static DescriptorProtos.EnumOptions parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.EnumOptions parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.EnumOptions parseFrom(ByteString data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.EnumOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.EnumOptions parseFrom(byte[] data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.EnumOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.EnumOptions parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DescriptorProtos.EnumOptions parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static DescriptorProtos.EnumOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static DescriptorProtos.EnumOptions parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DescriptorProtos.EnumOptions parseFrom(CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DescriptorProtos.EnumOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public DescriptorProtos.EnumOptions.Builder newBuilderForType()
Description copied from interface:MessageLiteConstructs a new builder for a message of the same type as this message.- Specified by:
newBuilderForTypein interfaceMessage- Specified by:
newBuilderForTypein interfaceMessageLite
-
newBuilder
public static DescriptorProtos.EnumOptions.Builder newBuilder()
-
newBuilder
public static DescriptorProtos.EnumOptions.Builder newBuilder(DescriptorProtos.EnumOptions prototype)
-
toBuilder
public DescriptorProtos.EnumOptions.Builder toBuilder()
Description copied from interface:MessageLiteConstructs a builder initialized with the current message. Use this to derive a new message from the current one.- Specified by:
toBuilderin interfaceMessage- Specified by:
toBuilderin interfaceMessageLite
-
newBuilderForType
protected DescriptorProtos.EnumOptions.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Description copied from class:AbstractMessageCreate a nested builder.- Overrides:
newBuilderForTypein classAbstractMessage
-
getDefaultInstance
public static DescriptorProtos.EnumOptions getDefaultInstance()
-
parser
public static Parser<DescriptorProtos.EnumOptions> parser()
-
getParserForType
public Parser<DescriptorProtos.EnumOptions> getParserForType()
Description copied from class:GeneratedMessageTODO: Remove this unnecessary intermediate implementation of this method.- Specified by:
getParserForTypein interfaceMessage- Specified by:
getParserForTypein interfaceMessageLite- Overrides:
getParserForTypein classGeneratedMessage
-
getDefaultInstanceForType
public DescriptorProtos.EnumOptions getDefaultInstanceForType()
Description copied from interface:MessageLiteOrBuilderGet an instance of the type with no fields set. Because no fields are set, all getters for singular fields will return default values and repeated fields will appear empty. This may or may not be a singleton. This differs from thegetDefaultInstance()method of generated message classes in that this method is an abstract method of theMessageLiteinterface whereasgetDefaultInstance()is a static method of a specific class. They return the same thing.- Specified by:
getDefaultInstanceForTypein interfaceGeneratedMessage.ExtendableMessageOrBuilder<DescriptorProtos.EnumOptions>- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
-