Package com.google.protobuf
Class DescriptorProtos.FeatureSet
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.ExtendableMessage<DescriptorProtos.FeatureSet,DescriptorProtos.FeatureSet.Builder>
-
- com.google.protobuf.DescriptorProtos.FeatureSet
-
- All Implemented Interfaces:
DescriptorProtos.FeatureSetOrBuilder
,GeneratedMessageLite.ExtendableMessageOrBuilder<DescriptorProtos.FeatureSet,DescriptorProtos.FeatureSet.Builder>
,MessageLite
,MessageLiteOrBuilder
- Enclosing class:
- DescriptorProtos
public static final class DescriptorProtos.FeatureSet extends GeneratedMessageLite.ExtendableMessage<DescriptorProtos.FeatureSet,DescriptorProtos.FeatureSet.Builder> implements DescriptorProtos.FeatureSetOrBuilder
Protobuf typegoogle.protobuf.FeatureSet
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DescriptorProtos.FeatureSet.Builder
Protobuf typegoogle.protobuf.FeatureSet
static class
DescriptorProtos.FeatureSet.EnumType
Protobuf enumgoogle.protobuf.FeatureSet.EnumType
static class
DescriptorProtos.FeatureSet.FieldPresence
Protobuf enumgoogle.protobuf.FeatureSet.FieldPresence
static class
DescriptorProtos.FeatureSet.JsonFormat
Protobuf enumgoogle.protobuf.FeatureSet.JsonFormat
static class
DescriptorProtos.FeatureSet.MessageEncoding
Protobuf enumgoogle.protobuf.FeatureSet.MessageEncoding
static class
DescriptorProtos.FeatureSet.RepeatedFieldEncoding
Protobuf enumgoogle.protobuf.FeatureSet.RepeatedFieldEncoding
static class
DescriptorProtos.FeatureSet.Utf8Validation
Protobuf enumgoogle.protobuf.FeatureSet.Utf8Validation
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite.ExtendableMessage
GeneratedMessageLite.ExtendableMessage.ExtensionWriter
-
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
ENUM_TYPE_FIELD_NUMBER
static int
FIELD_PRESENCE_FIELD_NUMBER
static int
JSON_FORMAT_FIELD_NUMBER
static int
MESSAGE_ENCODING_FIELD_NUMBER
static int
REPEATED_FIELD_ENCODING_FIELD_NUMBER
static int
UTF8_VALIDATION_FIELD_NUMBER
-
Fields inherited from class com.google.protobuf.GeneratedMessageLite.ExtendableMessage
extensions
-
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.FeatureSet
getDefaultInstance()
DescriptorProtos.FeatureSet.EnumType
getEnumType()
optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [json_name = "enumType", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ...
DescriptorProtos.FeatureSet.FieldPresence
getFieldPresence()
optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [json_name = "fieldPresence", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...
DescriptorProtos.FeatureSet.JsonFormat
getJsonFormat()
optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [json_name = "jsonFormat", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ...
DescriptorProtos.FeatureSet.MessageEncoding
getMessageEncoding()
optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [json_name = "messageEncoding", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...
DescriptorProtos.FeatureSet.RepeatedFieldEncoding
getRepeatedFieldEncoding()
optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [json_name = "repeatedFieldEncoding", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...
DescriptorProtos.FeatureSet.Utf8Validation
getUtf8Validation()
optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [json_name = "utf8Validation", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...
boolean
hasEnumType()
optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [json_name = "enumType", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ...
boolean
hasFieldPresence()
optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [json_name = "fieldPresence", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...
boolean
hasJsonFormat()
optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [json_name = "jsonFormat", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ...
boolean
hasMessageEncoding()
optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [json_name = "messageEncoding", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...
boolean
hasRepeatedFieldEncoding()
optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [json_name = "repeatedFieldEncoding", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...
boolean
hasUtf8Validation()
optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [json_name = "utf8Validation", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...
static DescriptorProtos.FeatureSet.Builder
newBuilder()
static DescriptorProtos.FeatureSet.Builder
newBuilder(DescriptorProtos.FeatureSet prototype)
static DescriptorProtos.FeatureSet
parseDelimitedFrom(java.io.InputStream input)
static DescriptorProtos.FeatureSet
parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.FeatureSet
parseFrom(byte[] data)
static DescriptorProtos.FeatureSet
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.FeatureSet
parseFrom(ByteString data)
static DescriptorProtos.FeatureSet
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.FeatureSet
parseFrom(CodedInputStream input)
static DescriptorProtos.FeatureSet
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.FeatureSet
parseFrom(java.io.InputStream input)
static DescriptorProtos.FeatureSet
parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.FeatureSet
parseFrom(java.nio.ByteBuffer data)
static DescriptorProtos.FeatureSet
parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry)
static Parser<DescriptorProtos.FeatureSet>
parser()
-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.ExtendableMessage
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getExtension, getExtension, getExtensionCount, hasExtension, mergeExtensionFields, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownField, parseUnknownFieldAsMessageSet
-
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.GeneratedMessageLite.ExtendableMessageOrBuilder
getExtension, getExtension, getExtensionCount, hasExtension
-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
-
-
-
Field Detail
-
FIELD_PRESENCE_FIELD_NUMBER
public static final int FIELD_PRESENCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENUM_TYPE_FIELD_NUMBER
public static final int ENUM_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REPEATED_FIELD_ENCODING_FIELD_NUMBER
public static final int REPEATED_FIELD_ENCODING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UTF8_VALIDATION_FIELD_NUMBER
public static final int UTF8_VALIDATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MESSAGE_ENCODING_FIELD_NUMBER
public static final int MESSAGE_ENCODING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
JSON_FORMAT_FIELD_NUMBER
public static final int JSON_FORMAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
hasFieldPresence
public boolean hasFieldPresence()
optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [json_name = "fieldPresence", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
- Specified by:
hasFieldPresence
in interfaceDescriptorProtos.FeatureSetOrBuilder
- Returns:
- Whether the fieldPresence field is set.
-
getFieldPresence
public DescriptorProtos.FeatureSet.FieldPresence getFieldPresence()
optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [json_name = "fieldPresence", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
- Specified by:
getFieldPresence
in interfaceDescriptorProtos.FeatureSetOrBuilder
- Returns:
- The fieldPresence.
-
hasEnumType
public boolean hasEnumType()
optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [json_name = "enumType", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
- Specified by:
hasEnumType
in interfaceDescriptorProtos.FeatureSetOrBuilder
- Returns:
- Whether the enumType field is set.
-
getEnumType
public DescriptorProtos.FeatureSet.EnumType getEnumType()
optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [json_name = "enumType", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
- Specified by:
getEnumType
in interfaceDescriptorProtos.FeatureSetOrBuilder
- Returns:
- The enumType.
-
hasRepeatedFieldEncoding
public boolean hasRepeatedFieldEncoding()
optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [json_name = "repeatedFieldEncoding", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
- Specified by:
hasRepeatedFieldEncoding
in interfaceDescriptorProtos.FeatureSetOrBuilder
- Returns:
- Whether the repeatedFieldEncoding field is set.
-
getRepeatedFieldEncoding
public DescriptorProtos.FeatureSet.RepeatedFieldEncoding getRepeatedFieldEncoding()
optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [json_name = "repeatedFieldEncoding", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
- Specified by:
getRepeatedFieldEncoding
in interfaceDescriptorProtos.FeatureSetOrBuilder
- Returns:
- The repeatedFieldEncoding.
-
hasUtf8Validation
public boolean hasUtf8Validation()
optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [json_name = "utf8Validation", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
- Specified by:
hasUtf8Validation
in interfaceDescriptorProtos.FeatureSetOrBuilder
- Returns:
- Whether the utf8Validation field is set.
-
getUtf8Validation
public DescriptorProtos.FeatureSet.Utf8Validation getUtf8Validation()
optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [json_name = "utf8Validation", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
- Specified by:
getUtf8Validation
in interfaceDescriptorProtos.FeatureSetOrBuilder
- Returns:
- The utf8Validation.
-
hasMessageEncoding
public boolean hasMessageEncoding()
optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [json_name = "messageEncoding", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
- Specified by:
hasMessageEncoding
in interfaceDescriptorProtos.FeatureSetOrBuilder
- Returns:
- Whether the messageEncoding field is set.
-
getMessageEncoding
public DescriptorProtos.FeatureSet.MessageEncoding getMessageEncoding()
optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [json_name = "messageEncoding", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
- Specified by:
getMessageEncoding
in interfaceDescriptorProtos.FeatureSetOrBuilder
- Returns:
- The messageEncoding.
-
hasJsonFormat
public boolean hasJsonFormat()
optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [json_name = "jsonFormat", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
- Specified by:
hasJsonFormat
in interfaceDescriptorProtos.FeatureSetOrBuilder
- Returns:
- Whether the jsonFormat field is set.
-
getJsonFormat
public DescriptorProtos.FeatureSet.JsonFormat getJsonFormat()
optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [json_name = "jsonFormat", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
- Specified by:
getJsonFormat
in interfaceDescriptorProtos.FeatureSetOrBuilder
- Returns:
- The jsonFormat.
-
parseFrom
public static DescriptorProtos.FeatureSet parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FeatureSet parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FeatureSet parseFrom(ByteString data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FeatureSet parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FeatureSet parseFrom(byte[] data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FeatureSet parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FeatureSet parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DescriptorProtos.FeatureSet parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static DescriptorProtos.FeatureSet parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static DescriptorProtos.FeatureSet parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DescriptorProtos.FeatureSet parseFrom(CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DescriptorProtos.FeatureSet parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static DescriptorProtos.FeatureSet.Builder newBuilder()
-
newBuilder
public static DescriptorProtos.FeatureSet.Builder newBuilder(DescriptorProtos.FeatureSet 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.
- Specified by:
dynamicMethod
in classGeneratedMessageLite<DescriptorProtos.FeatureSet,DescriptorProtos.FeatureSet.Builder>
-
getDefaultInstance
public static DescriptorProtos.FeatureSet getDefaultInstance()
-
parser
public static Parser<DescriptorProtos.FeatureSet> parser()
-
-