Class ModelVersionCheckpoint.Builder (3.84.0)

public static final class ModelVersionCheckpoint.Builder extends GeneratedMessage.Builder<ModelVersionCheckpoint.Builder> implements ModelVersionCheckpointOrBuilder

A proto representation of a Spanner-stored ModelVersionCheckpoint. The meaning of the fields is equivalent to their in-Spanner counterparts.

Protobuf type google.cloud.aiplatform.v1.ModelVersionCheckpoint

Static Methods

getDescriptor()

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

Methods

build()

public ModelVersionCheckpoint build()
Returns
Type Description
ModelVersionCheckpoint

buildPartial()

public ModelVersionCheckpoint buildPartial()
Returns
Type Description
ModelVersionCheckpoint

clear()

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

clearCheckpointId()

public ModelVersionCheckpoint.Builder clearCheckpointId()

The ID of the checkpoint.

string checkpoint_id = 1;

Returns
Type Description
ModelVersionCheckpoint.Builder

This builder for chaining.

clearEpoch()

public ModelVersionCheckpoint.Builder clearEpoch()

The epoch of the checkpoint.

int64 epoch = 2;

Returns
Type Description
ModelVersionCheckpoint.Builder

This builder for chaining.

clearStep()

public ModelVersionCheckpoint.Builder clearStep()

The step of the checkpoint.

int64 step = 3;

Returns
Type Description
ModelVersionCheckpoint.Builder

This builder for chaining.

getCheckpointId()

public String getCheckpointId()

The ID of the checkpoint.

string checkpoint_id = 1;

Returns
Type Description
String

The checkpointId.

getCheckpointIdBytes()

public ByteString getCheckpointIdBytes()

The ID of the checkpoint.

string checkpoint_id = 1;

Returns
Type Description
ByteString

The bytes for checkpointId.

getDefaultInstanceForType()

public ModelVersionCheckpoint getDefaultInstanceForType()
Returns
Type Description
ModelVersionCheckpoint

getDescriptorForType()

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

getEpoch()

public long getEpoch()

The epoch of the checkpoint.

int64 epoch = 2;

Returns
Type Description
long

The epoch.

getStep()

public long getStep()

The step of the checkpoint.

int64 step = 3;

Returns
Type Description
long

The step.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ModelVersionCheckpoint other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCheckpointId(String value)

public ModelVersionCheckpoint.Builder setCheckpointId(String value)

The ID of the checkpoint.

string checkpoint_id = 1;

Parameter
Name Description
value String

The checkpointId to set.

Returns
Type Description
ModelVersionCheckpoint.Builder

This builder for chaining.

setCheckpointIdBytes(ByteString value)

public ModelVersionCheckpoint.Builder setCheckpointIdBytes(ByteString value)

The ID of the checkpoint.

string checkpoint_id = 1;

Parameter
Name Description
value ByteString

The bytes for checkpointId to set.

Returns
Type Description
ModelVersionCheckpoint.Builder

This builder for chaining.

setEpoch(long value)

public ModelVersionCheckpoint.Builder setEpoch(long value)

The epoch of the checkpoint.

int64 epoch = 2;

Parameter
Name Description
value long

The epoch to set.

Returns
Type Description
ModelVersionCheckpoint.Builder

This builder for chaining.

setStep(long value)

public ModelVersionCheckpoint.Builder setStep(long value)

The step of the checkpoint.

int64 step = 3;

Parameter
Name Description
value long

The step to set.

Returns
Type Description
ModelVersionCheckpoint.Builder

This builder for chaining.