Class MetadataValue (3.89.0)

public final class MetadataValue extends GeneratedMessage implements MetadataValueOrBuilder

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

Protobuf type google.cloud.aiplatform.v1beta1.MetadataValue

Static Fields

BOOL_VALUE_FIELD_NUMBER

public static final int BOOL_VALUE_FIELD_NUMBER
Field Value
Type Description
int

DATETIME_VALUE_FIELD_NUMBER

public static final int DATETIME_VALUE_FIELD_NUMBER
Field Value
Type Description
int

FLOAT_VALUE_FIELD_NUMBER

public static final int FLOAT_VALUE_FIELD_NUMBER
Field Value
Type Description
int

INT_VALUE_FIELD_NUMBER

public static final int INT_VALUE_FIELD_NUMBER
Field Value
Type Description
int

LIST_VALUE_FIELD_NUMBER

public static final int LIST_VALUE_FIELD_NUMBER
Field Value
Type Description
int

STR_VALUE_FIELD_NUMBER

public static final int STR_VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MetadataValue getDefaultInstance()
Returns
Type Description
MetadataValue

getDescriptor()

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

newBuilder()

public static MetadataValue.Builder newBuilder()
Returns
Type Description
MetadataValue.Builder

newBuilder(MetadataValue prototype)

public static MetadataValue.Builder newBuilder(MetadataValue prototype)
Parameter
Name Description
prototype MetadataValue
Returns
Type Description
MetadataValue.Builder

parseDelimitedFrom(InputStream input)

public static MetadataValue parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MetadataValue
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MetadataValue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetadataValue
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static MetadataValue parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
MetadataValue
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MetadataValue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetadataValue
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MetadataValue parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MetadataValue
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MetadataValue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetadataValue
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MetadataValue parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MetadataValue
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MetadataValue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetadataValue
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static MetadataValue parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MetadataValue
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MetadataValue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetadataValue
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static MetadataValue parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MetadataValue
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MetadataValue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetadataValue
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<MetadataValue> parser()
Returns
Type Description
Parser<MetadataValue>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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.

getListValueOrBuilder()

public MetadataListOrBuilder getListValueOrBuilder()

Value of list type metadata.

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

Returns
Type Description
MetadataListOrBuilder

getParserForType()

public Parser<MetadataValue> getParserForType()
Returns
Type Description
Parser<MetadataValue>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected MetadataValue.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MetadataValue.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException