public static final class DescriptorProtos.UninterpretedOption extends GeneratedMessageLite<DescriptorProtos.UninterpretedOption,DescriptorProtos.UninterpretedOption.Builder> 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 |
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.MergeFromVisitor, GeneratedMessageLite.MethodToInvoke, GeneratedMessageLite.SerializedForm, GeneratedMessageLite.Visitor| 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 int |
POSITIVE_INT_VALUE_FIELD_NUMBER |
static int |
STRING_VALUE_FIELD_NUMBER |
memoizedSerializedSize, unknownFieldsmemoizedHashCode| Modifier and Type | Method and Description |
|---|---|
protected Object |
dynamicMethod(GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1)
A method that implements different types of operations described in
GeneratedMessageLite.MethodToInvoke. |
String |
getAggregateValue()
optional string aggregate_value = 8; |
ByteString |
getAggregateValueBytes()
optional string aggregate_value = 8; |
static DescriptorProtos.UninterpretedOption |
getDefaultInstance() |
double |
getDoubleValue()
optional double double_value = 6; |
String |
getIdentifierValue()
The value of the uninterpreted option, in whatever type the tokenizer
identified it as during parsing.
|
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; |
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; |
List<? extends DescriptorProtos.UninterpretedOption.NamePartOrBuilder> |
getNameOrBuilderList()
repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
long |
getNegativeIntValue()
optional int64 negative_int_value = 5; |
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; |
boolean |
hasAggregateValue()
optional string aggregate_value = 8; |
boolean |
hasDoubleValue()
optional double double_value = 6; |
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; |
static DescriptorProtos.UninterpretedOption.Builder |
newBuilder() |
static DescriptorProtos.UninterpretedOption.Builder |
newBuilder(DescriptorProtos.UninterpretedOption prototype) |
static DescriptorProtos.UninterpretedOption |
parseDelimitedFrom(InputStream input) |
static DescriptorProtos.UninterpretedOption |
parseDelimitedFrom(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(InputStream input) |
static DescriptorProtos.UninterpretedOption |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<DescriptorProtos.UninterpretedOption> |
parser() |
void |
writeTo(CodedOutputStream output)
Serializes the message and writes it to
output. |
dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, hashCode, isInitialized, isInitialized, makeImmutable, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, toBuilder, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDefaultInstanceForType, isInitializedpublic 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 List<DescriptorProtos.UninterpretedOption.NamePart> getNameList()
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;getNameList in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic List<? extends DescriptorProtos.UninterpretedOption.NamePartOrBuilder> getNameOrBuilderList()
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;public 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;public 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 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 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 ByteString getStringValue()
optional bytes string_value = 7;getStringValue in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic boolean hasAggregateValue()
optional string aggregate_value = 8;hasAggregateValue in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic String getAggregateValue()
optional string aggregate_value = 8;getAggregateValue in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic ByteString getAggregateValueBytes()
optional string aggregate_value = 8;getAggregateValueBytes in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic void writeTo(CodedOutputStream output) throws IOException
MessageLiteoutput. This does not
flush or close the stream.writeTo in interface MessageLiteIOExceptionpublic int getSerializedSize()
MessageLitegetSerializedSize in interface MessageLitepublic 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(InputStream input) throws IOException
IOExceptionpublic static DescriptorProtos.UninterpretedOption parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DescriptorProtos.UninterpretedOption parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DescriptorProtos.UninterpretedOption parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DescriptorProtos.UninterpretedOption parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static DescriptorProtos.UninterpretedOption parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DescriptorProtos.UninterpretedOption.Builder newBuilder()
public static DescriptorProtos.UninterpretedOption.Builder newBuilder(DescriptorProtos.UninterpretedOption prototype)
protected final Object dynamicMethod(GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
GeneratedMessageLiteGeneratedMessageLite.MethodToInvoke.
Theses 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.
MERGE_FROM_STREAM is parameterized with an CodedInputStream and
ExtensionRegistryLite. It consumes the input stream, parsing the contents into the
returned protocol buffer. If parsing throws an InvalidProtocolBufferException, the
implementation wraps it in a RuntimeException.
NEW_INSTANCE returns a new instance of the protocol buffer that has not yet been
made immutable. See MAKE_IMMUTABLE.
IS_INITIALIZED is parameterized with a Boolean detailing whether to
memoize. It returns null for false and the default instance for true. We optionally
memoize to support the Builder case, where memoization is not desired.
NEW_BUILDER returns a BuilderType instance.
VISIT is parameterized with a Visitor and a MessageType and
recursively iterates through the fields side by side between this and the instance.
MAKE_IMMUTABLE sets all internal fields to an immutable state.
For use by generated code only.
public static DescriptorProtos.UninterpretedOption getDefaultInstance()
public static Parser<DescriptorProtos.UninterpretedOption> parser()
Copyright © 2008–2016 Google. All rights reserved.