Class Checkpoint.Builder (3.77.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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public Checkpoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Checkpoint build()
public Checkpoint buildPartial()
public Checkpoint.Builder clear()
Overrides
public Checkpoint.Builder clearCheckpointId()
The ID of the checkpoint.
string checkpoint_id = 1;
public Checkpoint.Builder clearEpoch()
The epoch of the checkpoint.
int64 epoch = 2;
public Checkpoint.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public Checkpoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public Checkpoint.Builder clearStep()
The step of the checkpoint.
int64 step = 3;
public Checkpoint.Builder clone()
Overrides
public String getCheckpointId()
The ID of the checkpoint.
string checkpoint_id = 1;
Returns |
Type |
Description |
String |
The checkpointId.
|
public ByteString getCheckpointIdBytes()
The ID of the checkpoint.
string checkpoint_id = 1;
Returns |
Type |
Description |
ByteString |
The bytes for checkpointId.
|
public Checkpoint getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
The epoch of the checkpoint.
int64 epoch = 2;
Returns |
Type |
Description |
long |
The epoch.
|
The step of the checkpoint.
int64 step = 3;
Returns |
Type |
Description |
long |
The step.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Checkpoint.Builder mergeFrom(Checkpoint other)
public Checkpoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public Checkpoint.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final Checkpoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public Checkpoint.Builder setCheckpointId(String value)
The ID of the checkpoint.
string checkpoint_id = 1;
Parameter |
Name |
Description |
value |
String
The checkpointId to set.
|
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.
|
public Checkpoint.Builder setEpoch(long value)
The epoch of the checkpoint.
int64 epoch = 2;
Parameter |
Name |
Description |
value |
long
The epoch to set.
|
public Checkpoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Checkpoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public Checkpoint.Builder setStep(long value)
The step of the checkpoint.
int64 step = 3;
Parameter |
Name |
Description |
value |
long
The step to set.
|
public final Checkpoint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]