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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public Value.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
Returns |
---|
Type | Description |
Value | |
public Value buildPartial()
Returns |
---|
Type | Description |
Value | |
public Value.Builder clear()
Overrides
public Value.Builder clearDoubleValue()
A double value.
double double_value = 2;
public Value.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public Value.Builder clearIntValue()
An integer value.
int64 int_value = 1;
public Value.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public Value.Builder clearStringValue()
A string value.
string string_value = 3;
public Value.Builder clearValue()
public Value.Builder clone()
Overrides
public Value getDefaultInstanceForType()
Returns |
---|
Type | Description |
Value | |
public Descriptors.Descriptor getDescriptorForType()
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()
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()
Overrides
public final boolean isInitialized()
Overrides
public Value.Builder mergeFrom(Value other)
Parameter |
---|
Name | Description |
other | Value
|
public Value.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public Value.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final Value.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public Value.Builder setDoubleValue(double value)
A double value.
double double_value = 2;
Parameter |
---|
Name | Description |
value | double
The doubleValue to set.
|
public Value.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Value.Builder setIntValue(long value)
An integer value.
int64 int_value = 1;
Parameter |
---|
Name | Description |
value | long
The intValue to set.
|
public Value.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public Value.Builder setStringValue(String value)
A string value.
string string_value = 3;
Parameter |
---|
Name | Description |
value | String
The stringValue to set.
|
public Value.Builder setStringValueBytes(ByteString value)
A string value.
string string_value = 3;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for stringValue to set.
|
public final Value.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides