Package com.google.protobuf
Class DescriptorProtos.UninterpretedOption.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<DescriptorProtos.UninterpretedOption,DescriptorProtos.UninterpretedOption.Builder>
-
- com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder
-
- All Implemented Interfaces:
DescriptorProtos.UninterpretedOptionOrBuilder,MessageLite.Builder,MessageLiteOrBuilder,java.lang.Cloneable
- Enclosing class:
- DescriptorProtos.UninterpretedOption
public static final class DescriptorProtos.UninterpretedOption.Builder extends GeneratedMessageLite.Builder<DescriptorProtos.UninterpretedOption,DescriptorProtos.UninterpretedOption.Builder> implements DescriptorProtos.UninterpretedOptionOrBuilder
Protobuf typegoogle.protobuf.UninterpretedOption
-
-
Field Summary
-
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescriptorProtos.UninterpretedOption.BuilderaddAllName(java.lang.Iterable<? extends DescriptorProtos.UninterpretedOption.NamePart> values)repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];DescriptorProtos.UninterpretedOption.BuilderaddName(int index, DescriptorProtos.UninterpretedOption.NamePart value)repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];DescriptorProtos.UninterpretedOption.BuilderaddName(int index, DescriptorProtos.UninterpretedOption.NamePart.Builder builderForValue)repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];DescriptorProtos.UninterpretedOption.BuilderaddName(DescriptorProtos.UninterpretedOption.NamePart value)repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];DescriptorProtos.UninterpretedOption.BuilderaddName(DescriptorProtos.UninterpretedOption.NamePart.Builder builderForValue)repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];DescriptorProtos.UninterpretedOption.BuilderclearAggregateValue()optional string aggregate_value = 8 [json_name = "aggregateValue"];DescriptorProtos.UninterpretedOption.BuilderclearDoubleValue()optional double double_value = 6 [json_name = "doubleValue"];DescriptorProtos.UninterpretedOption.BuilderclearIdentifierValue()optional string identifier_value = 3 [json_name = "identifierValue"];DescriptorProtos.UninterpretedOption.BuilderclearName()repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];DescriptorProtos.UninterpretedOption.BuilderclearNegativeIntValue()optional int64 negative_int_value = 5 [json_name = "negativeIntValue"];DescriptorProtos.UninterpretedOption.BuilderclearPositiveIntValue()optional uint64 positive_int_value = 4 [json_name = "positiveIntValue"];DescriptorProtos.UninterpretedOption.BuilderclearStringValue()optional bytes string_value = 7 [json_name = "stringValue"];java.lang.StringgetAggregateValue()optional string aggregate_value = 8 [json_name = "aggregateValue"];ByteStringgetAggregateValueBytes()optional string aggregate_value = 8 [json_name = "aggregateValue"];doublegetDoubleValue()optional double double_value = 6 [json_name = "doubleValue"];java.lang.StringgetIdentifierValue()optional string identifier_value = 3 [json_name = "identifierValue"];ByteStringgetIdentifierValueBytes()optional string identifier_value = 3 [json_name = "identifierValue"];DescriptorProtos.UninterpretedOption.NamePartgetName(int index)repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];intgetNameCount()repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];java.util.List<DescriptorProtos.UninterpretedOption.NamePart>getNameList()repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];longgetNegativeIntValue()optional int64 negative_int_value = 5 [json_name = "negativeIntValue"];longgetPositiveIntValue()optional uint64 positive_int_value = 4 [json_name = "positiveIntValue"];ByteStringgetStringValue()optional bytes string_value = 7 [json_name = "stringValue"];booleanhasAggregateValue()optional string aggregate_value = 8 [json_name = "aggregateValue"];booleanhasDoubleValue()optional double double_value = 6 [json_name = "doubleValue"];booleanhasIdentifierValue()optional string identifier_value = 3 [json_name = "identifierValue"];booleanhasNegativeIntValue()optional int64 negative_int_value = 5 [json_name = "negativeIntValue"];booleanhasPositiveIntValue()optional uint64 positive_int_value = 4 [json_name = "positiveIntValue"];booleanhasStringValue()optional bytes string_value = 7 [json_name = "stringValue"];DescriptorProtos.UninterpretedOption.BuilderremoveName(int index)repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];DescriptorProtos.UninterpretedOption.BuildersetAggregateValue(java.lang.String value)optional string aggregate_value = 8 [json_name = "aggregateValue"];DescriptorProtos.UninterpretedOption.BuildersetAggregateValueBytes(ByteString value)optional string aggregate_value = 8 [json_name = "aggregateValue"];DescriptorProtos.UninterpretedOption.BuildersetDoubleValue(double value)optional double double_value = 6 [json_name = "doubleValue"];DescriptorProtos.UninterpretedOption.BuildersetIdentifierValue(java.lang.String value)optional string identifier_value = 3 [json_name = "identifierValue"];DescriptorProtos.UninterpretedOption.BuildersetIdentifierValueBytes(ByteString value)optional string identifier_value = 3 [json_name = "identifierValue"];DescriptorProtos.UninterpretedOption.BuildersetName(int index, DescriptorProtos.UninterpretedOption.NamePart value)repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];DescriptorProtos.UninterpretedOption.BuildersetName(int index, DescriptorProtos.UninterpretedOption.NamePart.Builder builderForValue)repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];DescriptorProtos.UninterpretedOption.BuildersetNegativeIntValue(long value)optional int64 negative_int_value = 5 [json_name = "negativeIntValue"];DescriptorProtos.UninterpretedOption.BuildersetPositiveIntValue(long value)optional uint64 positive_int_value = 4 [json_name = "positiveIntValue"];DescriptorProtos.UninterpretedOption.BuildersetStringValue(ByteString value)optional bytes string_value = 7 [json_name = "stringValue"];-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
-
-
-
Method Detail
-
getNameList
public java.util.List<DescriptorProtos.UninterpretedOption.NamePart> getNameList()
repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];- Specified by:
getNameListin interfaceDescriptorProtos.UninterpretedOptionOrBuilder
-
getNameCount
public int getNameCount()
repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];- Specified by:
getNameCountin interfaceDescriptorProtos.UninterpretedOptionOrBuilder
-
getName
public DescriptorProtos.UninterpretedOption.NamePart getName(int index)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];- Specified by:
getNamein interfaceDescriptorProtos.UninterpretedOptionOrBuilder
-
setName
public DescriptorProtos.UninterpretedOption.Builder setName(int index, DescriptorProtos.UninterpretedOption.NamePart value)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];
-
setName
public DescriptorProtos.UninterpretedOption.Builder setName(int index, DescriptorProtos.UninterpretedOption.NamePart.Builder builderForValue)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];
-
addName
public DescriptorProtos.UninterpretedOption.Builder addName(DescriptorProtos.UninterpretedOption.NamePart value)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];
-
addName
public DescriptorProtos.UninterpretedOption.Builder addName(int index, DescriptorProtos.UninterpretedOption.NamePart value)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];
-
addName
public DescriptorProtos.UninterpretedOption.Builder addName(DescriptorProtos.UninterpretedOption.NamePart.Builder builderForValue)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];
-
addName
public DescriptorProtos.UninterpretedOption.Builder addName(int index, DescriptorProtos.UninterpretedOption.NamePart.Builder builderForValue)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];
-
addAllName
public DescriptorProtos.UninterpretedOption.Builder addAllName(java.lang.Iterable<? extends DescriptorProtos.UninterpretedOption.NamePart> values)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];
-
clearName
public DescriptorProtos.UninterpretedOption.Builder clearName()
repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];
-
removeName
public DescriptorProtos.UninterpretedOption.Builder removeName(int index)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];
-
hasIdentifierValue
public boolean hasIdentifierValue()
optional string identifier_value = 3 [json_name = "identifierValue"];- Specified by:
hasIdentifierValuein interfaceDescriptorProtos.UninterpretedOptionOrBuilder- Returns:
- Whether the identifierValue field is set.
-
getIdentifierValue
public java.lang.String getIdentifierValue()
optional string identifier_value = 3 [json_name = "identifierValue"];- Specified by:
getIdentifierValuein interfaceDescriptorProtos.UninterpretedOptionOrBuilder- Returns:
- The identifierValue.
-
getIdentifierValueBytes
public ByteString getIdentifierValueBytes()
optional string identifier_value = 3 [json_name = "identifierValue"];- Specified by:
getIdentifierValueBytesin interfaceDescriptorProtos.UninterpretedOptionOrBuilder- Returns:
- The bytes for identifierValue.
-
setIdentifierValue
public DescriptorProtos.UninterpretedOption.Builder setIdentifierValue(java.lang.String value)
optional string identifier_value = 3 [json_name = "identifierValue"];- Parameters:
value- The identifierValue to set.- Returns:
- This builder for chaining.
-
clearIdentifierValue
public DescriptorProtos.UninterpretedOption.Builder clearIdentifierValue()
optional string identifier_value = 3 [json_name = "identifierValue"];- Returns:
- This builder for chaining.
-
setIdentifierValueBytes
public DescriptorProtos.UninterpretedOption.Builder setIdentifierValueBytes(ByteString value)
optional string identifier_value = 3 [json_name = "identifierValue"];- Parameters:
value- The bytes for identifierValue to set.- Returns:
- This builder for chaining.
-
hasPositiveIntValue
public boolean hasPositiveIntValue()
optional uint64 positive_int_value = 4 [json_name = "positiveIntValue"];- Specified by:
hasPositiveIntValuein interfaceDescriptorProtos.UninterpretedOptionOrBuilder- Returns:
- Whether the positiveIntValue field is set.
-
getPositiveIntValue
public long getPositiveIntValue()
optional uint64 positive_int_value = 4 [json_name = "positiveIntValue"];- Specified by:
getPositiveIntValuein interfaceDescriptorProtos.UninterpretedOptionOrBuilder- Returns:
- The positiveIntValue.
-
setPositiveIntValue
public DescriptorProtos.UninterpretedOption.Builder setPositiveIntValue(long value)
optional uint64 positive_int_value = 4 [json_name = "positiveIntValue"];- Parameters:
value- The positiveIntValue to set.- Returns:
- This builder for chaining.
-
clearPositiveIntValue
public DescriptorProtos.UninterpretedOption.Builder clearPositiveIntValue()
optional uint64 positive_int_value = 4 [json_name = "positiveIntValue"];- Returns:
- This builder for chaining.
-
hasNegativeIntValue
public boolean hasNegativeIntValue()
optional int64 negative_int_value = 5 [json_name = "negativeIntValue"];- Specified by:
hasNegativeIntValuein interfaceDescriptorProtos.UninterpretedOptionOrBuilder- Returns:
- Whether the negativeIntValue field is set.
-
getNegativeIntValue
public long getNegativeIntValue()
optional int64 negative_int_value = 5 [json_name = "negativeIntValue"];- Specified by:
getNegativeIntValuein interfaceDescriptorProtos.UninterpretedOptionOrBuilder- Returns:
- The negativeIntValue.
-
setNegativeIntValue
public DescriptorProtos.UninterpretedOption.Builder setNegativeIntValue(long value)
optional int64 negative_int_value = 5 [json_name = "negativeIntValue"];- Parameters:
value- The negativeIntValue to set.- Returns:
- This builder for chaining.
-
clearNegativeIntValue
public DescriptorProtos.UninterpretedOption.Builder clearNegativeIntValue()
optional int64 negative_int_value = 5 [json_name = "negativeIntValue"];- Returns:
- This builder for chaining.
-
hasDoubleValue
public boolean hasDoubleValue()
optional double double_value = 6 [json_name = "doubleValue"];- Specified by:
hasDoubleValuein interfaceDescriptorProtos.UninterpretedOptionOrBuilder- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
public double getDoubleValue()
optional double double_value = 6 [json_name = "doubleValue"];- Specified by:
getDoubleValuein interfaceDescriptorProtos.UninterpretedOptionOrBuilder- Returns:
- The doubleValue.
-
setDoubleValue
public DescriptorProtos.UninterpretedOption.Builder setDoubleValue(double value)
optional double double_value = 6 [json_name = "doubleValue"];- Parameters:
value- The doubleValue to set.- Returns:
- This builder for chaining.
-
clearDoubleValue
public DescriptorProtos.UninterpretedOption.Builder clearDoubleValue()
optional double double_value = 6 [json_name = "doubleValue"];- Returns:
- This builder for chaining.
-
hasStringValue
public boolean hasStringValue()
optional bytes string_value = 7 [json_name = "stringValue"];- Specified by:
hasStringValuein interfaceDescriptorProtos.UninterpretedOptionOrBuilder- Returns:
- Whether the stringValue field is set.
-
getStringValue
public ByteString getStringValue()
optional bytes string_value = 7 [json_name = "stringValue"];- Specified by:
getStringValuein interfaceDescriptorProtos.UninterpretedOptionOrBuilder- Returns:
- The stringValue.
-
setStringValue
public DescriptorProtos.UninterpretedOption.Builder setStringValue(ByteString value)
optional bytes string_value = 7 [json_name = "stringValue"];- Parameters:
value- The stringValue to set.- Returns:
- This builder for chaining.
-
clearStringValue
public DescriptorProtos.UninterpretedOption.Builder clearStringValue()
optional bytes string_value = 7 [json_name = "stringValue"];- Returns:
- This builder for chaining.
-
hasAggregateValue
public boolean hasAggregateValue()
optional string aggregate_value = 8 [json_name = "aggregateValue"];- Specified by:
hasAggregateValuein interfaceDescriptorProtos.UninterpretedOptionOrBuilder- Returns:
- Whether the aggregateValue field is set.
-
getAggregateValue
public java.lang.String getAggregateValue()
optional string aggregate_value = 8 [json_name = "aggregateValue"];- Specified by:
getAggregateValuein interfaceDescriptorProtos.UninterpretedOptionOrBuilder- Returns:
- The aggregateValue.
-
getAggregateValueBytes
public ByteString getAggregateValueBytes()
optional string aggregate_value = 8 [json_name = "aggregateValue"];- Specified by:
getAggregateValueBytesin interfaceDescriptorProtos.UninterpretedOptionOrBuilder- Returns:
- The bytes for aggregateValue.
-
setAggregateValue
public DescriptorProtos.UninterpretedOption.Builder setAggregateValue(java.lang.String value)
optional string aggregate_value = 8 [json_name = "aggregateValue"];- Parameters:
value- The aggregateValue to set.- Returns:
- This builder for chaining.
-
clearAggregateValue
public DescriptorProtos.UninterpretedOption.Builder clearAggregateValue()
optional string aggregate_value = 8 [json_name = "aggregateValue"];- Returns:
- This builder for chaining.
-
setAggregateValueBytes
public DescriptorProtos.UninterpretedOption.Builder setAggregateValueBytes(ByteString value)
optional string aggregate_value = 8 [json_name = "aggregateValue"];- Parameters:
value- The bytes for aggregateValue to set.- Returns:
- This builder for chaining.
-
-