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
TODO Enums in C++ gencode (and potentially other languages) are not well scoped. This means that each of the feature enums below can clash with each other. The short names we've chosen maximize call-site readability, but leave us very open to this scenario. A future feature will be designed and implemented to handle this, hopefully before we ever hit a conflict here.
Protobuf typegoogle.protobuf.FeatureSet
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DescriptorProtos.FeatureSet.Builder
TODO Enums in C++ gencode (and potentially other languages) are not well scoped.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.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.FeatureSet
DEFAULT_INSTANCE
static int
ENUM_TYPE_FIELD_NUMBER
private int
enumType_
static int
FIELD_PRESENCE_FIELD_NUMBER
private int
fieldPresence_
static int
JSON_FORMAT_FIELD_NUMBER
private int
jsonFormat_
private byte
memoizedIsInitialized
static int
MESSAGE_ENCODING_FIELD_NUMBER
private int
messageEncoding_
private static Parser<DescriptorProtos.FeatureSet>
PARSER
static int
REPEATED_FIELD_ENCODING_FIELD_NUMBER
private int
repeatedFieldEncoding_
static int
UTF8_VALIDATION_FIELD_NUMBER
private int
utf8Validation_
-
Fields inherited from class com.google.protobuf.GeneratedMessageLite.ExtendableMessage
extensions
-
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
FeatureSet()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
clearEnumType()
optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ...
private void
clearFieldPresence()
optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...
private void
clearJsonFormat()
optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ...
private void
clearMessageEncoding()
optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...
private void
clearRepeatedFieldEncoding()
optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...
private void
clearUtf8Validation()
optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...
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 [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 [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 [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 [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 [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 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...
boolean
hasEnumType()
optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ...
boolean
hasFieldPresence()
optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...
boolean
hasJsonFormat()
optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [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 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...
boolean
hasRepeatedFieldEncoding()
optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...
boolean
hasUtf8Validation()
optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [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()
private void
setEnumType(DescriptorProtos.FeatureSet.EnumType value)
optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ...
private void
setFieldPresence(DescriptorProtos.FeatureSet.FieldPresence value)
optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...
private void
setJsonFormat(DescriptorProtos.FeatureSet.JsonFormat value)
optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ...
private void
setMessageEncoding(DescriptorProtos.FeatureSet.MessageEncoding value)
optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...
private void
setRepeatedFieldEncoding(DescriptorProtos.FeatureSet.RepeatedFieldEncoding value)
optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...
private void
setUtf8Validation(DescriptorProtos.FeatureSet.Utf8Validation value)
optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...
-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.ExtendableMessage
ensureExtensionsAreMutable, extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getExtension, getExtension, getExtensionCount, hasExtension, mergeExtensionFields, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownField, parseUnknownFieldAsMessageSet
-
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.GeneratedMessageLite.ExtendableMessageOrBuilder
getExtension, getExtension, getExtensionCount, hasExtension
-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
FIELD_PRESENCE_FIELD_NUMBER
public static final int FIELD_PRESENCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
fieldPresence_
private int fieldPresence_
-
ENUM_TYPE_FIELD_NUMBER
public static final int ENUM_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
enumType_
private int enumType_
-
REPEATED_FIELD_ENCODING_FIELD_NUMBER
public static final int REPEATED_FIELD_ENCODING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
repeatedFieldEncoding_
private int repeatedFieldEncoding_
-
UTF8_VALIDATION_FIELD_NUMBER
public static final int UTF8_VALIDATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
utf8Validation_
private int utf8Validation_
-
MESSAGE_ENCODING_FIELD_NUMBER
public static final int MESSAGE_ENCODING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
messageEncoding_
private int messageEncoding_
-
JSON_FORMAT_FIELD_NUMBER
public static final int JSON_FORMAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
jsonFormat_
private int jsonFormat_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final DescriptorProtos.FeatureSet DEFAULT_INSTANCE
-
PARSER
private static volatile Parser<DescriptorProtos.FeatureSet> PARSER
-
-
Method Detail
-
hasFieldPresence
public boolean hasFieldPresence()
optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [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 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
- Specified by:
getFieldPresence
in interfaceDescriptorProtos.FeatureSetOrBuilder
- Returns:
- The fieldPresence.
-
setFieldPresence
private void setFieldPresence(DescriptorProtos.FeatureSet.FieldPresence value)
optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
- Parameters:
value
- The fieldPresence to set.
-
clearFieldPresence
private void clearFieldPresence()
optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
-
hasEnumType
public boolean hasEnumType()
optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [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 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
- Specified by:
getEnumType
in interfaceDescriptorProtos.FeatureSetOrBuilder
- Returns:
- The enumType.
-
setEnumType
private void setEnumType(DescriptorProtos.FeatureSet.EnumType value)
optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
- Parameters:
value
- The enumType to set.
-
clearEnumType
private void clearEnumType()
optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
-
hasRepeatedFieldEncoding
public boolean hasRepeatedFieldEncoding()
optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [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 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
- Specified by:
getRepeatedFieldEncoding
in interfaceDescriptorProtos.FeatureSetOrBuilder
- Returns:
- The repeatedFieldEncoding.
-
setRepeatedFieldEncoding
private void setRepeatedFieldEncoding(DescriptorProtos.FeatureSet.RepeatedFieldEncoding value)
optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
- Parameters:
value
- The repeatedFieldEncoding to set.
-
clearRepeatedFieldEncoding
private void clearRepeatedFieldEncoding()
optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
-
hasUtf8Validation
public boolean hasUtf8Validation()
optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [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 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
- Specified by:
getUtf8Validation
in interfaceDescriptorProtos.FeatureSetOrBuilder
- Returns:
- The utf8Validation.
-
setUtf8Validation
private void setUtf8Validation(DescriptorProtos.FeatureSet.Utf8Validation value)
optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
- Parameters:
value
- The utf8Validation to set.
-
clearUtf8Validation
private void clearUtf8Validation()
optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
-
hasMessageEncoding
public boolean hasMessageEncoding()
optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [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 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
- Specified by:
getMessageEncoding
in interfaceDescriptorProtos.FeatureSetOrBuilder
- Returns:
- The messageEncoding.
-
setMessageEncoding
private void setMessageEncoding(DescriptorProtos.FeatureSet.MessageEncoding value)
optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
- Parameters:
value
- The messageEncoding to set.
-
clearMessageEncoding
private void clearMessageEncoding()
optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
-
hasJsonFormat
public boolean hasJsonFormat()
optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [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 [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.
-
setJsonFormat
private void setJsonFormat(DescriptorProtos.FeatureSet.JsonFormat value)
optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
- Parameters:
value
- The jsonFormat to set.
-
clearJsonFormat
private void clearJsonFormat()
optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
-
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()
-
-