public static final class DescriptorProtos.UninterpretedOption.Builder extends GeneratedMessageLite.Builder<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.UninterpretedOptioninstance, isBuilt| Modifier and Type | Method and Description |
|---|---|
DescriptorProtos.UninterpretedOption.Builder |
addAllName(Iterable<? extends DescriptorProtos.UninterpretedOption.NamePart> values)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
DescriptorProtos.UninterpretedOption.Builder |
addName(DescriptorProtos.UninterpretedOption.NamePart.Builder builderForValue)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
DescriptorProtos.UninterpretedOption.Builder |
addName(DescriptorProtos.UninterpretedOption.NamePart value)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
DescriptorProtos.UninterpretedOption.Builder |
addName(int index,
DescriptorProtos.UninterpretedOption.NamePart.Builder builderForValue)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
DescriptorProtos.UninterpretedOption.Builder |
addName(int index,
DescriptorProtos.UninterpretedOption.NamePart value)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
DescriptorProtos.UninterpretedOption.Builder |
clearAggregateValue()
optional string aggregate_value = 8; |
DescriptorProtos.UninterpretedOption.Builder |
clearDoubleValue()
optional double double_value = 6; |
DescriptorProtos.UninterpretedOption.Builder |
clearIdentifierValue()
The value of the uninterpreted option, in whatever type the tokenizer
identified it as during parsing.
|
DescriptorProtos.UninterpretedOption.Builder |
clearName()
repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
DescriptorProtos.UninterpretedOption.Builder |
clearNegativeIntValue()
optional int64 negative_int_value = 5; |
DescriptorProtos.UninterpretedOption.Builder |
clearPositiveIntValue()
optional uint64 positive_int_value = 4; |
DescriptorProtos.UninterpretedOption.Builder |
clearStringValue()
optional bytes string_value = 7; |
String |
getAggregateValue()
optional string aggregate_value = 8; |
ByteString |
getAggregateValueBytes()
optional string aggregate_value = 8; |
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; |
long |
getNegativeIntValue()
optional int64 negative_int_value = 5; |
long |
getPositiveIntValue()
optional uint64 positive_int_value = 4; |
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; |
DescriptorProtos.UninterpretedOption.Builder |
removeName(int index)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
DescriptorProtos.UninterpretedOption.Builder |
setAggregateValue(String value)
optional string aggregate_value = 8; |
DescriptorProtos.UninterpretedOption.Builder |
setAggregateValueBytes(ByteString value)
optional string aggregate_value = 8; |
DescriptorProtos.UninterpretedOption.Builder |
setDoubleValue(double value)
optional double double_value = 6; |
DescriptorProtos.UninterpretedOption.Builder |
setIdentifierValue(String value)
The value of the uninterpreted option, in whatever type the tokenizer
identified it as during parsing.
|
DescriptorProtos.UninterpretedOption.Builder |
setIdentifierValueBytes(ByteString value)
The value of the uninterpreted option, in whatever type the tokenizer
identified it as during parsing.
|
DescriptorProtos.UninterpretedOption.Builder |
setName(int index,
DescriptorProtos.UninterpretedOption.NamePart.Builder builderForValue)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
DescriptorProtos.UninterpretedOption.Builder |
setName(int index,
DescriptorProtos.UninterpretedOption.NamePart value)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
DescriptorProtos.UninterpretedOption.Builder |
setNegativeIntValue(long value)
optional int64 negative_int_value = 5; |
DescriptorProtos.UninterpretedOption.Builder |
setPositiveIntValue(long value)
optional uint64 positive_int_value = 4; |
DescriptorProtos.UninterpretedOption.Builder |
setStringValue(ByteString value)
optional bytes string_value = 7; |
build, buildPartial, clear, clone, copyOnWrite, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFromaddAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultInstanceForType, isInitializedpublic List<DescriptorProtos.UninterpretedOption.NamePart> getNameList()
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;getNameList 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.Builder setName(int index, DescriptorProtos.UninterpretedOption.NamePart value)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;public DescriptorProtos.UninterpretedOption.Builder setName(int index, DescriptorProtos.UninterpretedOption.NamePart.Builder builderForValue)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;public DescriptorProtos.UninterpretedOption.Builder addName(DescriptorProtos.UninterpretedOption.NamePart value)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;public DescriptorProtos.UninterpretedOption.Builder addName(int index, DescriptorProtos.UninterpretedOption.NamePart value)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;public DescriptorProtos.UninterpretedOption.Builder addName(DescriptorProtos.UninterpretedOption.NamePart.Builder builderForValue)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;public DescriptorProtos.UninterpretedOption.Builder addName(int index, DescriptorProtos.UninterpretedOption.NamePart.Builder builderForValue)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;public DescriptorProtos.UninterpretedOption.Builder addAllName(Iterable<? extends DescriptorProtos.UninterpretedOption.NamePart> values)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;public DescriptorProtos.UninterpretedOption.Builder clearName()
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;public DescriptorProtos.UninterpretedOption.Builder removeName(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 DescriptorProtos.UninterpretedOption.Builder setIdentifierValue(String value)
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;public DescriptorProtos.UninterpretedOption.Builder 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;public DescriptorProtos.UninterpretedOption.Builder setIdentifierValueBytes(ByteString value)
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;public 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 DescriptorProtos.UninterpretedOption.Builder setPositiveIntValue(long value)
optional uint64 positive_int_value = 4;public DescriptorProtos.UninterpretedOption.Builder clearPositiveIntValue()
optional uint64 positive_int_value = 4;public 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 DescriptorProtos.UninterpretedOption.Builder setNegativeIntValue(long value)
optional int64 negative_int_value = 5;public DescriptorProtos.UninterpretedOption.Builder clearNegativeIntValue()
optional int64 negative_int_value = 5;public boolean hasDoubleValue()
optional double double_value = 6;hasDoubleValue in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic double getDoubleValue()
optional double double_value = 6;getDoubleValue in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic DescriptorProtos.UninterpretedOption.Builder setDoubleValue(double value)
optional double double_value = 6;public DescriptorProtos.UninterpretedOption.Builder clearDoubleValue()
optional double double_value = 6;public boolean hasStringValue()
optional bytes string_value = 7;hasStringValue in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic ByteString getStringValue()
optional bytes string_value = 7;getStringValue in interface DescriptorProtos.UninterpretedOptionOrBuilderpublic DescriptorProtos.UninterpretedOption.Builder setStringValue(ByteString value)
optional bytes string_value = 7;public DescriptorProtos.UninterpretedOption.Builder clearStringValue()
optional bytes string_value = 7;public 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 DescriptorProtos.UninterpretedOption.Builder setAggregateValue(String value)
optional string aggregate_value = 8;public DescriptorProtos.UninterpretedOption.Builder clearAggregateValue()
optional string aggregate_value = 8;public DescriptorProtos.UninterpretedOption.Builder setAggregateValueBytes(ByteString value)
optional string aggregate_value = 8;Copyright © 2008–2016 Google. All rights reserved.