Class Checkpoint.Builder (3.64.0)

public static final class Checkpoint.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Checkpoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Checkpoint.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public Checkpoint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Checkpoint.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Checkpoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Checkpoint.Builder
Overrides

clearStep()

public Checkpoint.Builder clearStep()

The step of the checkpoint.

int64 step = 3;

Returns
Type Description
Checkpoint.Builder

This builder for chaining.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Checkpoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public Checkpoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Checkpoint.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Checkpoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Checkpoint.Builder
Overrides

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.

setUnknownFields(UnknownFieldSet unknownFields)

public final Checkpoint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Checkpoint.Builder
Overrides