public static final class DescriptorProtos.UninterpretedOption extends GeneratedMessage implements DescriptorProtos.UninterpretedOptionOrBuilder
google.protobuf.UninterpretedOption
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.
| Modifier and Type | Class and Description |
|---|---|
static class |
DescriptorProtos.UninterpretedOption.Builder
Protobuf type
google.protobuf.UninterpretedOption |
static class |
DescriptorProtos.UninterpretedOption.NamePart
Protobuf type
google.protobuf.UninterpretedOption.NamePart |
static interface |
DescriptorProtos.UninterpretedOption.NamePartOrBuilder |
GeneratedMessage.ExtendableBuilder<MessageType extends GeneratedMessage.ExtendableMessage,BuilderType extends GeneratedMessage.ExtendableBuilder>, GeneratedMessage.ExtendableMessage<MessageType extends GeneratedMessage.ExtendableMessage>, GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends GeneratedMessage.ExtendableMessage>, GeneratedMessage.FieldAccessorTable, GeneratedMessage.GeneratedExtension<ContainingType extends Message,Type>| 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 Parser<DescriptorProtos.UninterpretedOption> |
PARSER |
static int |
POSITIVE_INT_VALUE_FIELD_NUMBER |
static int |
STRING_VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAggregateValue()
optional string aggregate_value = 8; |
ByteString |
getAggregateValueBytes()
optional string aggregate_value = 8; |
static DescriptorProtos.UninterpretedOption |
getDefaultInstance() |
DescriptorProtos.UninterpretedOption |
getDefaultInstanceForType()
Get an instance of the type with no fields set.
|
static Descriptors.Descriptor |
getDescriptor() |
double |
getDoubleValue()
optional double double_value = 6; |
java.lang.String |
getIdentifierValue()
optional string identifier_value = 3; |
ByteString |
getIdentifierValueBytes()
optional string identifier_value = 3; |
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; |
Parser<DescriptorProtos.UninterpretedOption> |
getParserForType()
Gets the parser for a message of the same type as this message.
|
long |
getPositiveIntValue()
optional uint64 positive_int_value = 4; |
int |
getSerializedSize()
Get the number of bytes required to encode this message.
|
ByteString |
getStringValue()
optional bytes string_value = 7; |
UnknownFieldSet |
getUnknownFields()
Get the
UnknownFieldSet for this message. |
boolean |
hasAggregateValue()
optional string aggregate_value = 8; |
boolean |
hasDoubleValue()
optional double double_value = 6; |
boolean |
hasIdentifierValue()
optional string identifier_value = 3; |
boolean |
hasNegativeIntValue()
optional int64 negative_int_value = 5; |
boolean |
hasPositiveIntValue()
optional uint64 positive_int_value = 4; |
boolean |
hasStringValue()
optional bytes string_value = 7; |
boolean |
isInitialized()
Returns true if all required fields in the message and all embedded
messages are set, false otherwise.
|
static DescriptorProtos.UninterpretedOption.Builder |
newBuilder() |
static DescriptorProtos.UninterpretedOption.Builder |
newBuilder(DescriptorProtos.UninterpretedOption prototype) |
DescriptorProtos.UninterpretedOption.Builder |
newBuilderForType()
Constructs a new builder for a message of the same type as this message.
|
static DescriptorProtos.UninterpretedOption |
parseDelimitedFrom(java.io.InputStream input) |
static DescriptorProtos.UninterpretedOption |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.UninterpretedOption |
parseFrom(byte[] data) |
static DescriptorProtos.UninterpretedOption |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.UninterpretedOption |
parseFrom(ByteString data) |
static DescriptorProtos.UninterpretedOption |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.UninterpretedOption |
parseFrom(CodedInputStream input) |
static DescriptorProtos.UninterpretedOption |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.UninterpretedOption |
parseFrom(java.io.InputStream input) |
static DescriptorProtos.UninterpretedOption |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
DescriptorProtos.UninterpretedOption.Builder |
toBuilder()
Constructs a builder initialized with the current message.
|
void |
writeTo(CodedOutputStream output)
Serializes the message and writes it to
output. |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtensionequals, findInitializationErrors, getInitializationErrorString, hashCode, toStringtoByteArray, toByteString, writeDelimitedTo, writeTofindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, hasFieldtoByteArray, toByteString, writeDelimitedTo, writeTopublic static Parser<DescriptorProtos.UninterpretedOption> PARSER
public 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
public static DescriptorProtos.UninterpretedOption getDefaultInstance()
public DescriptorProtos.UninterpretedOption getDefaultInstanceForType()
MessageLiteOrBuildergetDefaultInstance() method of generated message classes in that
this method is an abstract method of the MessageLite interface
whereas getDefaultInstance() is a static method of a specific
class. They return the same thing.getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic final UnknownFieldSet getUnknownFields()
MessageOrBuilderUnknownFieldSet for this message.getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessagepublic static final Descriptors.Descriptor getDescriptor()
public Parser<DescriptorProtos.UninterpretedOption> getParserForType()
MessageLitegetParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessagepublic 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()
optional string identifier_value = 3;
The value of the uninterpreted option, in whatever type the tokenizer identified it as during parsing. Exactly one of these should be set.
hasIdentifierValue in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic java.lang.String getIdentifierValue()
optional string identifier_value = 3;
The value of the uninterpreted option, in whatever type the tokenizer identified it as during parsing. Exactly one of these should be set.
getIdentifierValue in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic ByteString getIdentifierValueBytes()
optional string identifier_value = 3;
The value of the uninterpreted option, in whatever type the tokenizer identified it as during parsing. Exactly one of these should be set.
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 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 ByteString getAggregateValueBytes()
optional string aggregate_value = 8;getAggregateValueBytes in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic final boolean isInitialized()
MessageLiteOrBuilderisInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessagepublic void writeTo(CodedOutputStream output) throws java.io.IOException
MessageLiteoutput. This does not
flush or close the stream.writeTo in interface MessageLitewriteTo in class AbstractMessagejava.io.IOExceptionpublic int getSerializedSize()
MessageLitegetSerializedSize in interface MessageLitegetSerializedSize in class AbstractMessagepublic static DescriptorProtos.UninterpretedOption parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DescriptorProtos.UninterpretedOption parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DescriptorProtos.UninterpretedOption parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DescriptorProtos.UninterpretedOption parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DescriptorProtos.UninterpretedOption parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static DescriptorProtos.UninterpretedOption parseFrom(java.io.InputStream input, 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, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static DescriptorProtos.UninterpretedOption parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static DescriptorProtos.UninterpretedOption parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static DescriptorProtos.UninterpretedOption.Builder newBuilder()
public DescriptorProtos.UninterpretedOption.Builder newBuilderForType()
MessageLitenewBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static DescriptorProtos.UninterpretedOption.Builder newBuilder(DescriptorProtos.UninterpretedOption prototype)
public DescriptorProtos.UninterpretedOption.Builder toBuilder()
MessageLitetoBuilder in interface MessagetoBuilder in interface MessageLite