public static final class DescriptorProtos.UninterpretedOption extends com.google.protobuf.GeneratedMessageV3 implements DescriptorProtos.UninterpretedOptionOrBuilder
A message representing a option the parser does not recognize. This only appears in options protos created by the compiler::Parser class. DescriptorPool resolves these when building Descriptor objects. Therefore, options protos in descriptor objects (e.g. returned by Descriptor::options(), or produced by Descriptor::CopyTo()) will never have UninterpretedOptions in them.Protobuf type
google.protobuf.UninterpretedOption| Modifier and Type | Class and Description |
|---|---|
static class |
DescriptorProtos.UninterpretedOption.Builder
A message representing a option the parser does not recognize.
|
static class |
DescriptorProtos.UninterpretedOption.NamePart
The name of the uninterpreted option.
|
static interface |
DescriptorProtos.UninterpretedOption.NamePartOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
AGGREGATE_VALUE_FIELD_NUMBER |
static int |
DOUBLE_VALUE_FIELD_NUMBER |
static int |
IDENTIFIER_VALUE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NEGATIVE_INT_VALUE_FIELD_NUMBER |
static com.google.protobuf.Parser<DescriptorProtos.UninterpretedOption> |
PARSER
Deprecated.
|
static int |
POSITIVE_INT_VALUE_FIELD_NUMBER |
static int |
STRING_VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAggregateValue()
optional string aggregate_value = 8; |
com.google.protobuf.ByteString |
getAggregateValueBytes()
optional string aggregate_value = 8; |
static DescriptorProtos.UninterpretedOption |
getDefaultInstance() |
DescriptorProtos.UninterpretedOption |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
double |
getDoubleValue()
optional double double_value = 6; |
java.lang.String |
getIdentifierValue()
The value of the uninterpreted option, in whatever type the tokenizer
identified it as during parsing.
|
com.google.protobuf.ByteString |
getIdentifierValueBytes()
The value of the uninterpreted option, in whatever type the tokenizer
identified it as during parsing.
|
DescriptorProtos.UninterpretedOption.NamePart |
getName(int index)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
int |
getNameCount()
repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
java.util.List<DescriptorProtos.UninterpretedOption.NamePart> |
getNameList()
repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
DescriptorProtos.UninterpretedOption.NamePartOrBuilder |
getNameOrBuilder(int index)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
java.util.List<? extends DescriptorProtos.UninterpretedOption.NamePartOrBuilder> |
getNameOrBuilderList()
repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
long |
getNegativeIntValue()
optional int64 negative_int_value = 5; |
com.google.protobuf.Parser<DescriptorProtos.UninterpretedOption> |
getParserForType() |
long |
getPositiveIntValue()
optional uint64 positive_int_value = 4; |
int |
getSerializedSize() |
com.google.protobuf.ByteString |
getStringValue()
optional bytes string_value = 7; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAggregateValue()
optional string aggregate_value = 8; |
boolean |
hasDoubleValue()
optional double double_value = 6; |
int |
hashCode() |
boolean |
hasIdentifierValue()
The value of the uninterpreted option, in whatever type the tokenizer
identified it as during parsing.
|
boolean |
hasNegativeIntValue()
optional int64 negative_int_value = 5; |
boolean |
hasPositiveIntValue()
optional uint64 positive_int_value = 4; |
boolean |
hasStringValue()
optional bytes string_value = 7; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DescriptorProtos.UninterpretedOption.Builder |
newBuilder() |
static DescriptorProtos.UninterpretedOption.Builder |
newBuilder(DescriptorProtos.UninterpretedOption prototype) |
DescriptorProtos.UninterpretedOption.Builder |
newBuilderForType() |
protected DescriptorProtos.UninterpretedOption.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static DescriptorProtos.UninterpretedOption |
parseDelimitedFrom(java.io.InputStream input) |
static DescriptorProtos.UninterpretedOption |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.UninterpretedOption |
parseFrom(byte[] data) |
static DescriptorProtos.UninterpretedOption |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.UninterpretedOption |
parseFrom(java.nio.ByteBuffer data) |
static DescriptorProtos.UninterpretedOption |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.UninterpretedOption |
parseFrom(com.google.protobuf.ByteString data) |
static DescriptorProtos.UninterpretedOption |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.UninterpretedOption |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DescriptorProtos.UninterpretedOption |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.UninterpretedOption |
parseFrom(java.io.InputStream input) |
static DescriptorProtos.UninterpretedOption |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DescriptorProtos.UninterpretedOption> |
parser() |
DescriptorProtos.UninterpretedOption.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int IDENTIFIER_VALUE_FIELD_NUMBER
public static final int POSITIVE_INT_VALUE_FIELD_NUMBER
public static final int NEGATIVE_INT_VALUE_FIELD_NUMBER
public static final int DOUBLE_VALUE_FIELD_NUMBER
public static final int STRING_VALUE_FIELD_NUMBER
public static final int AGGREGATE_VALUE_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<DescriptorProtos.UninterpretedOption> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public java.util.List<DescriptorProtos.UninterpretedOption.NamePart> getNameList()
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;getNameList in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic java.util.List<? extends DescriptorProtos.UninterpretedOption.NamePartOrBuilder> getNameOrBuilderList()
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;getNameOrBuilderList in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic int getNameCount()
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;getNameCount in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic DescriptorProtos.UninterpretedOption.NamePart getName(int index)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;getName in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic DescriptorProtos.UninterpretedOption.NamePartOrBuilder getNameOrBuilder(int index)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;getNameOrBuilder in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic boolean hasIdentifierValue()
The value of the uninterpreted option, in whatever type the tokenizer identified it as during parsing. Exactly one of these should be set.
optional string identifier_value = 3;hasIdentifierValue in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic java.lang.String getIdentifierValue()
The value of the uninterpreted option, in whatever type the tokenizer identified it as during parsing. Exactly one of these should be set.
optional string identifier_value = 3;getIdentifierValue in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic com.google.protobuf.ByteString getIdentifierValueBytes()
The value of the uninterpreted option, in whatever type the tokenizer identified it as during parsing. Exactly one of these should be set.
optional string identifier_value = 3;getIdentifierValueBytes in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic boolean hasPositiveIntValue()
optional uint64 positive_int_value = 4;hasPositiveIntValue in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic long getPositiveIntValue()
optional uint64 positive_int_value = 4;getPositiveIntValue in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic boolean hasNegativeIntValue()
optional int64 negative_int_value = 5;hasNegativeIntValue in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic long getNegativeIntValue()
optional int64 negative_int_value = 5;getNegativeIntValue in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic boolean hasDoubleValue()
optional double double_value = 6;hasDoubleValue in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic double getDoubleValue()
optional double double_value = 6;getDoubleValue in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic boolean hasStringValue()
optional bytes string_value = 7;hasStringValue in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic com.google.protobuf.ByteString getStringValue()
optional bytes string_value = 7;getStringValue in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic boolean hasAggregateValue()
optional string aggregate_value = 8;hasAggregateValue in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic java.lang.String getAggregateValue()
optional string aggregate_value = 8;getAggregateValue in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic com.google.protobuf.ByteString getAggregateValueBytes()
optional string aggregate_value = 8;getAggregateValueBytes in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static DescriptorProtos.UninterpretedOption parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DescriptorProtos.UninterpretedOption parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DescriptorProtos.UninterpretedOption parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DescriptorProtos.UninterpretedOption parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DescriptorProtos.UninterpretedOption parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DescriptorProtos.UninterpretedOption parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DescriptorProtos.UninterpretedOption parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static DescriptorProtos.UninterpretedOption parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static DescriptorProtos.UninterpretedOption parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static DescriptorProtos.UninterpretedOption parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static DescriptorProtos.UninterpretedOption parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static DescriptorProtos.UninterpretedOption parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic DescriptorProtos.UninterpretedOption.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DescriptorProtos.UninterpretedOption.Builder newBuilder()
public static DescriptorProtos.UninterpretedOption.Builder newBuilder(DescriptorProtos.UninterpretedOption prototype)
public DescriptorProtos.UninterpretedOption.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DescriptorProtos.UninterpretedOption.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static DescriptorProtos.UninterpretedOption getDefaultInstance()
public static com.google.protobuf.Parser<DescriptorProtos.UninterpretedOption> parser()
public com.google.protobuf.Parser<DescriptorProtos.UninterpretedOption> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DescriptorProtos.UninterpretedOption getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder