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.Builder
addAllName(java.lang.Iterable<? extends DescriptorProtos.UninterpretedOption.NamePart> values)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];
DescriptorProtos.UninterpretedOption.Builder
addName(int index, DescriptorProtos.UninterpretedOption.NamePart value)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];
DescriptorProtos.UninterpretedOption.Builder
addName(int index, DescriptorProtos.UninterpretedOption.NamePart.Builder builderForValue)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];
DescriptorProtos.UninterpretedOption.Builder
addName(DescriptorProtos.UninterpretedOption.NamePart value)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];
DescriptorProtos.UninterpretedOption.Builder
addName(DescriptorProtos.UninterpretedOption.NamePart.Builder builderForValue)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];
DescriptorProtos.UninterpretedOption.Builder
clearAggregateValue()
optional string aggregate_value = 8 [json_name = "aggregateValue"];
DescriptorProtos.UninterpretedOption.Builder
clearDoubleValue()
optional double double_value = 6 [json_name = "doubleValue"];
DescriptorProtos.UninterpretedOption.Builder
clearIdentifierValue()
optional string identifier_value = 3 [json_name = "identifierValue"];
DescriptorProtos.UninterpretedOption.Builder
clearName()
repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];
DescriptorProtos.UninterpretedOption.Builder
clearNegativeIntValue()
optional int64 negative_int_value = 5 [json_name = "negativeIntValue"];
DescriptorProtos.UninterpretedOption.Builder
clearPositiveIntValue()
optional uint64 positive_int_value = 4 [json_name = "positiveIntValue"];
DescriptorProtos.UninterpretedOption.Builder
clearStringValue()
optional bytes string_value = 7 [json_name = "stringValue"];
java.lang.String
getAggregateValue()
optional string aggregate_value = 8 [json_name = "aggregateValue"];
ByteString
getAggregateValueBytes()
optional string aggregate_value = 8 [json_name = "aggregateValue"];
double
getDoubleValue()
optional double double_value = 6 [json_name = "doubleValue"];
java.lang.String
getIdentifierValue()
optional string identifier_value = 3 [json_name = "identifierValue"];
ByteString
getIdentifierValueBytes()
optional string identifier_value = 3 [json_name = "identifierValue"];
DescriptorProtos.UninterpretedOption.NamePart
getName(int index)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];
int
getNameCount()
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"];
long
getNegativeIntValue()
optional int64 negative_int_value = 5 [json_name = "negativeIntValue"];
long
getPositiveIntValue()
optional uint64 positive_int_value = 4 [json_name = "positiveIntValue"];
ByteString
getStringValue()
optional bytes string_value = 7 [json_name = "stringValue"];
boolean
hasAggregateValue()
optional string aggregate_value = 8 [json_name = "aggregateValue"];
boolean
hasDoubleValue()
optional double double_value = 6 [json_name = "doubleValue"];
boolean
hasIdentifierValue()
optional string identifier_value = 3 [json_name = "identifierValue"];
boolean
hasNegativeIntValue()
optional int64 negative_int_value = 5 [json_name = "negativeIntValue"];
boolean
hasPositiveIntValue()
optional uint64 positive_int_value = 4 [json_name = "positiveIntValue"];
boolean
hasStringValue()
optional bytes string_value = 7 [json_name = "stringValue"];
DescriptorProtos.UninterpretedOption.Builder
removeName(int index)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];
DescriptorProtos.UninterpretedOption.Builder
setAggregateValue(java.lang.String value)
optional string aggregate_value = 8 [json_name = "aggregateValue"];
DescriptorProtos.UninterpretedOption.Builder
setAggregateValueBytes(ByteString value)
optional string aggregate_value = 8 [json_name = "aggregateValue"];
DescriptorProtos.UninterpretedOption.Builder
setDoubleValue(double value)
optional double double_value = 6 [json_name = "doubleValue"];
DescriptorProtos.UninterpretedOption.Builder
setIdentifierValue(java.lang.String value)
optional string identifier_value = 3 [json_name = "identifierValue"];
DescriptorProtos.UninterpretedOption.Builder
setIdentifierValueBytes(ByteString value)
optional string identifier_value = 3 [json_name = "identifierValue"];
DescriptorProtos.UninterpretedOption.Builder
setName(int index, DescriptorProtos.UninterpretedOption.NamePart value)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];
DescriptorProtos.UninterpretedOption.Builder
setName(int index, DescriptorProtos.UninterpretedOption.NamePart.Builder builderForValue)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];
DescriptorProtos.UninterpretedOption.Builder
setNegativeIntValue(long value)
optional int64 negative_int_value = 5 [json_name = "negativeIntValue"];
DescriptorProtos.UninterpretedOption.Builder
setPositiveIntValue(long value)
optional uint64 positive_int_value = 4 [json_name = "positiveIntValue"];
DescriptorProtos.UninterpretedOption.Builder
setStringValue(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:
getNameList
in interfaceDescriptorProtos.UninterpretedOptionOrBuilder
-
getNameCount
public int getNameCount()
repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];
- Specified by:
getNameCount
in interfaceDescriptorProtos.UninterpretedOptionOrBuilder
-
getName
public DescriptorProtos.UninterpretedOption.NamePart getName(int index)
repeated .google.protobuf.UninterpretedOption.NamePart name = 2 [json_name = "name"];
- Specified by:
getName
in 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:
hasIdentifierValue
in 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:
getIdentifierValue
in interfaceDescriptorProtos.UninterpretedOptionOrBuilder
- Returns:
- The identifierValue.
-
getIdentifierValueBytes
public ByteString getIdentifierValueBytes()
optional string identifier_value = 3 [json_name = "identifierValue"];
- Specified by:
getIdentifierValueBytes
in 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:
hasPositiveIntValue
in interfaceDescriptorProtos.UninterpretedOptionOrBuilder
- Returns:
- Whether the positiveIntValue field is set.
-
getPositiveIntValue
public long getPositiveIntValue()
optional uint64 positive_int_value = 4 [json_name = "positiveIntValue"];
- Specified by:
getPositiveIntValue
in 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:
hasNegativeIntValue
in interfaceDescriptorProtos.UninterpretedOptionOrBuilder
- Returns:
- Whether the negativeIntValue field is set.
-
getNegativeIntValue
public long getNegativeIntValue()
optional int64 negative_int_value = 5 [json_name = "negativeIntValue"];
- Specified by:
getNegativeIntValue
in 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:
hasDoubleValue
in interfaceDescriptorProtos.UninterpretedOptionOrBuilder
- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
public double getDoubleValue()
optional double double_value = 6 [json_name = "doubleValue"];
- Specified by:
getDoubleValue
in 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:
hasStringValue
in interfaceDescriptorProtos.UninterpretedOptionOrBuilder
- Returns:
- Whether the stringValue field is set.
-
getStringValue
public ByteString getStringValue()
optional bytes string_value = 7 [json_name = "stringValue"];
- Specified by:
getStringValue
in 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:
hasAggregateValue
in 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:
getAggregateValue
in interfaceDescriptorProtos.UninterpretedOptionOrBuilder
- Returns:
- The aggregateValue.
-
getAggregateValueBytes
public ByteString getAggregateValueBytes()
optional string aggregate_value = 8 [json_name = "aggregateValue"];
- Specified by:
getAggregateValueBytes
in 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.
-
-