Package com.google.protobuf
Class DescriptorProtos.FieldOptions.FeatureSupport
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<DescriptorProtos.FieldOptions.FeatureSupport,DescriptorProtos.FieldOptions.FeatureSupport.Builder>
-
- com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport
-
- All Implemented Interfaces:
DescriptorProtos.FieldOptions.FeatureSupportOrBuilder,MessageLite,MessageLiteOrBuilder
- Enclosing class:
- DescriptorProtos.FieldOptions
public static final class DescriptorProtos.FieldOptions.FeatureSupport extends GeneratedMessageLite<DescriptorProtos.FieldOptions.FeatureSupport,DescriptorProtos.FieldOptions.FeatureSupport.Builder> implements DescriptorProtos.FieldOptions.FeatureSupportOrBuilder
Information about the support window of a feature.
Protobuf typegoogle.protobuf.FieldOptions.FeatureSupport
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDescriptorProtos.FieldOptions.FeatureSupport.BuilderInformation about the support window of a feature.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
GeneratedMessageLite.DefaultInstanceBasedParser<T extends GeneratedMessageLite<T,?>>, GeneratedMessageLite.ExtendableBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageLite.ExtendableMessage<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageLite.ExtensionDescriptor, GeneratedMessageLite.GeneratedExtension<ContainingType extends MessageLite,Type>, GeneratedMessageLite.MethodToInvoke, GeneratedMessageLite.SerializedForm
-
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
AbstractMessageLite.InternalOneOfEnum
-
-
Field Summary
Fields Modifier and Type Field Description private intbitField0_private static DescriptorProtos.FieldOptions.FeatureSupportDEFAULT_INSTANCEstatic intDEPRECATION_WARNING_FIELD_NUMBERprivate java.lang.StringdeprecationWarning_static intEDITION_DEPRECATED_FIELD_NUMBERstatic intEDITION_INTRODUCED_FIELD_NUMBERstatic intEDITION_REMOVED_FIELD_NUMBERprivate inteditionDeprecated_private inteditionIntroduced_private inteditionRemoved_private static Parser<DescriptorProtos.FieldOptions.FeatureSupport>PARSER-
Fields inherited from class com.google.protobuf.GeneratedMessageLite
UNINITIALIZED_HASH_CODE, UNINITIALIZED_SERIALIZED_SIZE, unknownFields
-
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
-
Constructor Summary
Constructors Modifier Constructor Description privateFeatureSupport()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidclearDeprecationWarning()The deprecation warning text if this feature is used after the edition it was marked deprecated in.private voidclearEditionDeprecated()The edition this feature becomes deprecated in.private voidclearEditionIntroduced()The edition that this feature was first available in.private voidclearEditionRemoved()The edition this feature is no longer available in.protected java.lang.ObjectdynamicMethod(GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)A method that implements different types of operations described inGeneratedMessageLite.MethodToInvoke.static DescriptorProtos.FieldOptions.FeatureSupportgetDefaultInstance()java.lang.StringgetDeprecationWarning()The deprecation warning text if this feature is used after the edition it was marked deprecated in.ByteStringgetDeprecationWarningBytes()The deprecation warning text if this feature is used after the edition it was marked deprecated in.DescriptorProtos.EditiongetEditionDeprecated()The edition this feature becomes deprecated in.DescriptorProtos.EditiongetEditionIntroduced()The edition that this feature was first available in.DescriptorProtos.EditiongetEditionRemoved()The edition this feature is no longer available in.booleanhasDeprecationWarning()The deprecation warning text if this feature is used after the edition it was marked deprecated in.booleanhasEditionDeprecated()The edition this feature becomes deprecated in.booleanhasEditionIntroduced()The edition that this feature was first available in.booleanhasEditionRemoved()The edition this feature is no longer available in.static DescriptorProtos.FieldOptions.FeatureSupport.BuildernewBuilder()static DescriptorProtos.FieldOptions.FeatureSupport.BuildernewBuilder(DescriptorProtos.FieldOptions.FeatureSupport prototype)static DescriptorProtos.FieldOptions.FeatureSupportparseDelimitedFrom(java.io.InputStream input)static DescriptorProtos.FieldOptions.FeatureSupportparseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.FieldOptions.FeatureSupportparseFrom(byte[] data)static DescriptorProtos.FieldOptions.FeatureSupportparseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.FieldOptions.FeatureSupportparseFrom(ByteString data)static DescriptorProtos.FieldOptions.FeatureSupportparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.FieldOptions.FeatureSupportparseFrom(CodedInputStream input)static DescriptorProtos.FieldOptions.FeatureSupportparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.FieldOptions.FeatureSupportparseFrom(java.io.InputStream input)static DescriptorProtos.FieldOptions.FeatureSupportparseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.FieldOptions.FeatureSupportparseFrom(java.nio.ByteBuffer data)static DescriptorProtos.FieldOptions.FeatureSupportparseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry)static Parser<DescriptorProtos.FieldOptions.FeatureSupport>parser()private voidsetDeprecationWarning(java.lang.String value)The deprecation warning text if this feature is used after the edition it was marked deprecated in.private voidsetDeprecationWarningBytes(ByteString value)The deprecation warning text if this feature is used after the edition it was marked deprecated in.private voidsetEditionDeprecated(DescriptorProtos.Edition value)The edition this feature becomes deprecated in.private voidsetEditionIntroduced(DescriptorProtos.Edition value)The edition that this feature was first available in.private voidsetEditionRemoved(DescriptorProtos.Edition value)The edition this feature is no longer available in.-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
buildMessageInfo, clearMemoizedHashCode, clearMemoizedSerializedSize, computeHashCode, createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstance, getDefaultInstanceForType, getMemoizedHashCode, getMemoizedSerializedSize, getMethodOrDie, getParserForType, getSerializedSize, getSerializedSize, hashCode, hashCodeIsNotMemoized, invokeOrDie, isInitialized, isInitialized, isMutable, makeImmutable, markImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newMutableInstance, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, setMemoizedHashCode, setMemoizedSerializedSize, toBuilder, toString, writeTo
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, newUninitializedMessageException, 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.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
EDITION_INTRODUCED_FIELD_NUMBER
public static final int EDITION_INTRODUCED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
editionIntroduced_
private int editionIntroduced_
-
EDITION_DEPRECATED_FIELD_NUMBER
public static final int EDITION_DEPRECATED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
editionDeprecated_
private int editionDeprecated_
-
DEPRECATION_WARNING_FIELD_NUMBER
public static final int DEPRECATION_WARNING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
deprecationWarning_
private java.lang.String deprecationWarning_
-
EDITION_REMOVED_FIELD_NUMBER
public static final int EDITION_REMOVED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
editionRemoved_
private int editionRemoved_
-
DEFAULT_INSTANCE
private static final DescriptorProtos.FieldOptions.FeatureSupport DEFAULT_INSTANCE
-
PARSER
private static volatile Parser<DescriptorProtos.FieldOptions.FeatureSupport> PARSER
-
-
Method Detail
-
hasEditionIntroduced
public boolean hasEditionIntroduced()
The edition that this feature was first available in. In editions earlier than this one, the default assigned to EDITION_LEGACY will be used, and proto files will not be able to override it.
optional .google.protobuf.Edition edition_introduced = 1;- Specified by:
hasEditionIntroducedin interfaceDescriptorProtos.FieldOptions.FeatureSupportOrBuilder- Returns:
- Whether the editionIntroduced field is set.
-
getEditionIntroduced
public DescriptorProtos.Edition getEditionIntroduced()
The edition that this feature was first available in. In editions earlier than this one, the default assigned to EDITION_LEGACY will be used, and proto files will not be able to override it.
optional .google.protobuf.Edition edition_introduced = 1;- Specified by:
getEditionIntroducedin interfaceDescriptorProtos.FieldOptions.FeatureSupportOrBuilder- Returns:
- The editionIntroduced.
-
setEditionIntroduced
private void setEditionIntroduced(DescriptorProtos.Edition value)
The edition that this feature was first available in. In editions earlier than this one, the default assigned to EDITION_LEGACY will be used, and proto files will not be able to override it.
optional .google.protobuf.Edition edition_introduced = 1;- Parameters:
value- The editionIntroduced to set.
-
clearEditionIntroduced
private void clearEditionIntroduced()
The edition that this feature was first available in. In editions earlier than this one, the default assigned to EDITION_LEGACY will be used, and proto files will not be able to override it.
optional .google.protobuf.Edition edition_introduced = 1;
-
hasEditionDeprecated
public boolean hasEditionDeprecated()
The edition this feature becomes deprecated in. Using this after this edition may trigger warnings.
optional .google.protobuf.Edition edition_deprecated = 2;- Specified by:
hasEditionDeprecatedin interfaceDescriptorProtos.FieldOptions.FeatureSupportOrBuilder- Returns:
- Whether the editionDeprecated field is set.
-
getEditionDeprecated
public DescriptorProtos.Edition getEditionDeprecated()
The edition this feature becomes deprecated in. Using this after this edition may trigger warnings.
optional .google.protobuf.Edition edition_deprecated = 2;- Specified by:
getEditionDeprecatedin interfaceDescriptorProtos.FieldOptions.FeatureSupportOrBuilder- Returns:
- The editionDeprecated.
-
setEditionDeprecated
private void setEditionDeprecated(DescriptorProtos.Edition value)
The edition this feature becomes deprecated in. Using this after this edition may trigger warnings.
optional .google.protobuf.Edition edition_deprecated = 2;- Parameters:
value- The editionDeprecated to set.
-
clearEditionDeprecated
private void clearEditionDeprecated()
The edition this feature becomes deprecated in. Using this after this edition may trigger warnings.
optional .google.protobuf.Edition edition_deprecated = 2;
-
hasDeprecationWarning
public boolean hasDeprecationWarning()
The deprecation warning text if this feature is used after the edition it was marked deprecated in.
optional string deprecation_warning = 3;- Specified by:
hasDeprecationWarningin interfaceDescriptorProtos.FieldOptions.FeatureSupportOrBuilder- Returns:
- Whether the deprecationWarning field is set.
-
getDeprecationWarning
public java.lang.String getDeprecationWarning()
The deprecation warning text if this feature is used after the edition it was marked deprecated in.
optional string deprecation_warning = 3;- Specified by:
getDeprecationWarningin interfaceDescriptorProtos.FieldOptions.FeatureSupportOrBuilder- Returns:
- The deprecationWarning.
-
getDeprecationWarningBytes
public ByteString getDeprecationWarningBytes()
The deprecation warning text if this feature is used after the edition it was marked deprecated in.
optional string deprecation_warning = 3;- Specified by:
getDeprecationWarningBytesin interfaceDescriptorProtos.FieldOptions.FeatureSupportOrBuilder- Returns:
- The bytes for deprecationWarning.
-
setDeprecationWarning
private void setDeprecationWarning(java.lang.String value)
The deprecation warning text if this feature is used after the edition it was marked deprecated in.
optional string deprecation_warning = 3;- Parameters:
value- The deprecationWarning to set.
-
clearDeprecationWarning
private void clearDeprecationWarning()
The deprecation warning text if this feature is used after the edition it was marked deprecated in.
optional string deprecation_warning = 3;
-
setDeprecationWarningBytes
private void setDeprecationWarningBytes(ByteString value)
The deprecation warning text if this feature is used after the edition it was marked deprecated in.
optional string deprecation_warning = 3;- Parameters:
value- The bytes for deprecationWarning to set.
-
hasEditionRemoved
public boolean hasEditionRemoved()
The edition this feature is no longer available in. In editions after this one, the last default assigned will be used, and proto files will not be able to override it.
optional .google.protobuf.Edition edition_removed = 4;- Specified by:
hasEditionRemovedin interfaceDescriptorProtos.FieldOptions.FeatureSupportOrBuilder- Returns:
- Whether the editionRemoved field is set.
-
getEditionRemoved
public DescriptorProtos.Edition getEditionRemoved()
The edition this feature is no longer available in. In editions after this one, the last default assigned will be used, and proto files will not be able to override it.
optional .google.protobuf.Edition edition_removed = 4;- Specified by:
getEditionRemovedin interfaceDescriptorProtos.FieldOptions.FeatureSupportOrBuilder- Returns:
- The editionRemoved.
-
setEditionRemoved
private void setEditionRemoved(DescriptorProtos.Edition value)
The edition this feature is no longer available in. In editions after this one, the last default assigned will be used, and proto files will not be able to override it.
optional .google.protobuf.Edition edition_removed = 4;- Parameters:
value- The editionRemoved to set.
-
clearEditionRemoved
private void clearEditionRemoved()
The edition this feature is no longer available in. In editions after this one, the last default assigned will be used, and proto files will not be able to override it.
optional .google.protobuf.Edition edition_removed = 4;
-
parseFrom
public static DescriptorProtos.FieldOptions.FeatureSupport parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FieldOptions.FeatureSupport parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FieldOptions.FeatureSupport parseFrom(ByteString data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FieldOptions.FeatureSupport parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FieldOptions.FeatureSupport parseFrom(byte[] data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FieldOptions.FeatureSupport parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FieldOptions.FeatureSupport parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DescriptorProtos.FieldOptions.FeatureSupport parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static DescriptorProtos.FieldOptions.FeatureSupport parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static DescriptorProtos.FieldOptions.FeatureSupport parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DescriptorProtos.FieldOptions.FeatureSupport parseFrom(CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DescriptorProtos.FieldOptions.FeatureSupport parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static DescriptorProtos.FieldOptions.FeatureSupport.Builder newBuilder()
-
newBuilder
public static DescriptorProtos.FieldOptions.FeatureSupport.Builder newBuilder(DescriptorProtos.FieldOptions.FeatureSupport prototype)
-
dynamicMethod
protected final java.lang.Object dynamicMethod(GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)
Description copied from class:GeneratedMessageLiteA method that implements different types of operations described inGeneratedMessageLite.MethodToInvoke. These different kinds of operations are required to implement message-level operations for builders in the runtime. This method bundles those operations to reduce the generated methods count.NEW_INSTANCEreturns a new instance of the protocol buffer that has not yet been made immutable. SeeMAKE_IMMUTABLE.IS_INITIALIZEDreturnsnullfor false and the default instance for true. It doesn't use or modify any memoized value.GET_MEMOIZED_IS_INITIALIZEDreturns the memoizedisInitializedbyte value.SET_MEMOIZED_IS_INITIALIZEDsets the memoizedisInitializedbyte value to 1 if the first parameter is not null, or to 0 if the first parameter is null.NEW_BUILDERreturns aBuilderTypeinstance.
For use by generated code only.
-
getDefaultInstance
public static DescriptorProtos.FieldOptions.FeatureSupport getDefaultInstance()
-
parser
public static Parser<DescriptorProtos.FieldOptions.FeatureSupport> parser()
-
-