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.BuilderParent, 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
Deprecated.
|
static int |
POSITIVE_INT_VALUE_FIELD_NUMBER |
static int |
STRING_VALUE_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField, writeReplace, writeString, writeStringNoTag
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
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
@Deprecated public static final Parser<DescriptorProtos.UninterpretedOption> PARSER
public final UnknownFieldSet getUnknownFields()
MessageOrBuilder
UnknownFieldSet
for this message.getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessage
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
GeneratedMessage
internalGetFieldAccessorTable
in class GeneratedMessage
public List<DescriptorProtos.UninterpretedOption.NamePart> getNameList()
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
getNameList
in interface DescriptorProtos.UninterpretedOptionOrBuilder
public List<? extends DescriptorProtos.UninterpretedOption.NamePartOrBuilder> getNameOrBuilderList()
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
getNameOrBuilderList
in interface DescriptorProtos.UninterpretedOptionOrBuilder
public int getNameCount()
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
getNameCount
in interface DescriptorProtos.UninterpretedOptionOrBuilder
public DescriptorProtos.UninterpretedOption.NamePart getName(int index)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
getName
in interface DescriptorProtos.UninterpretedOptionOrBuilder
public DescriptorProtos.UninterpretedOption.NamePartOrBuilder getNameOrBuilder(int index)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
getNameOrBuilder
in interface DescriptorProtos.UninterpretedOptionOrBuilder
public 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.UninterpretedOptionOrBuilder
public 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.UninterpretedOptionOrBuilder
public 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.UninterpretedOptionOrBuilder
public boolean hasPositiveIntValue()
optional uint64 positive_int_value = 4;
hasPositiveIntValue
in interface DescriptorProtos.UninterpretedOptionOrBuilder
public long getPositiveIntValue()
optional uint64 positive_int_value = 4;
getPositiveIntValue
in interface DescriptorProtos.UninterpretedOptionOrBuilder
public boolean hasNegativeIntValue()
optional int64 negative_int_value = 5;
hasNegativeIntValue
in interface DescriptorProtos.UninterpretedOptionOrBuilder
public long getNegativeIntValue()
optional int64 negative_int_value = 5;
getNegativeIntValue
in interface DescriptorProtos.UninterpretedOptionOrBuilder
public boolean hasDoubleValue()
optional double double_value = 6;
hasDoubleValue
in interface DescriptorProtos.UninterpretedOptionOrBuilder
public double getDoubleValue()
optional double double_value = 6;
getDoubleValue
in interface DescriptorProtos.UninterpretedOptionOrBuilder
public boolean hasStringValue()
optional bytes string_value = 7;
hasStringValue
in interface DescriptorProtos.UninterpretedOptionOrBuilder
public ByteString getStringValue()
optional bytes string_value = 7;
getStringValue
in interface DescriptorProtos.UninterpretedOptionOrBuilder
public boolean hasAggregateValue()
optional string aggregate_value = 8;
hasAggregateValue
in interface DescriptorProtos.UninterpretedOptionOrBuilder
public String getAggregateValue()
optional string aggregate_value = 8;
getAggregateValue
in interface DescriptorProtos.UninterpretedOptionOrBuilder
public ByteString getAggregateValueBytes()
optional string aggregate_value = 8;
getAggregateValueBytes
in interface DescriptorProtos.UninterpretedOptionOrBuilder
public final boolean isInitialized()
MessageLiteOrBuilder
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessage
public void writeTo(CodedOutputStream output) throws IOException
MessageLite
output
. This does not
flush or close the stream.writeTo
in interface MessageLite
writeTo
in class GeneratedMessage
IOException
public int getSerializedSize()
MessageLite
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessage
public static DescriptorProtos.UninterpretedOption parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.UninterpretedOption parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.UninterpretedOption parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.UninterpretedOption parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.UninterpretedOption parseFrom(InputStream input) throws IOException
IOException
public static DescriptorProtos.UninterpretedOption parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DescriptorProtos.UninterpretedOption parseDelimitedFrom(InputStream input) throws IOException
IOException
public static DescriptorProtos.UninterpretedOption parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DescriptorProtos.UninterpretedOption parseFrom(CodedInputStream input) throws IOException
IOException
public static DescriptorProtos.UninterpretedOption parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public DescriptorProtos.UninterpretedOption.Builder newBuilderForType()
MessageLite
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static DescriptorProtos.UninterpretedOption.Builder newBuilder()
public static DescriptorProtos.UninterpretedOption.Builder newBuilder(DescriptorProtos.UninterpretedOption prototype)
public DescriptorProtos.UninterpretedOption.Builder toBuilder()
MessageLite
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected DescriptorProtos.UninterpretedOption.Builder newBuilderForType(GeneratedMessage.BuilderParent parent)
newBuilderForType
in class GeneratedMessage
public static DescriptorProtos.UninterpretedOption getDefaultInstance()
public static Parser<DescriptorProtos.UninterpretedOption> parser()
public Parser<DescriptorProtos.UninterpretedOption> getParserForType()
MessageLite
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessage
public DescriptorProtos.UninterpretedOption getDefaultInstanceForType()
MessageLiteOrBuilder
getDefaultInstance()
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 MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2008–2016 Google. All rights reserved.