Class MemoryMetadataValue.Builder (3.100.0)

public static final class MemoryMetadataValue.Builder extends GeneratedMessage.Builder<MemoryMetadataValue.Builder> implements MemoryMetadataValueOrBuilder

Memory metadata.

Protobuf type google.cloud.aiplatform.v1beta1.MemoryMetadataValue

Static Methods

getDescriptor()

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

Methods

build()

public MemoryMetadataValue build()
Returns
Type Description
MemoryMetadataValue

buildPartial()

public MemoryMetadataValue buildPartial()
Returns
Type Description
MemoryMetadataValue

clear()

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

clearBoolValue()

public MemoryMetadataValue.Builder clearBoolValue()

Represents a boolean value.

bool bool_value = 3;

Returns
Type Description
MemoryMetadataValue.Builder

This builder for chaining.

clearDoubleValue()

public MemoryMetadataValue.Builder clearDoubleValue()

Represents a double value.

double double_value = 2;

Returns
Type Description
MemoryMetadataValue.Builder

This builder for chaining.

clearStringValue()

public MemoryMetadataValue.Builder clearStringValue()

Represents a string value.

string string_value = 1;

Returns
Type Description
MemoryMetadataValue.Builder

This builder for chaining.

clearTimestampValue()

public MemoryMetadataValue.Builder clearTimestampValue()

Represents a timestamp value. When filtering on timestamp values, only the seconds field will be compared.

.google.protobuf.Timestamp timestamp_value = 4;

Returns
Type Description
MemoryMetadataValue.Builder

clearValue()

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

getBoolValue()

public boolean getBoolValue()

Represents a boolean value.

bool bool_value = 3;

Returns
Type Description
boolean

The boolValue.

getDefaultInstanceForType()

public MemoryMetadataValue getDefaultInstanceForType()
Returns
Type Description
MemoryMetadataValue

getDescriptorForType()

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

getDoubleValue()

public double getDoubleValue()

Represents a double value.

double double_value = 2;

Returns
Type Description
double

The doubleValue.

getStringValue()

public String getStringValue()

Represents a string value.

string string_value = 1;

Returns
Type Description
String

The stringValue.

getStringValueBytes()

public ByteString getStringValueBytes()

Represents a string value.

string string_value = 1;

Returns
Type Description
ByteString

The bytes for stringValue.

getTimestampValue()

public Timestamp getTimestampValue()

Represents a timestamp value. When filtering on timestamp values, only the seconds field will be compared.

.google.protobuf.Timestamp timestamp_value = 4;

Returns
Type Description
Timestamp

The timestampValue.

getTimestampValueBuilder()

public Timestamp.Builder getTimestampValueBuilder()

Represents a timestamp value. When filtering on timestamp values, only the seconds field will be compared.

.google.protobuf.Timestamp timestamp_value = 4;

Returns
Type Description
Builder

getTimestampValueOrBuilder()

public TimestampOrBuilder getTimestampValueOrBuilder()

Represents a timestamp value. When filtering on timestamp values, only the seconds field will be compared.

.google.protobuf.Timestamp timestamp_value = 4;

Returns
Type Description
TimestampOrBuilder

getValueCase()

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

hasBoolValue()

public boolean hasBoolValue()

Represents a boolean value.

bool bool_value = 3;

Returns
Type Description
boolean

Whether the boolValue field is set.

hasDoubleValue()

public boolean hasDoubleValue()

Represents a double value.

double double_value = 2;

Returns
Type Description
boolean

Whether the doubleValue field is set.

hasStringValue()

public boolean hasStringValue()

Represents a string value.

string string_value = 1;

Returns
Type Description
boolean

Whether the stringValue field is set.

hasTimestampValue()

public boolean hasTimestampValue()

Represents a timestamp value. When filtering on timestamp values, only the seconds field will be compared.

.google.protobuf.Timestamp timestamp_value = 4;

Returns
Type Description
boolean

Whether the timestampValue field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MemoryMetadataValue other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTimestampValue(Timestamp value)

public MemoryMetadataValue.Builder mergeTimestampValue(Timestamp value)

Represents a timestamp value. When filtering on timestamp values, only the seconds field will be compared.

.google.protobuf.Timestamp timestamp_value = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
MemoryMetadataValue.Builder

setBoolValue(boolean value)

public MemoryMetadataValue.Builder setBoolValue(boolean value)

Represents a boolean value.

bool bool_value = 3;

Parameter
Name Description
value boolean

The boolValue to set.

Returns
Type Description
MemoryMetadataValue.Builder

This builder for chaining.

setDoubleValue(double value)

public MemoryMetadataValue.Builder setDoubleValue(double value)

Represents a double value.

double double_value = 2;

Parameter
Name Description
value double

The doubleValue to set.

Returns
Type Description
MemoryMetadataValue.Builder

This builder for chaining.

setStringValue(String value)

public MemoryMetadataValue.Builder setStringValue(String value)

Represents a string value.

string string_value = 1;

Parameter
Name Description
value String

The stringValue to set.

Returns
Type Description
MemoryMetadataValue.Builder

This builder for chaining.

setStringValueBytes(ByteString value)

public MemoryMetadataValue.Builder setStringValueBytes(ByteString value)

Represents a string value.

string string_value = 1;

Parameter
Name Description
value ByteString

The bytes for stringValue to set.

Returns
Type Description
MemoryMetadataValue.Builder

This builder for chaining.

setTimestampValue(Timestamp value)

public MemoryMetadataValue.Builder setTimestampValue(Timestamp value)

Represents a timestamp value. When filtering on timestamp values, only the seconds field will be compared.

.google.protobuf.Timestamp timestamp_value = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
MemoryMetadataValue.Builder

setTimestampValue(Timestamp.Builder builderForValue)

public MemoryMetadataValue.Builder setTimestampValue(Timestamp.Builder builderForValue)

Represents a timestamp value. When filtering on timestamp values, only the seconds field will be compared.

.google.protobuf.Timestamp timestamp_value = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
MemoryMetadataValue.Builder