public static final class Value.Builder extends GeneratedMessageV3.Builder<Value.Builder> implements ValueOrBuilder
Value is the value of the field.
Protobuf type google.cloud.aiplatform.v1.Value
Methods
public Value.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
Returns
public Value buildPartial()
Returns
public Value.Builder clear()
Returns
Overrides
public Value.Builder clearDoubleValue()
A double value.
double double_value = 2;
Returns
public Value.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public Value.Builder clearIntValue()
An integer value.
int64 int_value = 1;
Returns
public Value.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public Value.Builder clearStringValue()
A string value.
string string_value = 3;
Returns
public Value.Builder clearValue()
Returns
public Value.Builder clone()
Returns
Overrides
public Value getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public double getDoubleValue()
A double value.
double double_value = 2;
Returns
Type | Description |
double | The doubleValue.
|
public long getIntValue()
An integer value.
int64 int_value = 1;
Returns
Type | Description |
long | The intValue.
|
public String getStringValue()
A string value.
string string_value = 3;
Returns
Type | Description |
String | The stringValue.
|
public ByteString getStringValueBytes()
A string value.
string string_value = 3;
Returns
Type | Description |
ByteString | The bytes for stringValue.
|
public Value.ValueCase getValueCase()
Returns
public boolean hasDoubleValue()
A double value.
double double_value = 2;
Returns
Type | Description |
boolean | Whether the doubleValue field is set.
|
public boolean hasIntValue()
An integer value.
int64 int_value = 1;
Returns
Type | Description |
boolean | Whether the intValue field is set.
|
public boolean hasStringValue()
A string value.
string string_value = 3;
Returns
Type | Description |
boolean | Whether the stringValue field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Value.Builder mergeFrom(Value other)
Parameter
Name | Description |
other | Value
|
Returns
public Value.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public Value.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final Value.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public Value.Builder setDoubleValue(double value)
A double value.
double double_value = 2;
Parameter
Name | Description |
value | double
The doubleValue to set.
|
Returns
public Value.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public Value.Builder setIntValue(long value)
An integer value.
int64 int_value = 1;
Parameter
Name | Description |
value | long
The intValue to set.
|
Returns
public Value.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public Value.Builder setStringValue(String value)
A string value.
string string_value = 3;
Parameter
Name | Description |
value | String
The stringValue to set.
|
Returns
public Value.Builder setStringValueBytes(ByteString value)
A string value.
string string_value = 3;
Parameter
Name | Description |
value | ByteString
The bytes for stringValue to set.
|
Returns
public final Value.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides