Class MetadataValue.Builder (3.89.0)

public static final class MetadataValue.Builder extends GeneratedMessage.Builder<MetadataValue.Builder> implements MetadataValueOrBuilder

Value of Metadata, including all types available in data schema.

Protobuf type google.cloud.aiplatform.v1beta1.MetadataValue

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public MetadataValue build()
Returns
Type Description
MetadataValue

buildPartial()

public MetadataValue buildPartial()
Returns
Type Description
MetadataValue

clear()

public MetadataValue.Builder clear()
Returns
Type Description
MetadataValue.Builder
Overrides

clearBoolValue()

public MetadataValue.Builder clearBoolValue()

Value of boolean type metadata.

bool bool_value = 5;

Returns
Type Description
MetadataValue.Builder

This builder for chaining.

clearDatetimeValue()

public MetadataValue.Builder clearDatetimeValue()

Value of date time type metadata.

string datetime_value = 4;

Returns
Type Description
MetadataValue.Builder

This builder for chaining.

clearFloatValue()

public MetadataValue.Builder clearFloatValue()

Value of float type metadata.

float float_value = 2;

Returns
Type Description
MetadataValue.Builder

This builder for chaining.

clearIntValue()

public MetadataValue.Builder clearIntValue()

Value of int type metadata.

int64 int_value = 1;

Returns
Type Description
MetadataValue.Builder

This builder for chaining.

clearListValue()

public MetadataValue.Builder clearListValue()

Value of list type metadata.

.google.cloud.aiplatform.v1beta1.MetadataList list_value = 6;

Returns
Type Description
MetadataValue.Builder

clearStrValue()

public MetadataValue.Builder clearStrValue()

Value of string type metadata.

string str_value = 3;

Returns
Type Description
MetadataValue.Builder

This builder for chaining.

clearValue()

public MetadataValue.Builder clearValue()
Returns
Type Description
MetadataValue.Builder

getBoolValue()

public boolean getBoolValue()

Value of boolean type metadata.

bool bool_value = 5;

Returns
Type Description
boolean

The boolValue.

getDatetimeValue()

public String getDatetimeValue()

Value of date time type metadata.

string datetime_value = 4;

Returns
Type Description
String

The datetimeValue.

getDatetimeValueBytes()

public ByteString getDatetimeValueBytes()

Value of date time type metadata.

string datetime_value = 4;

Returns
Type Description
ByteString

The bytes for datetimeValue.

getDefaultInstanceForType()

public MetadataValue getDefaultInstanceForType()
Returns
Type Description
MetadataValue

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFloatValue()

public float getFloatValue()

Value of float type metadata.

float float_value = 2;

Returns
Type Description
float

The floatValue.

getIntValue()

public long getIntValue()

Value of int type metadata.

int64 int_value = 1;

Returns
Type Description
long

The intValue.

getListValue()

public MetadataList getListValue()

Value of list type metadata.

.google.cloud.aiplatform.v1beta1.MetadataList list_value = 6;

Returns
Type Description
MetadataList

The listValue.

getListValueBuilder()

public MetadataList.Builder getListValueBuilder()

Value of list type metadata.

.google.cloud.aiplatform.v1beta1.MetadataList list_value = 6;

Returns
Type Description
MetadataList.Builder

getListValueOrBuilder()

public MetadataListOrBuilder getListValueOrBuilder()

Value of list type metadata.

.google.cloud.aiplatform.v1beta1.MetadataList list_value = 6;

Returns
Type Description
MetadataListOrBuilder

getStrValue()

public String getStrValue()

Value of string type metadata.

string str_value = 3;

Returns
Type Description
String

The strValue.

getStrValueBytes()

public ByteString getStrValueBytes()

Value of string type metadata.

string str_value = 3;

Returns
Type Description
ByteString

The bytes for strValue.

getValueCase()

public MetadataValue.ValueCase getValueCase()
Returns
Type Description
MetadataValue.ValueCase

hasBoolValue()

public boolean hasBoolValue()

Value of boolean type metadata.

bool bool_value = 5;

Returns
Type Description
boolean

Whether the boolValue field is set.

