public static final class ModelVersionCheckpoint.Builder extends GeneratedMessage.Builder<ModelVersionCheckpoint.Builder> implements ModelVersionCheckpointOrBuilderA 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ModelVersionCheckpoint.BuilderImplements
ModelVersionCheckpointOrBuilderStatic 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 |
|
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 |
|
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(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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ModelVersionCheckpoint.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ModelVersionCheckpoint.Builder |
|
setCheckpointId(String value)
public ModelVersionCheckpoint.Builder setCheckpointId(String value)The ID of the checkpoint.
string checkpoint_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe 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 |
longThe 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 |
longThe step to set. |
| Returns | |
|---|---|
| Type | Description |
ModelVersionCheckpoint.Builder |
This builder for chaining. |