Class Checkpoint.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Checkpoint.Builder>
com.google.cloud.aiplatform.v1.Checkpoint.Builder
All Implemented Interfaces:
CheckpointOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Checkpoint

public static final class Checkpoint.Builder extends com.google.protobuf.GeneratedMessage.Builder<Checkpoint.Builder> implements CheckpointOrBuilder
 Describes the machine learning model version checkpoint.
 
Protobuf type google.cloud.aiplatform.v1.Checkpoint
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    The ID of the checkpoint.
    The epoch of the checkpoint.
    The step of the checkpoint.
    The ID of the checkpoint.
    com.google.protobuf.ByteString
    The ID of the checkpoint.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    long
    The epoch of the checkpoint.
    long
    The step of the checkpoint.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    The ID of the checkpoint.
    setCheckpointIdBytes(com.google.protobuf.ByteString value)
    The ID of the checkpoint.
    setEpoch(long value)
    The epoch of the checkpoint.
    setStep(long value)
    The step of the checkpoint.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Checkpoint.Builder>
    • clear

      public Checkpoint.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Checkpoint.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Checkpoint.Builder>
    • getDefaultInstanceForType

      public Checkpoint getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Checkpoint build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Checkpoint buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Checkpoint.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Checkpoint.Builder>
    • mergeFrom

      public Checkpoint.Builder mergeFrom(Checkpoint other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Checkpoint.Builder>
    • mergeFrom

      public Checkpoint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Checkpoint.Builder>
      Throws:
      IOException
    • getCheckpointId

      public String getCheckpointId()
       The ID of the checkpoint.
       
      string checkpoint_id = 1;
      Specified by:
      getCheckpointId in interface CheckpointOrBuilder
      Returns:
      The checkpointId.
    • getCheckpointIdBytes

      public com.google.protobuf.ByteString getCheckpointIdBytes()
       The ID of the checkpoint.
       
      string checkpoint_id = 1;
      Specified by:
      getCheckpointIdBytes in interface CheckpointOrBuilder
      Returns:
      The bytes for checkpointId.
    • setCheckpointId

      public Checkpoint.Builder setCheckpointId(String value)
       The ID of the checkpoint.
       
      string checkpoint_id = 1;
      Parameters:
      value - The checkpointId to set.
      Returns:
      This builder for chaining.
    • clearCheckpointId

      public Checkpoint.Builder clearCheckpointId()
       The ID of the checkpoint.
       
      string checkpoint_id = 1;
      Returns:
      This builder for chaining.
    • setCheckpointIdBytes

      public Checkpoint.Builder setCheckpointIdBytes(com.google.protobuf.ByteString value)
       The ID of the checkpoint.
       
      string checkpoint_id = 1;
      Parameters:
      value - The bytes for checkpointId to set.
      Returns:
      This builder for chaining.
    • getEpoch

      public long getEpoch()
       The epoch of the checkpoint.
       
      int64 epoch = 2;
      Specified by:
      getEpoch in interface CheckpointOrBuilder
      Returns:
      The epoch.
    • setEpoch

      public Checkpoint.Builder setEpoch(long value)
       The epoch of the checkpoint.
       
      int64 epoch = 2;
      Parameters:
      value - The epoch to set.
      Returns:
      This builder for chaining.
    • clearEpoch

      public Checkpoint.Builder clearEpoch()
       The epoch of the checkpoint.
       
      int64 epoch = 2;
      Returns:
      This builder for chaining.
    • getStep

      public long getStep()
       The step of the checkpoint.
       
      int64 step = 3;
      Specified by:
      getStep in interface CheckpointOrBuilder
      Returns:
      The step.
    • setStep

      public Checkpoint.Builder setStep(long value)
       The step of the checkpoint.
       
      int64 step = 3;
      Parameters:
      value - The step to set.
      Returns:
      This builder for chaining.
    • clearStep

      public Checkpoint.Builder clearStep()
       The step of the checkpoint.
       
      int64 step = 3;
      Returns:
      This builder for chaining.