hasDatetimeValue()

public boolean hasDatetimeValue()

Value of date time type metadata.

string datetime_value = 4;

Returns
Type Description
boolean

Whether the datetimeValue field is set.

hasFloatValue()

public boolean hasFloatValue()

Value of float type metadata.

float float_value = 2;

Returns
Type Description
boolean

Whether the floatValue field is set.

hasIntValue()

public boolean hasIntValue()

Value of int type metadata.

int64 int_value = 1;

Returns
Type Description
boolean

Whether the intValue field is set.

hasListValue()

public boolean hasListValue()

Value of list type metadata.

.google.cloud.aiplatform.v1beta1.MetadataList list_value = 6;

Returns
Type Description
boolean

Whether the listValue field is set.

hasStrValue()

public boolean hasStrValue()

Value of string type metadata.

string str_value = 3;

Returns
Type Description
boolean

Whether the strValue field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MetadataValue other)

public MetadataValue.Builder mergeFrom(MetadataValue other)
Parameter
Name Description
other MetadataValue
Returns
Type Description
MetadataValue.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MetadataValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetadataValue.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public MetadataValue.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MetadataValue.Builder
Overrides

mergeListValue(MetadataList value)

public MetadataValue.Builder mergeListValue(MetadataList value)

Value of list type metadata.

.google.cloud.aiplatform.v1beta1.MetadataList list_value = 6;

Parameter
Name Description
value MetadataList
Returns
Type Description
MetadataValue.Builder

setBoolValue(boolean value)

public MetadataValue.Builder setBoolValue(boolean value)

Value of boolean type metadata.

bool bool_value = 5;

Parameter
Name Description
value boolean

The boolValue to set.

Returns
Type Description
MetadataValue.Builder

This builder for chaining.

setDatetimeValue(String value)

public MetadataValue.Builder setDatetimeValue(String value)

Value of date time type metadata.

string datetime_value = 4;

Parameter
Name Description
value String

The datetimeValue to set.

Returns
Type Description
MetadataValue.Builder

This builder for chaining.

setDatetimeValueBytes(ByteString value)

public MetadataValue.Builder setDatetimeValueBytes(ByteString value)

Value of date time type metadata.

string datetime_value = 4;

Parameter
Name Description
value ByteString

The bytes for datetimeValue to set.

Returns
Type Description
MetadataValue.Builder

This builder for chaining.

setFloatValue(float value)

public MetadataValue.Builder setFloatValue(float value)

Value of float type metadata.

float float_value = 2;

Parameter
Name Description
value float

The floatValue to set.

Returns
Type Description
MetadataValue.Builder

This builder for chaining.

setIntValue(long value)

public MetadataValue.Builder setIntValue(long value)

Value of int type metadata.

int64 int_value = 1;

Parameter
Name Description
value long

The intValue to set.

Returns
Type Description
MetadataValue.Builder

This builder for chaining.

setListValue(MetadataList value)

public MetadataValue.Builder setListValue(MetadataList value)

Value of list type metadata.

.google.cloud.aiplatform.v1beta1.MetadataList list_value = 6;

Parameter
Name Description
value MetadataList
Returns
Type Description
MetadataValue.Builder

setListValue(MetadataList.Builder builderForValue)

public MetadataValue.Builder setListValue(MetadataList.Builder builderForValue)

Value of list type metadata.

.google.cloud.aiplatform.v1beta1.MetadataList list_value = 6;

Parameter
Name Description
builderForValue MetadataList.Builder
Returns
Type Description
MetadataValue.Builder

setStrValue(String value)

public MetadataValue.Builder setStrValue(String value)

Value of string type metadata.

string str_value = 3;

Parameter
Name Description
value String

The strValue to set.

Returns
Type Description
MetadataValue.Builder

This builder for chaining.

setStrValueBytes(ByteString value)

public MetadataValue.Builder setStrValueBytes(ByteString value)

Value of string type metadata.

string str_value = 3;

Parameter
Name Description
value ByteString

The bytes for strValue to set.

Returns
Type Description
MetadataValue.Builder

This builder for chaining.