Package com.google.protobuf
Class DescriptorProtos.UninterpretedOption
java.lang.Object
com.google.protobuf.AbstractMessageLite<DescriptorProtos.UninterpretedOption,DescriptorProtos.UninterpretedOption.Builder>
com.google.protobuf.GeneratedMessageLite<DescriptorProtos.UninterpretedOption,DescriptorProtos.UninterpretedOption.Builder>
com.google.protobuf.DescriptorProtos.UninterpretedOption
- All Implemented Interfaces:
DescriptorProtos.UninterpretedOptionOrBuilder
,MessageLite
,MessageLiteOrBuilder
- Enclosing class:
DescriptorProtos
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
A message representing a option the parser does not recognize.static final class
The name of the uninterpreted option.static interface
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
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.ExtensionDescriptor, GeneratedMessageLite.GeneratedExtension<ContainingType extends MessageLite, Type>, GeneratedMessageLite.MethodToInvoke, GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
private String
private int
private static final DescriptorProtos.UninterpretedOption
static final int
private double
static final int
private String
private byte
static final int
static final int
private long
private static Parser
<DescriptorProtos.UninterpretedOption> static final int
private long
static final int
private ByteString
Fields inherited from class com.google.protobuf.GeneratedMessageLite
UNINITIALIZED_HASH_CODE, UNINITIALIZED_SERIALIZED_SIZE, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
addAllName
(Iterable<? extends DescriptorProtos.UninterpretedOption.NamePart> values) repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
private void
addName
(int index, DescriptorProtos.UninterpretedOption.NamePart value) repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
private void
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
private void
optional string aggregate_value = 8;
private void
optional double double_value = 6;
private void
The value of the uninterpreted option, in whatever type the tokenizer identified it as during parsing.private void
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
private void
optional int64 negative_int_value = 5;
private void
optional uint64 positive_int_value = 4;
private void
optional bytes string_value = 7;
protected final Object
dynamicMethod
(GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) A method that implements different types of operations described inGeneratedMessageLite.MethodToInvoke
.private void
optional string aggregate_value = 8;
optional string aggregate_value = 8;
double
optional double double_value = 6;
The value of the uninterpreted option, in whatever type the tokenizer identified it as during parsing.The value of the uninterpreted option, in whatever type the tokenizer identified it as during parsing.getName
(int index) repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
int
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
getNameOrBuilder
(int index) repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
long
optional int64 negative_int_value = 5;
long
optional uint64 positive_int_value = 4;
optional bytes string_value = 7;
boolean
optional string aggregate_value = 8;
boolean
optional double double_value = 6;
boolean
The value of the uninterpreted option, in whatever type the tokenizer identified it as during parsing.boolean
optional int64 negative_int_value = 5;
boolean
optional uint64 positive_int_value = 4;
boolean
optional bytes string_value = 7;
newBuilder
(DescriptorProtos.UninterpretedOption prototype) parseDelimitedFrom
(InputStream input) parseDelimitedFrom
(InputStream input, ExtensionRegistryLite extensionRegistry) parseFrom
(byte[] data) parseFrom
(byte[] data, ExtensionRegistryLite extensionRegistry) parseFrom
(ByteString data) parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) parseFrom
(CodedInputStream input) parseFrom
(CodedInputStream input, ExtensionRegistryLite extensionRegistry) parseFrom
(InputStream input) parseFrom
(InputStream input, ExtensionRegistryLite extensionRegistry) parseFrom
(ByteBuffer data) parseFrom
(ByteBuffer data, ExtensionRegistryLite extensionRegistry) parser()
private void
removeName
(int index) repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
private void
setAggregateValue
(String value) optional string aggregate_value = 8;
private void
setAggregateValueBytes
(ByteString value) optional string aggregate_value = 8;
private void
setDoubleValue
(double value) optional double double_value = 6;
private void
setIdentifierValue
(String value) The value of the uninterpreted option, in whatever type the tokenizer identified it as during parsing.private void
The value of the uninterpreted option, in whatever type the tokenizer identified it as during parsing.private void
setName
(int index, DescriptorProtos.UninterpretedOption.NamePart value) repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
private void
setNegativeIntValue
(long value) optional int64 negative_int_value = 5;
private void
setPositiveIntValue
(long value) optional uint64 positive_int_value = 4;
private void
setStringValue
(ByteString value) optional bytes string_value = 7;
Methods inherited from class com.google.protobuf.GeneratedMessageLite
buildMessageInfo, clearMemoizedHashCode, clearMemoizedSerializedSize, computeHashCode, createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstance, getDefaultInstanceForType, getMemoizedHashCode, getMemoizedSerializedSize, getMethodOrDie, getParserForType, getSerializedSize, getSerializedSize, hashCode, hashCodeIsNotMemoized, invokeOrDie, isInitialized, isInitialized, isMutable, makeImmutable, markImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newMutableInstance, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, setMemoizedHashCode, setMemoizedSerializedSize, toBuilder, toString, writeTo
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, newUninitializedMessageException, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
bitField0_
private int bitField0_ -
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
name_
-
IDENTIFIER_VALUE_FIELD_NUMBER
public static final int IDENTIFIER_VALUE_FIELD_NUMBER- See Also:
-
identifierValue_
-
POSITIVE_INT_VALUE_FIELD_NUMBER
public static final int POSITIVE_INT_VALUE_FIELD_NUMBER- See Also:
-
positiveIntValue_
private long positiveIntValue_ -
NEGATIVE_INT_VALUE_FIELD_NUMBER
public static final int NEGATIVE_INT_VALUE_FIELD_NUMBER- See Also:
-
negativeIntValue_
private long negativeIntValue_ -
DOUBLE_VALUE_FIELD_NUMBER
public static final int DOUBLE_VALUE_FIELD_NUMBER- See Also:
-
doubleValue_
private double doubleValue_ -
STRING_VALUE_FIELD_NUMBER
public static final int STRING_VALUE_FIELD_NUMBER- See Also:
-
stringValue_
-
AGGREGATE_VALUE_FIELD_NUMBER
public static final int AGGREGATE_VALUE_FIELD_NUMBER- See Also:
-
aggregateValue_
-
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
UninterpretedOption
private UninterpretedOption()
-
-
Method Details
-
getNameList
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
- Specified by:
getNameList
in interfaceDescriptorProtos.UninterpretedOptionOrBuilder
-
getNameOrBuilderList
public List<? extends DescriptorProtos.UninterpretedOption.NamePartOrBuilder> getNameOrBuilderList()repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
-
getNameCount
public int getNameCount()repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
- Specified by:
getNameCount
in interfaceDescriptorProtos.UninterpretedOptionOrBuilder
-
getName
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
- Specified by:
getName
in interfaceDescriptorProtos.UninterpretedOptionOrBuilder
-
getNameOrBuilder
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
-
ensureNameIsMutable
private void ensureNameIsMutable() -
setName
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
-
addName
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
-
addName
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
-
addAllName
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
-
clearName
private void clearName()repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
-
removeName
private void removeName(int index) repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
-
hasIdentifierValue
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;
- Specified by:
hasIdentifierValue
in interfaceDescriptorProtos.UninterpretedOptionOrBuilder
- Returns:
- Whether the identifierValue field is set.
-
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;
- Specified by:
getIdentifierValue
in interfaceDescriptorProtos.UninterpretedOptionOrBuilder
- Returns:
- The identifierValue.
-
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;
- Specified by:
getIdentifierValueBytes
in interfaceDescriptorProtos.UninterpretedOptionOrBuilder
- Returns:
- The bytes for identifierValue.
-
setIdentifierValue
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;
- Parameters:
value
- The identifierValue to set.
-
clearIdentifierValue
private void clearIdentifierValue()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;
-
setIdentifierValueBytes
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;
- Parameters:
value
- The bytes for identifierValue to set.
-
hasPositiveIntValue
public boolean hasPositiveIntValue()optional uint64 positive_int_value = 4;
- Specified by:
hasPositiveIntValue
in interfaceDescriptorProtos.UninterpretedOptionOrBuilder
- Returns:
- Whether the positiveIntValue field is set.
-
getPositiveIntValue
public long getPositiveIntValue()optional uint64 positive_int_value = 4;
- Specified by:
getPositiveIntValue
in interfaceDescriptorProtos.UninterpretedOptionOrBuilder
- Returns:
- The positiveIntValue.
-
setPositiveIntValue
private void setPositiveIntValue(long value) optional uint64 positive_int_value = 4;
- Parameters:
value
- The positiveIntValue to set.
-
clearPositiveIntValue
private void clearPositiveIntValue()optional uint64 positive_int_value = 4;
-
hasNegativeIntValue
public boolean hasNegativeIntValue()optional int64 negative_int_value = 5;
- Specified by:
hasNegativeIntValue
in interfaceDescriptorProtos.UninterpretedOptionOrBuilder
- Returns:
- Whether the negativeIntValue field is set.
-
getNegativeIntValue
public long getNegativeIntValue()optional int64 negative_int_value = 5;
- Specified by:
getNegativeIntValue
in interfaceDescriptorProtos.UninterpretedOptionOrBuilder
- Returns:
- The negativeIntValue.
-
setNegativeIntValue
private void setNegativeIntValue(long value) optional int64 negative_int_value = 5;
- Parameters:
value
- The negativeIntValue to set.
-
clearNegativeIntValue
private void clearNegativeIntValue()optional int64 negative_int_value = 5;
-
hasDoubleValue
public boolean hasDoubleValue()optional double double_value = 6;
- Specified by:
hasDoubleValue
in interfaceDescriptorProtos.UninterpretedOptionOrBuilder
- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
public double getDoubleValue()optional double double_value = 6;
- Specified by:
getDoubleValue
in interfaceDescriptorProtos.UninterpretedOptionOrBuilder
- Returns:
- The doubleValue.
-
setDoubleValue
private void setDoubleValue(double value) optional double double_value = 6;
- Parameters:
value
- The doubleValue to set.
-
clearDoubleValue
private void clearDoubleValue()optional double double_value = 6;
-
hasStringValue
public boolean hasStringValue()optional bytes string_value = 7;
- Specified by:
hasStringValue
in interfaceDescriptorProtos.UninterpretedOptionOrBuilder
- Returns:
- Whether the stringValue field is set.
-
getStringValue
optional bytes string_value = 7;
- Specified by:
getStringValue
in interfaceDescriptorProtos.UninterpretedOptionOrBuilder
- Returns:
- The stringValue.
-
setStringValue
optional bytes string_value = 7;
- Parameters:
value
- The stringValue to set.
-
clearStringValue
private void clearStringValue()optional bytes string_value = 7;
-
hasAggregateValue
public boolean hasAggregateValue()optional string aggregate_value = 8;
- Specified by:
hasAggregateValue
in interfaceDescriptorProtos.UninterpretedOptionOrBuilder
- Returns:
- Whether the aggregateValue field is set.
-
getAggregateValue
optional string aggregate_value = 8;
- Specified by:
getAggregateValue
in interfaceDescriptorProtos.UninterpretedOptionOrBuilder
- Returns:
- The aggregateValue.
-
getAggregateValueBytes
optional string aggregate_value = 8;
- Specified by:
getAggregateValueBytes
in interfaceDescriptorProtos.UninterpretedOptionOrBuilder
- Returns:
- The bytes for aggregateValue.
-
setAggregateValue
optional string aggregate_value = 8;
- Parameters:
value
- The aggregateValue to set.
-
clearAggregateValue
private void clearAggregateValue()optional string aggregate_value = 8;
-
setAggregateValueBytes
optional string aggregate_value = 8;
- Parameters:
value
- The bytes for aggregateValue to set.
-
parseFrom
public static DescriptorProtos.UninterpretedOption parseFrom(ByteBuffer data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.UninterpretedOption parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.UninterpretedOption parseFrom(ByteString data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.UninterpretedOption parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.UninterpretedOption parseFrom(byte[] data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.UninterpretedOption parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DescriptorProtos.UninterpretedOption parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static DescriptorProtos.UninterpretedOption parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static DescriptorProtos.UninterpretedOption parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DescriptorProtos.UninterpretedOption parseFrom(CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DescriptorProtos.UninterpretedOption parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
public static DescriptorProtos.UninterpretedOption.Builder newBuilder(DescriptorProtos.UninterpretedOption prototype) -
dynamicMethod
protected final Object dynamicMethod(GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) Description copied from class:GeneratedMessageLite
A method that implements different types of operations described inGeneratedMessageLite.MethodToInvoke
. These 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.NEW_INSTANCE
returns a new instance of the protocol buffer that has not yet been made immutable. SeeMAKE_IMMUTABLE
.IS_INITIALIZED
returnsnull
for false and the default instance for true. It doesn't use or modify any memoized value.GET_MEMOIZED_IS_INITIALIZED
returns the memoizedisInitialized
byte value.SET_MEMOIZED_IS_INITIALIZED
sets the memoizedisInitialized
byte value to 1 if the first parameter is not null, or to 0 if the first parameter is null.NEW_BUILDER
returns aBuilderType
instance.
For use by generated code only.
-
getDefaultInstance
-
parser
-