public static final class DescriptorProtos.UninterpretedOption extends GeneratedMessageimplements 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
Protobuf type
google.protobuf.UninterpretedOption
|
static class |
DescriptorProtos
Protobuf type
google.protobuf.UninterpretedOption.NamePart
|
static interface |
DescriptorProtos
|
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 |
PARSER
|
static int |
POSITIVE_INT_VALUE_FIELD_NUMBER
|
static int |
STRING_VALUE_FIELD_NUMBER
|
alwaysUseFieldBuildersmemoizedHashCode| Modifier and Type | Method and Description |
|---|---|
String |
getAggregateValue()
optional string aggregate_value = 8;
|
ByteString |
getAggregateValueBytes()
optional string aggregate_value = 8;
|
static DescriptorProtos |
getDefaultInstance()
|
DescriptorProtos |
getDefaultInstanceForType()
Get an instance of the type with no fields set.
|
static Descriptors |
getDescriptor()
|
double |
getDoubleValue()
optional double double_value = 6;
|
String |
getIdentifierValue()
optional string identifier_value = 3;
|
ByteString |
getIdentifierValueBytes()
optional string identifier_value = 3;
|
DescriptorProtos |
getName(int index)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
|
int |
getNameCount()
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
|
List |
getNameList()
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
|
DescriptorProtos |
getNameOrBuilder(int index)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
|
List |
getNameOrBuilderList()
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
|
long |
getNegativeIntValue()
optional int64 negative_int_value = 5;
|
Parser |
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;
|
protected GeneratedMessage |
internalGetFieldAccessorTable()
Get the FieldAccessorTable for this type.
|
boolean |
isInitialized()
Returns true if all required fields in the message and all embedded messages are set, false otherwise.
|
static DescriptorProtos |
newBuilder()
|
static DescriptorProtos |
newBuilder(DescriptorProtos
|
DescriptorProtos |
newBuilderForType()
Constructs a new builder for a message of the same type as this message.
|
protected DescriptorProtos |
newBuilderForType(GeneratedMessage
|
static DescriptorProtos |
parseDelimitedFrom(InputStream
|
static DescriptorProtos |
parseDelimitedFrom(InputStream
|
static DescriptorProtos |
parseFrom(byte[] data)
|
static DescriptorProtos |
parseFrom(byte[] data, ExtensionRegistryLite
|
static DescriptorProtos |
parseFrom(ByteString
|
static DescriptorProtos |
parseFrom(ByteString
|
static DescriptorProtos |
parseFrom(CodedInputStream
|
static DescriptorProtos |
parseFrom(CodedInputStream
|
static DescriptorProtos |
parseFrom(InputStream
|
static DescriptorProtos |
parseFrom(InputStream
|
DescriptorProtos |
toBuilder()
Constructs a builder initialized with the current message.
|
protected Object |
writeReplace()
Replaces this object in the output stream with a serialized form.
|
void |
writeTo(CodedOutputStream
Serializes the message and writes it to
output.
|
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringcheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, 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()
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.
public final UnknownFieldSetgetUnknownFields()
MessageOrBuilder
UnknownFieldSet for this message.
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
GeneratedMessage
public Parser<DescriptorProtos .UninterpretedOption > getParserForType()
MessageLite
public List<DescriptorProtos .UninterpretedOption .NamePart > getNameList()
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
public List<? extends DescriptorProtos .UninterpretedOption .NamePartOrBuilder > getNameOrBuilderList()
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
public int getNameCount()
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
public DescriptorProtos.UninterpretedOption .NamePart getName(int index)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
public DescriptorProtos.UninterpretedOption .NamePartOrBuilder getNameOrBuilder(int index)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
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.
public StringgetIdentifierValue()
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.
public ByteStringgetIdentifierValueBytes()
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.
public boolean hasPositiveIntValue()
optional uint64 positive_int_value = 4;
public long getPositiveIntValue()
optional uint64 positive_int_value = 4;
public boolean hasNegativeIntValue()
optional int64 negative_int_value = 5;
public long getNegativeIntValue()
optional int64 negative_int_value = 5;
public boolean hasDoubleValue()
optional double double_value = 6;
public double getDoubleValue()
optional double double_value = 6;
public boolean hasStringValue()
optional bytes string_value = 7;
public ByteStringgetStringValue()
optional bytes string_value = 7;
public boolean hasAggregateValue()
optional string aggregate_value = 8;
public StringgetAggregateValue()
optional string aggregate_value = 8;
public ByteStringgetAggregateValueBytes()
optional string aggregate_value = 8;
public final boolean isInitialized()
MessageLiteOrBuilder
public void writeTo(CodedOutputStreamoutput) throws IOException
MessageLite
output. This does not flush or close the stream.
writeTo in interface
MessageLite
writeTo in class
AbstractMessage
IOException
public int getSerializedSize()
MessageLite
protected ObjectwriteReplace() throws ObjectStreamException
GeneratedMessage
return super.writeReplace();
writeReplace in class
GeneratedMessage
ObjectStreamException
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 static DescriptorProtos.UninterpretedOption .Builder newBuilder()
public DescriptorProtos.UninterpretedOption .Builder newBuilderForType()
MessageLite
public static DescriptorProtos.UninterpretedOption .Builder newBuilder(DescriptorProtos .UninterpretedOption prototype)
public DescriptorProtos.UninterpretedOption .Builder toBuilder()
MessageLite
protected DescriptorProtos.UninterpretedOption .Builder newBuilderForType(GeneratedMessage .BuilderParent parent)