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 class
DescriptorProtos.FieldOptions.FeatureSupport.Builder
Information 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 int
bitField0_
private static DescriptorProtos.FieldOptions.FeatureSupport
DEFAULT_INSTANCE
static int
DEPRECATION_WARNING_FIELD_NUMBER
private java.lang.String
deprecationWarning_
static int
EDITION_DEPRECATED_FIELD_NUMBER
static int
EDITION_INTRODUCED_FIELD_NUMBER
static int
EDITION_REMOVED_FIELD_NUMBER
private int
editionDeprecated_
private int
editionIntroduced_
private int
editionRemoved_
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 private
FeatureSupport()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
clearDeprecationWarning()
The deprecation warning text if this feature is used after the edition it was marked deprecated in.private void
clearEditionDeprecated()
The edition this feature becomes deprecated in.private void
clearEditionIntroduced()
The edition that this feature was first available in.private void
clearEditionRemoved()
The edition this feature is no longer available in.protected java.lang.Object
dynamicMethod(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.FeatureSupport
getDefaultInstance()
java.lang.String
getDeprecationWarning()
The deprecation warning text if this feature is used after the edition it was marked deprecated in.ByteString
getDeprecationWarningBytes()
The deprecation warning text if this feature is used after the edition it was marked deprecated in.DescriptorProtos.Edition
getEditionDeprecated()
The edition this feature becomes deprecated in.DescriptorProtos.Edition
getEditionIntroduced()
The edition that this feature was first available in.DescriptorProtos.Edition
getEditionRemoved()
The edition this feature is no longer available in.boolean
hasDeprecationWarning()
The deprecation warning text if this feature is used after the edition it was marked deprecated in.boolean
hasEditionDeprecated()
The edition this feature becomes deprecated in.boolean
hasEditionIntroduced()
The edition that this feature was first available in.boolean
hasEditionRemoved()
The edition this feature is no longer available in.static DescriptorProtos.FieldOptions.FeatureSupport.Builder
newBuilder()
static DescriptorProtos.FieldOptions.FeatureSupport.Builder
newBuilder(DescriptorProtos.FieldOptions.FeatureSupport prototype)
static DescriptorProtos.FieldOptions.FeatureSupport
parseDelimitedFrom(java.io.InputStream input)
static DescriptorProtos.FieldOptions.FeatureSupport
parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.FieldOptions.FeatureSupport
parseFrom(byte[] data)
static DescriptorProtos.FieldOptions.FeatureSupport
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.FieldOptions.FeatureSupport
parseFrom(ByteString data)
static DescriptorProtos.FieldOptions.FeatureSupport
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.FieldOptions.FeatureSupport
parseFrom(CodedInputStream input)
static DescriptorProtos.FieldOptions.FeatureSupport
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.FieldOptions.FeatureSupport
parseFrom(java.io.InputStream input)
static DescriptorProtos.FieldOptions.FeatureSupport
parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.FieldOptions.FeatureSupport
parseFrom(java.nio.ByteBuffer data)
static DescriptorProtos.FieldOptions.FeatureSupport
parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry)
static Parser<DescriptorProtos.FieldOptions.FeatureSupport>
parser()
private void
setDeprecationWarning(java.lang.String value)
The deprecation warning text if this feature is used after the edition it was marked deprecated in.private void
setDeprecationWarningBytes(ByteString value)
The deprecation warning text if this feature is used after the edition it was marked deprecated in.private void
setEditionDeprecated(DescriptorProtos.Edition value)
The edition this feature becomes deprecated in.private void
setEditionIntroduced(DescriptorProtos.Edition value)
The edition that this feature was first available in.private void
setEditionRemoved(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:
hasEditionIntroduced
in 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:
getEditionIntroduced
in 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:
hasEditionDeprecated
in 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:
getEditionDeprecated
in 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:
hasDeprecationWarning
in 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:
getDeprecationWarning
in 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:
getDeprecationWarningBytes
in 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:
hasEditionRemoved
in 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:
getEditionRemoved
in 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:GeneratedMessageLite
A 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_INSTANCE
returns a new instance of the protocol buffer that has not yet been made immutable. SeeMAKE_IMMUTABLE
.IS_INITIALIZED
returnsnull
for false and the default instance for true. It doesn't use or modify any memoized value.GET_MEMOIZED_IS_INITIALIZED
returns the memoizedisInitialized
byte value.SET_MEMOIZED_IS_INITIALIZED
sets the memoizedisInitialized
byte value to 1 if the first parameter is not null, or to 0 if the first parameter is null.NEW_BUILDER
returns aBuilderType
instance.
For use by generated code only.
-
getDefaultInstance
public static DescriptorProtos.FieldOptions.FeatureSupport getDefaultInstance()
-
parser
public static Parser<DescriptorProtos.FieldOptions.FeatureSupport> parser()
-
-