public static final class Value.Builder extends GeneratedMessage.Builder<Value.Builder> implements ValueOrBuilderProtobuf type google.cloud.capacityplanner.v1beta.Value
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Value.BuilderImplements
ValueOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Value build()| Returns | |
|---|---|
| Type | Description |
Value |
|
buildPartial()
public Value buildPartial()| Returns | |
|---|---|
| Type | Description |
Value |
|
clear()
public Value.Builder clear()| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
clearBoolValue()
public Value.Builder clearBoolValue()bool bool_value = 4;
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
This builder for chaining. |
clearDoubleValue()
public Value.Builder clearDoubleValue()double double_value = 3;
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
This builder for chaining. |
clearInt64Value()
public Value.Builder clearInt64Value()int64 int64_value = 1;
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
This builder for chaining. |
clearStringValue()
public Value.Builder clearStringValue()string string_value = 2;
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
This builder for chaining. |
clearValue()
public Value.Builder clearValue()| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
getBoolValue()
public boolean getBoolValue()bool bool_value = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
The boolValue. |
getDefaultInstanceForType()
public Value getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Value |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDoubleValue()
public double getDoubleValue()double double_value = 3;
| Returns | |
|---|---|
| Type | Description |
double |
The doubleValue. |
getInt64Value()
public long getInt64Value()int64 int64_value = 1;
| Returns | |
|---|---|
| Type | Description |
long |
The int64Value. |
getStringValue()
public String getStringValue()string string_value = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The stringValue. |
getStringValueBytes()
public ByteString getStringValueBytes()string string_value = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for stringValue. |
getValueCase()
public Value.ValueCase getValueCase()| Returns | |
|---|---|
| Type | Description |
Value.ValueCase |
|
hasBoolValue()
public boolean hasBoolValue()bool bool_value = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the boolValue field is set. |
hasDoubleValue()
public boolean hasDoubleValue()double double_value = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the doubleValue field is set. |
hasInt64Value()
public boolean hasInt64Value()int64 int64_value = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the int64Value field is set. |
hasStringValue()
public boolean hasStringValue()string string_value = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the stringValue field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Value other)
public Value.Builder mergeFrom(Value other)| Parameter | |
|---|---|
| Name | Description |
other |
Value |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Value.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Value.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
setBoolValue(boolean value)
public Value.Builder setBoolValue(boolean value)bool bool_value = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe boolValue to set. |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
This builder for chaining. |
setDoubleValue(double value)
public Value.Builder setDoubleValue(double value)double double_value = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
doubleThe doubleValue to set. |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
This builder for chaining. |
setInt64Value(long value)
public Value.Builder setInt64Value(long value)int64 int64_value = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe int64Value to set. |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
This builder for chaining. |
setStringValue(String value)
public Value.Builder setStringValue(String value)string string_value = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe stringValue to set. |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
This builder for chaining. |
setStringValueBytes(ByteString value)
public Value.Builder setStringValueBytes(ByteString value)string string_value = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for stringValue to set. |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
This builder for chaining. |