public static final class Checkpoint.Builder extends GeneratedMessage.Builder<Checkpoint.Builder> implements CheckpointOrBuilderDescribes the machine learning model version checkpoint.
Protobuf type google.cloud.aiplatform.v1.Checkpoint
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Checkpoint.BuilderImplements
CheckpointOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Checkpoint.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Checkpoint.Builder |
|
setCheckpointId(String value)
public Checkpoint.Builder setCheckpointId(String value)The ID of the checkpoint.
string checkpoint_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe 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 |
longThe 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 |
longThe step to set. |
| Returns | |
|---|---|
| Type | Description |
Checkpoint.Builder |
This builder for chaining. |