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
Protobuf typegoogle.protobuf.FieldOptions.FeatureSupport
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DescriptorProtos.FieldOptions.FeatureSupport.Builder
Protobuf typegoogle.protobuf.FieldOptions.FeatureSupport
-
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.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 static int
DEPRECATION_WARNING_FIELD_NUMBER
static int
EDITION_DEPRECATED_FIELD_NUMBER
static int
EDITION_INTRODUCED_FIELD_NUMBER
static int
EDITION_REMOVED_FIELD_NUMBER
-
Fields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFields
-
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
optional string deprecation_warning = 3 [json_name = "deprecationWarning"];
ByteString
getDeprecationWarningBytes()
optional string deprecation_warning = 3 [json_name = "deprecationWarning"];
DescriptorProtos.Edition
getEditionDeprecated()
optional .google.protobuf.Edition edition_deprecated = 2 [json_name = "editionDeprecated"];
DescriptorProtos.Edition
getEditionIntroduced()
optional .google.protobuf.Edition edition_introduced = 1 [json_name = "editionIntroduced"];
DescriptorProtos.Edition
getEditionRemoved()
optional .google.protobuf.Edition edition_removed = 4 [json_name = "editionRemoved"];
boolean
hasDeprecationWarning()
optional string deprecation_warning = 3 [json_name = "deprecationWarning"];
boolean
hasEditionDeprecated()
optional .google.protobuf.Edition edition_deprecated = 2 [json_name = "editionDeprecated"];
boolean
hasEditionIntroduced()
optional .google.protobuf.Edition edition_introduced = 1 [json_name = "editionIntroduced"];
boolean
hasEditionRemoved()
optional .google.protobuf.Edition edition_removed = 4 [json_name = "editionRemoved"];
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()
-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, 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
-
EDITION_INTRODUCED_FIELD_NUMBER
public static final int EDITION_INTRODUCED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EDITION_DEPRECATED_FIELD_NUMBER
public static final int EDITION_DEPRECATED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEPRECATION_WARNING_FIELD_NUMBER
public static final int DEPRECATION_WARNING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EDITION_REMOVED_FIELD_NUMBER
public static final int EDITION_REMOVED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
hasEditionIntroduced
public boolean hasEditionIntroduced()
optional .google.protobuf.Edition edition_introduced = 1 [json_name = "editionIntroduced"];
- Specified by:
hasEditionIntroduced
in interfaceDescriptorProtos.FieldOptions.FeatureSupportOrBuilder
- Returns:
- Whether the editionIntroduced field is set.
-
getEditionIntroduced
public DescriptorProtos.Edition getEditionIntroduced()
optional .google.protobuf.Edition edition_introduced = 1 [json_name = "editionIntroduced"];
- Specified by:
getEditionIntroduced
in interfaceDescriptorProtos.FieldOptions.FeatureSupportOrBuilder
- Returns:
- The editionIntroduced.
-
hasEditionDeprecated
public boolean hasEditionDeprecated()
optional .google.protobuf.Edition edition_deprecated = 2 [json_name = "editionDeprecated"];
- Specified by:
hasEditionDeprecated
in interfaceDescriptorProtos.FieldOptions.FeatureSupportOrBuilder
- Returns:
- Whether the editionDeprecated field is set.
-
getEditionDeprecated
public DescriptorProtos.Edition getEditionDeprecated()
optional .google.protobuf.Edition edition_deprecated = 2 [json_name = "editionDeprecated"];
- Specified by:
getEditionDeprecated
in interfaceDescriptorProtos.FieldOptions.FeatureSupportOrBuilder
- Returns:
- The editionDeprecated.
-
hasDeprecationWarning
public boolean hasDeprecationWarning()
optional string deprecation_warning = 3 [json_name = "deprecationWarning"];
- Specified by:
hasDeprecationWarning
in interfaceDescriptorProtos.FieldOptions.FeatureSupportOrBuilder
- Returns:
- Whether the deprecationWarning field is set.
-
getDeprecationWarning
public java.lang.String getDeprecationWarning()
optional string deprecation_warning = 3 [json_name = "deprecationWarning"];
- Specified by:
getDeprecationWarning
in interfaceDescriptorProtos.FieldOptions.FeatureSupportOrBuilder
- Returns:
- The deprecationWarning.
-
getDeprecationWarningBytes
public ByteString getDeprecationWarningBytes()
optional string deprecation_warning = 3 [json_name = "deprecationWarning"];
- Specified by:
getDeprecationWarningBytes
in interfaceDescriptorProtos.FieldOptions.FeatureSupportOrBuilder
- Returns:
- The bytes for deprecationWarning.
-
hasEditionRemoved
public boolean hasEditionRemoved()
optional .google.protobuf.Edition edition_removed = 4 [json_name = "editionRemoved"];
- Specified by:
hasEditionRemoved
in interfaceDescriptorProtos.FieldOptions.FeatureSupportOrBuilder
- Returns:
- Whether the editionRemoved field is set.
-
getEditionRemoved
public DescriptorProtos.Edition getEditionRemoved()
optional .google.protobuf.Edition edition_removed = 4 [json_name = "editionRemoved"];
- Specified by:
getEditionRemoved
in interfaceDescriptorProtos.FieldOptions.FeatureSupportOrBuilder
- Returns:
- The editionRemoved.
-
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()
-
-