Class CheckpointStateProto.CheckpointState.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CheckpointStateProto.CheckpointState.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.GeneratedMessageV3.Builder<CheckpointStateProto.CheckpointState.Builder>
      • getDefaultInstanceForType

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

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

        public CheckpointStateProto.CheckpointState buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

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

        public CheckpointStateProto.CheckpointState.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                               throws java.io.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<CheckpointStateProto.CheckpointState.Builder>
        Throws:
        java.io.IOException
      • setModelCheckpointPath

        public CheckpointStateProto.CheckpointState.Builder setModelCheckpointPath​(java.lang.String value)
         Path to the most-recent model checkpoint.
         
        string model_checkpoint_path = 1;
        Parameters:
        value - The modelCheckpointPath to set.
        Returns:
        This builder for chaining.
      • setModelCheckpointPathBytes

        public CheckpointStateProto.CheckpointState.Builder setModelCheckpointPathBytes​(com.google.protobuf.ByteString value)
         Path to the most-recent model checkpoint.
         
        string model_checkpoint_path = 1;
        Parameters:
        value - The bytes for modelCheckpointPath to set.
        Returns:
        This builder for chaining.
      • getAllModelCheckpointPathsList

        public com.google.protobuf.ProtocolStringList getAllModelCheckpointPathsList()
         Paths to all not-yet-deleted model checkpoints, sorted from oldest to newest.
         Note that the value of model_checkpoint_path should be the last item in this list.
         
        repeated string all_model_checkpoint_paths = 2;
        Specified by:
        getAllModelCheckpointPathsList in interface CheckpointStateProto.CheckpointStateOrBuilder
        Returns:
        A list containing the allModelCheckpointPaths.
      • getAllModelCheckpointPathsCount

        public int getAllModelCheckpointPathsCount()
         Paths to all not-yet-deleted model checkpoints, sorted from oldest to newest.
         Note that the value of model_checkpoint_path should be the last item in this list.
         
        repeated string all_model_checkpoint_paths = 2;
        Specified by:
        getAllModelCheckpointPathsCount in interface CheckpointStateProto.CheckpointStateOrBuilder
        Returns:
        The count of allModelCheckpointPaths.
      • getAllModelCheckpointPaths

        public java.lang.String getAllModelCheckpointPaths​(int index)
         Paths to all not-yet-deleted model checkpoints, sorted from oldest to newest.
         Note that the value of model_checkpoint_path should be the last item in this list.
         
        repeated string all_model_checkpoint_paths = 2;
        Specified by:
        getAllModelCheckpointPaths in interface CheckpointStateProto.CheckpointStateOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The allModelCheckpointPaths at the given index.
      • getAllModelCheckpointPathsBytes

        public com.google.protobuf.ByteString getAllModelCheckpointPathsBytes​(int index)
         Paths to all not-yet-deleted model checkpoints, sorted from oldest to newest.
         Note that the value of model_checkpoint_path should be the last item in this list.
         
        repeated string all_model_checkpoint_paths = 2;
        Specified by:
        getAllModelCheckpointPathsBytes in interface CheckpointStateProto.CheckpointStateOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the allModelCheckpointPaths at the given index.
      • setAllModelCheckpointPaths

        public CheckpointStateProto.CheckpointState.Builder setAllModelCheckpointPaths​(int index,
                                                                                       java.lang.String value)
         Paths to all not-yet-deleted model checkpoints, sorted from oldest to newest.
         Note that the value of model_checkpoint_path should be the last item in this list.
         
        repeated string all_model_checkpoint_paths = 2;
        Parameters:
        index - The index to set the value at.
        value - The allModelCheckpointPaths to set.
        Returns:
        This builder for chaining.
      • addAllModelCheckpointPaths

        public CheckpointStateProto.CheckpointState.Builder addAllModelCheckpointPaths​(java.lang.String value)
         Paths to all not-yet-deleted model checkpoints, sorted from oldest to newest.
         Note that the value of model_checkpoint_path should be the last item in this list.
         
        repeated string all_model_checkpoint_paths = 2;
        Parameters:
        value - The allModelCheckpointPaths to add.
        Returns:
        This builder for chaining.
      • addAllAllModelCheckpointPaths

        public CheckpointStateProto.CheckpointState.Builder addAllAllModelCheckpointPaths​(java.lang.Iterable<java.lang.String> values)
         Paths to all not-yet-deleted model checkpoints, sorted from oldest to newest.
         Note that the value of model_checkpoint_path should be the last item in this list.
         
        repeated string all_model_checkpoint_paths = 2;
        Parameters:
        values - The allModelCheckpointPaths to add.
        Returns:
        This builder for chaining.
      • clearAllModelCheckpointPaths

        public CheckpointStateProto.CheckpointState.Builder clearAllModelCheckpointPaths()
         Paths to all not-yet-deleted model checkpoints, sorted from oldest to newest.
         Note that the value of model_checkpoint_path should be the last item in this list.
         
        repeated string all_model_checkpoint_paths = 2;
        Returns:
        This builder for chaining.
      • addAllModelCheckpointPathsBytes

        public CheckpointStateProto.CheckpointState.Builder addAllModelCheckpointPathsBytes​(com.google.protobuf.ByteString value)
         Paths to all not-yet-deleted model checkpoints, sorted from oldest to newest.
         Note that the value of model_checkpoint_path should be the last item in this list.
         
        repeated string all_model_checkpoint_paths = 2;
        Parameters:
        value - The bytes of the allModelCheckpointPaths to add.
        Returns:
        This builder for chaining.