Class Checkpoint.Builder (3.84.0)

public static final class Checkpoint.Builder extends GeneratedMessage.Builder<Checkpoint.Builder> implements CheckpointOrBuilder

Describes the machine learning model version checkpoint.

Protobuf type google.cloud.aiplatform.v1.Checkpoint

Implements

CheckpointOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public Checkpoint build()
Returns
Type Description
Checkpoint

buildPartial()

public Checkpoint buildPartial()
Returns
Type Description
Checkpoint

clear()

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

clearCheckpointId()

public Checkpoint.Builder clearCheckpointId()

The ID of the checkpoint.

string checkpoint_id = 1;

Returns
Type Description
Checkpoint.Builder

This builder for chaining.

clearEpoch()

public Checkpoint.Builder clearEpoch()

The epoch of the checkpoint.

int64 epoch = 2;

Returns
Type Description
Checkpoint.Builder

This builder for chaining.

clearStep()

public Checkpoint.Builder clearStep()

The step of the checkpoint.

int64 step = 3;

Returns
Type Description
Checkpoint.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 Checkpoint getDefaultInstanceForType()
Returns
Type Description
Checkpoint

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(Checkpoint other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCheckpointId(String value)

public Checkpoint.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
Checkpoint.Builder

This builder for chaining.

setCheckpointIdBytes(ByteString value)

public Checkpoint.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
Checkpoint.Builder

This builder for chaining.

setEpoch(long value)

public Checkpoint.Builder setEpoch(long value)

The epoch of the checkpoint.

int64 epoch = 2;

Parameter
Name Description
value long

The epoch to set.

Returns
Type Description
Checkpoint.Builder

This builder for chaining.

setStep(long value)

public Checkpoint.Builder setStep(long value)

The step of the checkpoint.

int64 step = 3;

Parameter
Name Description
value long

The step to set.

Returns
Type Description
Checkpoint.Builder

This builder for chaining.