Class Trial.Builder

  • All Implemented Interfaces:
    TrialOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Trial

    public static final class Trial.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Trial.Builder>
    implements TrialOrBuilder
     A message representing a Trial. A Trial contains a unique set of Parameters
     that has been or will be evaluated, along with the objective metrics got by
     running the Trial.
     
    Protobuf type google.cloud.aiplatform.v1beta1.Trial
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Trial.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Trial.Builder>
      • internalGetFieldAccessorTable

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

        public Trial.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.GeneratedMessageV3.Builder<Trial.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<Trial.Builder>
      • getDefaultInstanceForType

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

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

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

        public Trial.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Trial.Builder>
      • setField

        public Trial.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                      Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Trial.Builder>
      • clearField

        public Trial.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Trial.Builder>
      • clearOneof

        public Trial.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Trial.Builder>
      • setRepeatedField

        public Trial.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                              int index,
                                              Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Trial.Builder>
      • addRepeatedField

        public Trial.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                              Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Trial.Builder>
      • mergeFrom

        public Trial.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<Trial.Builder>
      • isInitialized

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

        public Trial.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<Trial.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Output only. Resource name of the Trial assigned by the service.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getName in interface TrialOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Output only. Resource name of the Trial assigned by the service.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameBytes in interface TrialOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Trial.Builder setName​(String value)
         Output only. Resource name of the Trial assigned by the service.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Trial.Builder clearName()
         Output only. Resource name of the Trial assigned by the service.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setNameBytes

        public Trial.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Output only. Resource name of the Trial assigned by the service.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getId

        public String getId()
         Output only. The identifier of the Trial assigned by the service.
         
        string id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getId in interface TrialOrBuilder
        Returns:
        The id.
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
         Output only. The identifier of the Trial assigned by the service.
         
        string id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getIdBytes in interface TrialOrBuilder
        Returns:
        The bytes for id.
      • setId

        public Trial.Builder setId​(String value)
         Output only. The identifier of the Trial assigned by the service.
         
        string id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public Trial.Builder clearId()
         Output only. The identifier of the Trial assigned by the service.
         
        string id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setIdBytes

        public Trial.Builder setIdBytes​(com.google.protobuf.ByteString value)
         Output only. The identifier of the Trial assigned by the service.
         
        string id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • getStateValue

        public int getStateValue()
         Output only. The detailed state of the Trial.
         
        .google.cloud.aiplatform.v1beta1.Trial.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateValue in interface TrialOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • setStateValue

        public Trial.Builder setStateValue​(int value)
         Output only. The detailed state of the Trial.
         
        .google.cloud.aiplatform.v1beta1.Trial.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for state to set.
        Returns:
        This builder for chaining.
      • getState

        public Trial.State getState()
         Output only. The detailed state of the Trial.
         
        .google.cloud.aiplatform.v1beta1.Trial.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getState in interface TrialOrBuilder
        Returns:
        The state.
      • setState

        public Trial.Builder setState​(Trial.State value)
         Output only. The detailed state of the Trial.
         
        .google.cloud.aiplatform.v1beta1.Trial.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public Trial.Builder clearState()
         Output only. The detailed state of the Trial.
         
        .google.cloud.aiplatform.v1beta1.Trial.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getParametersList

        public List<Trial.Parameter> getParametersList()
         Output only. The parameters of the Trial.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getParametersList in interface TrialOrBuilder
      • getParametersCount

        public int getParametersCount()
         Output only. The parameters of the Trial.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getParametersCount in interface TrialOrBuilder
      • getParameters

        public Trial.Parameter getParameters​(int index)
         Output only. The parameters of the Trial.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getParameters in interface TrialOrBuilder
      • setParameters

        public Trial.Builder setParameters​(int index,
                                           Trial.Parameter value)
         Output only. The parameters of the Trial.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setParameters

        public Trial.Builder setParameters​(int index,
                                           Trial.Parameter.Builder builderForValue)
         Output only. The parameters of the Trial.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addParameters

        public Trial.Builder addParameters​(Trial.Parameter value)
         Output only. The parameters of the Trial.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addParameters

        public Trial.Builder addParameters​(int index,
                                           Trial.Parameter value)
         Output only. The parameters of the Trial.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addParameters

        public Trial.Builder addParameters​(Trial.Parameter.Builder builderForValue)
         Output only. The parameters of the Trial.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addParameters

        public Trial.Builder addParameters​(int index,
                                           Trial.Parameter.Builder builderForValue)
         Output only. The parameters of the Trial.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addAllParameters

        public Trial.Builder addAllParameters​(Iterable<? extends Trial.Parameter> values)
         Output only. The parameters of the Trial.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearParameters

        public Trial.Builder clearParameters()
         Output only. The parameters of the Trial.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • removeParameters

        public Trial.Builder removeParameters​(int index)
         Output only. The parameters of the Trial.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getParametersBuilder

        public Trial.Parameter.Builder getParametersBuilder​(int index)
         Output only. The parameters of the Trial.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getParametersOrBuilder

        public Trial.ParameterOrBuilder getParametersOrBuilder​(int index)
         Output only. The parameters of the Trial.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getParametersOrBuilder in interface TrialOrBuilder
      • addParametersBuilder

        public Trial.Parameter.Builder addParametersBuilder()
         Output only. The parameters of the Trial.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addParametersBuilder

        public Trial.Parameter.Builder addParametersBuilder​(int index)
         Output only. The parameters of the Trial.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getParametersBuilderList

        public List<Trial.Parameter.Builder> getParametersBuilderList()
         Output only. The parameters of the Trial.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasFinalMeasurement

        public boolean hasFinalMeasurement()
         Output only. The final measurement containing the objective value.
         
        .google.cloud.aiplatform.v1beta1.Measurement final_measurement = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasFinalMeasurement in interface TrialOrBuilder
        Returns:
        Whether the finalMeasurement field is set.
      • getFinalMeasurement

        public Measurement getFinalMeasurement()
         Output only. The final measurement containing the objective value.
         
        .google.cloud.aiplatform.v1beta1.Measurement final_measurement = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getFinalMeasurement in interface TrialOrBuilder
        Returns:
        The finalMeasurement.
      • setFinalMeasurement

        public Trial.Builder setFinalMeasurement​(Measurement value)
         Output only. The final measurement containing the objective value.
         
        .google.cloud.aiplatform.v1beta1.Measurement final_measurement = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setFinalMeasurement

        public Trial.Builder setFinalMeasurement​(Measurement.Builder builderForValue)
         Output only. The final measurement containing the objective value.
         
        .google.cloud.aiplatform.v1beta1.Measurement final_measurement = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeFinalMeasurement

        public Trial.Builder mergeFinalMeasurement​(Measurement value)
         Output only. The final measurement containing the objective value.
         
        .google.cloud.aiplatform.v1beta1.Measurement final_measurement = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearFinalMeasurement

        public Trial.Builder clearFinalMeasurement()
         Output only. The final measurement containing the objective value.
         
        .google.cloud.aiplatform.v1beta1.Measurement final_measurement = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getFinalMeasurementBuilder

        public Measurement.Builder getFinalMeasurementBuilder()
         Output only. The final measurement containing the objective value.
         
        .google.cloud.aiplatform.v1beta1.Measurement final_measurement = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getFinalMeasurementOrBuilder

        public MeasurementOrBuilder getFinalMeasurementOrBuilder()
         Output only. The final measurement containing the objective value.
         
        .google.cloud.aiplatform.v1beta1.Measurement final_measurement = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getFinalMeasurementOrBuilder in interface TrialOrBuilder
      • getMeasurementsList

        public List<Measurement> getMeasurementsList()
         Output only. A list of measurements that are strictly lexicographically
         ordered by their induced tuples (steps, elapsed_duration).
         These are used for early stopping computations.
         
        repeated .google.cloud.aiplatform.v1beta1.Measurement measurements = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getMeasurementsList in interface TrialOrBuilder
      • getMeasurementsCount

        public int getMeasurementsCount()
         Output only. A list of measurements that are strictly lexicographically
         ordered by their induced tuples (steps, elapsed_duration).
         These are used for early stopping computations.
         
        repeated .google.cloud.aiplatform.v1beta1.Measurement measurements = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getMeasurementsCount in interface TrialOrBuilder
      • getMeasurements

        public Measurement getMeasurements​(int index)
         Output only. A list of measurements that are strictly lexicographically
         ordered by their induced tuples (steps, elapsed_duration).
         These are used for early stopping computations.
         
        repeated .google.cloud.aiplatform.v1beta1.Measurement measurements = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getMeasurements in interface TrialOrBuilder
      • setMeasurements

        public Trial.Builder setMeasurements​(int index,
                                             Measurement value)
         Output only. A list of measurements that are strictly lexicographically
         ordered by their induced tuples (steps, elapsed_duration).
         These are used for early stopping computations.
         
        repeated .google.cloud.aiplatform.v1beta1.Measurement measurements = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setMeasurements

        public Trial.Builder setMeasurements​(int index,
                                             Measurement.Builder builderForValue)
         Output only. A list of measurements that are strictly lexicographically
         ordered by their induced tuples (steps, elapsed_duration).
         These are used for early stopping computations.
         
        repeated .google.cloud.aiplatform.v1beta1.Measurement measurements = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addMeasurements

        public Trial.Builder addMeasurements​(Measurement value)
         Output only. A list of measurements that are strictly lexicographically
         ordered by their induced tuples (steps, elapsed_duration).
         These are used for early stopping computations.
         
        repeated .google.cloud.aiplatform.v1beta1.Measurement measurements = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addMeasurements

        public Trial.Builder addMeasurements​(int index,
                                             Measurement value)
         Output only. A list of measurements that are strictly lexicographically
         ordered by their induced tuples (steps, elapsed_duration).
         These are used for early stopping computations.
         
        repeated .google.cloud.aiplatform.v1beta1.Measurement measurements = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addMeasurements

        public Trial.Builder addMeasurements​(Measurement.Builder builderForValue)
         Output only. A list of measurements that are strictly lexicographically
         ordered by their induced tuples (steps, elapsed_duration).
         These are used for early stopping computations.
         
        repeated .google.cloud.aiplatform.v1beta1.Measurement measurements = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addMeasurements

        public Trial.Builder addMeasurements​(int index,
                                             Measurement.Builder builderForValue)
         Output only. A list of measurements that are strictly lexicographically
         ordered by their induced tuples (steps, elapsed_duration).
         These are used for early stopping computations.
         
        repeated .google.cloud.aiplatform.v1beta1.Measurement measurements = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addAllMeasurements

        public Trial.Builder addAllMeasurements​(Iterable<? extends Measurement> values)
         Output only. A list of measurements that are strictly lexicographically
         ordered by their induced tuples (steps, elapsed_duration).
         These are used for early stopping computations.
         
        repeated .google.cloud.aiplatform.v1beta1.Measurement measurements = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearMeasurements

        public Trial.Builder clearMeasurements()
         Output only. A list of measurements that are strictly lexicographically
         ordered by their induced tuples (steps, elapsed_duration).
         These are used for early stopping computations.
         
        repeated .google.cloud.aiplatform.v1beta1.Measurement measurements = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • removeMeasurements

        public Trial.Builder removeMeasurements​(int index)
         Output only. A list of measurements that are strictly lexicographically
         ordered by their induced tuples (steps, elapsed_duration).
         These are used for early stopping computations.
         
        repeated .google.cloud.aiplatform.v1beta1.Measurement measurements = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getMeasurementsBuilder

        public Measurement.Builder getMeasurementsBuilder​(int index)
         Output only. A list of measurements that are strictly lexicographically
         ordered by their induced tuples (steps, elapsed_duration).
         These are used for early stopping computations.
         
        repeated .google.cloud.aiplatform.v1beta1.Measurement measurements = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getMeasurementsOrBuilder

        public MeasurementOrBuilder getMeasurementsOrBuilder​(int index)
         Output only. A list of measurements that are strictly lexicographically
         ordered by their induced tuples (steps, elapsed_duration).
         These are used for early stopping computations.
         
        repeated .google.cloud.aiplatform.v1beta1.Measurement measurements = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getMeasurementsOrBuilder in interface TrialOrBuilder
      • getMeasurementsOrBuilderList

        public List<? extends MeasurementOrBuilder> getMeasurementsOrBuilderList()
         Output only. A list of measurements that are strictly lexicographically
         ordered by their induced tuples (steps, elapsed_duration).
         These are used for early stopping computations.
         
        repeated .google.cloud.aiplatform.v1beta1.Measurement measurements = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getMeasurementsOrBuilderList in interface TrialOrBuilder
      • addMeasurementsBuilder

        public Measurement.Builder addMeasurementsBuilder()
         Output only. A list of measurements that are strictly lexicographically
         ordered by their induced tuples (steps, elapsed_duration).
         These are used for early stopping computations.
         
        repeated .google.cloud.aiplatform.v1beta1.Measurement measurements = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addMeasurementsBuilder

        public Measurement.Builder addMeasurementsBuilder​(int index)
         Output only. A list of measurements that are strictly lexicographically
         ordered by their induced tuples (steps, elapsed_duration).
         These are used for early stopping computations.
         
        repeated .google.cloud.aiplatform.v1beta1.Measurement measurements = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getMeasurementsBuilderList

        public List<Measurement.Builder> getMeasurementsBuilderList()
         Output only. A list of measurements that are strictly lexicographically
         ordered by their induced tuples (steps, elapsed_duration).
         These are used for early stopping computations.
         
        repeated .google.cloud.aiplatform.v1beta1.Measurement measurements = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasStartTime

        public boolean hasStartTime()
         Output only. Time when the Trial was started.
         
        .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasStartTime in interface TrialOrBuilder
        Returns:
        Whether the startTime field is set.
      • getStartTime

        public com.google.protobuf.Timestamp getStartTime()
         Output only. Time when the Trial was started.
         
        .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStartTime in interface TrialOrBuilder
        Returns:
        The startTime.
      • setStartTime

        public Trial.Builder setStartTime​(com.google.protobuf.Timestamp value)
         Output only. Time when the Trial was started.
         
        .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setStartTime

        public Trial.Builder setStartTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. Time when the Trial was started.
         
        .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeStartTime

        public Trial.Builder mergeStartTime​(com.google.protobuf.Timestamp value)
         Output only. Time when the Trial was started.
         
        .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearStartTime

        public Trial.Builder clearStartTime()
         Output only. Time when the Trial was started.
         
        .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getStartTimeBuilder

        public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
         Output only. Time when the Trial was started.
         
        .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getStartTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
         Output only. Time when the Trial was started.
         
        .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStartTimeOrBuilder in interface TrialOrBuilder
      • hasEndTime

        public boolean hasEndTime()
         Output only. Time when the Trial's status changed to `SUCCEEDED` or
         `INFEASIBLE`.
         
        .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasEndTime in interface TrialOrBuilder
        Returns:
        Whether the endTime field is set.
      • getEndTime

        public com.google.protobuf.Timestamp getEndTime()
         Output only. Time when the Trial's status changed to `SUCCEEDED` or
         `INFEASIBLE`.
         
        .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getEndTime in interface TrialOrBuilder
        Returns:
        The endTime.
      • setEndTime

        public Trial.Builder setEndTime​(com.google.protobuf.Timestamp value)
         Output only. Time when the Trial's status changed to `SUCCEEDED` or
         `INFEASIBLE`.
         
        .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setEndTime

        public Trial.Builder setEndTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. Time when the Trial's status changed to `SUCCEEDED` or
         `INFEASIBLE`.
         
        .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeEndTime

        public Trial.Builder mergeEndTime​(com.google.protobuf.Timestamp value)
         Output only. Time when the Trial's status changed to `SUCCEEDED` or
         `INFEASIBLE`.
         
        .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearEndTime

        public Trial.Builder clearEndTime()
         Output only. Time when the Trial's status changed to `SUCCEEDED` or
         `INFEASIBLE`.
         
        .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getEndTimeBuilder

        public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
         Output only. Time when the Trial's status changed to `SUCCEEDED` or
         `INFEASIBLE`.
         
        .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getEndTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
         Output only. Time when the Trial's status changed to `SUCCEEDED` or
         `INFEASIBLE`.
         
        .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getEndTimeOrBuilder in interface TrialOrBuilder
      • getClientId

        public String getClientId()
         Output only. The identifier of the client that originally requested this
         Trial. Each client is identified by a unique client_id. When a client asks
         for a suggestion, Vertex AI Vizier will assign it a Trial. The client
         should evaluate the Trial, complete it, and report back to Vertex AI
         Vizier. If suggestion is asked again by same client_id before the Trial is
         completed, the same Trial will be returned. Multiple clients with
         different client_ids can ask for suggestions simultaneously, each of them
         will get their own Trial.
         
        string client_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getClientId in interface TrialOrBuilder
        Returns:
        The clientId.
      • getClientIdBytes

        public com.google.protobuf.ByteString getClientIdBytes()
         Output only. The identifier of the client that originally requested this
         Trial. Each client is identified by a unique client_id. When a client asks
         for a suggestion, Vertex AI Vizier will assign it a Trial. The client
         should evaluate the Trial, complete it, and report back to Vertex AI
         Vizier. If suggestion is asked again by same client_id before the Trial is
         completed, the same Trial will be returned. Multiple clients with
         different client_ids can ask for suggestions simultaneously, each of them
         will get their own Trial.
         
        string client_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getClientIdBytes in interface TrialOrBuilder
        Returns:
        The bytes for clientId.
      • setClientId

        public Trial.Builder setClientId​(String value)
         Output only. The identifier of the client that originally requested this
         Trial. Each client is identified by a unique client_id. When a client asks
         for a suggestion, Vertex AI Vizier will assign it a Trial. The client
         should evaluate the Trial, complete it, and report back to Vertex AI
         Vizier. If suggestion is asked again by same client_id before the Trial is
         completed, the same Trial will be returned. Multiple clients with
         different client_ids can ask for suggestions simultaneously, each of them
         will get their own Trial.
         
        string client_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The clientId to set.
        Returns:
        This builder for chaining.
      • clearClientId

        public Trial.Builder clearClientId()
         Output only. The identifier of the client that originally requested this
         Trial. Each client is identified by a unique client_id. When a client asks
         for a suggestion, Vertex AI Vizier will assign it a Trial. The client
         should evaluate the Trial, complete it, and report back to Vertex AI
         Vizier. If suggestion is asked again by same client_id before the Trial is
         completed, the same Trial will be returned. Multiple clients with
         different client_ids can ask for suggestions simultaneously, each of them
         will get their own Trial.
         
        string client_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setClientIdBytes

        public Trial.Builder setClientIdBytes​(com.google.protobuf.ByteString value)
         Output only. The identifier of the client that originally requested this
         Trial. Each client is identified by a unique client_id. When a client asks
         for a suggestion, Vertex AI Vizier will assign it a Trial. The client
         should evaluate the Trial, complete it, and report back to Vertex AI
         Vizier. If suggestion is asked again by same client_id before the Trial is
         completed, the same Trial will be returned. Multiple clients with
         different client_ids can ask for suggestions simultaneously, each of them
         will get their own Trial.
         
        string client_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for clientId to set.
        Returns:
        This builder for chaining.
      • getInfeasibleReason

        public String getInfeasibleReason()
         Output only. A human readable string describing why the Trial is
         infeasible. This is set only if Trial state is `INFEASIBLE`.
         
        string infeasible_reason = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getInfeasibleReason in interface TrialOrBuilder
        Returns:
        The infeasibleReason.
      • getInfeasibleReasonBytes

        public com.google.protobuf.ByteString getInfeasibleReasonBytes()
         Output only. A human readable string describing why the Trial is
         infeasible. This is set only if Trial state is `INFEASIBLE`.
         
        string infeasible_reason = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getInfeasibleReasonBytes in interface TrialOrBuilder
        Returns:
        The bytes for infeasibleReason.
      • setInfeasibleReason

        public Trial.Builder setInfeasibleReason​(String value)
         Output only. A human readable string describing why the Trial is
         infeasible. This is set only if Trial state is `INFEASIBLE`.
         
        string infeasible_reason = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The infeasibleReason to set.
        Returns:
        This builder for chaining.
      • clearInfeasibleReason

        public Trial.Builder clearInfeasibleReason()
         Output only. A human readable string describing why the Trial is
         infeasible. This is set only if Trial state is `INFEASIBLE`.
         
        string infeasible_reason = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setInfeasibleReasonBytes

        public Trial.Builder setInfeasibleReasonBytes​(com.google.protobuf.ByteString value)
         Output only. A human readable string describing why the Trial is
         infeasible. This is set only if Trial state is `INFEASIBLE`.
         
        string infeasible_reason = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for infeasibleReason to set.
        Returns:
        This builder for chaining.
      • getCustomJob

        public String getCustomJob()
         Output only. The CustomJob name linked to the Trial.
         It's set for a HyperparameterTuningJob's Trial.
         
        string custom_job = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getCustomJob in interface TrialOrBuilder
        Returns:
        The customJob.
      • getCustomJobBytes

        public com.google.protobuf.ByteString getCustomJobBytes()
         Output only. The CustomJob name linked to the Trial.
         It's set for a HyperparameterTuningJob's Trial.
         
        string custom_job = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getCustomJobBytes in interface TrialOrBuilder
        Returns:
        The bytes for customJob.
      • setCustomJob

        public Trial.Builder setCustomJob​(String value)
         Output only. The CustomJob name linked to the Trial.
         It's set for a HyperparameterTuningJob's Trial.
         
        string custom_job = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The customJob to set.
        Returns:
        This builder for chaining.
      • clearCustomJob

        public Trial.Builder clearCustomJob()
         Output only. The CustomJob name linked to the Trial.
         It's set for a HyperparameterTuningJob's Trial.
         
        string custom_job = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setCustomJobBytes

        public Trial.Builder setCustomJobBytes​(com.google.protobuf.ByteString value)
         Output only. The CustomJob name linked to the Trial.
         It's set for a HyperparameterTuningJob's Trial.
         
        string custom_job = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for customJob to set.
        Returns:
        This builder for chaining.
      • getWebAccessUrisCount

        public int getWebAccessUrisCount()
        Description copied from interface: TrialOrBuilder
         Output only. URIs for accessing [interactive
         shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell)
         (one URI for each training node). Only available if this trial is part of
         a
         [HyperparameterTuningJob][google.cloud.aiplatform.v1beta1.HyperparameterTuningJob]
         and the job's
         [trial_job_spec.enable_web_access][google.cloud.aiplatform.v1beta1.CustomJobSpec.enable_web_access]
         field is `true`.
        
         The keys are names of each node used for the trial; for example,
         `workerpool0-0` for the primary node, `workerpool1-0` for the first node in
         the second worker pool, and `workerpool1-1` for the second node in the
         second worker pool.
        
         The values are the URIs for each node's interactive shell.
         
        map<string, string> web_access_uris = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getWebAccessUrisCount in interface TrialOrBuilder
      • containsWebAccessUris

        public boolean containsWebAccessUris​(String key)
         Output only. URIs for accessing [interactive
         shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell)
         (one URI for each training node). Only available if this trial is part of
         a
         [HyperparameterTuningJob][google.cloud.aiplatform.v1beta1.HyperparameterTuningJob]
         and the job's
         [trial_job_spec.enable_web_access][google.cloud.aiplatform.v1beta1.CustomJobSpec.enable_web_access]
         field is `true`.
        
         The keys are names of each node used for the trial; for example,
         `workerpool0-0` for the primary node, `workerpool1-0` for the first node in
         the second worker pool, and `workerpool1-1` for the second node in the
         second worker pool.
        
         The values are the URIs for each node's interactive shell.
         
        map<string, string> web_access_uris = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        containsWebAccessUris in interface TrialOrBuilder
      • getWebAccessUrisMap

        public Map<String,​String> getWebAccessUrisMap()
         Output only. URIs for accessing [interactive
         shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell)
         (one URI for each training node). Only available if this trial is part of
         a
         [HyperparameterTuningJob][google.cloud.aiplatform.v1beta1.HyperparameterTuningJob]
         and the job's
         [trial_job_spec.enable_web_access][google.cloud.aiplatform.v1beta1.CustomJobSpec.enable_web_access]
         field is `true`.
        
         The keys are names of each node used for the trial; for example,
         `workerpool0-0` for the primary node, `workerpool1-0` for the first node in
         the second worker pool, and `workerpool1-1` for the second node in the
         second worker pool.
        
         The values are the URIs for each node's interactive shell.
         
        map<string, string> web_access_uris = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getWebAccessUrisMap in interface TrialOrBuilder
      • getWebAccessUrisOrDefault

        public String getWebAccessUrisOrDefault​(String key,
                                                String defaultValue)
         Output only. URIs for accessing [interactive
         shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell)
         (one URI for each training node). Only available if this trial is part of
         a
         [HyperparameterTuningJob][google.cloud.aiplatform.v1beta1.HyperparameterTuningJob]
         and the job's
         [trial_job_spec.enable_web_access][google.cloud.aiplatform.v1beta1.CustomJobSpec.enable_web_access]
         field is `true`.
        
         The keys are names of each node used for the trial; for example,
         `workerpool0-0` for the primary node, `workerpool1-0` for the first node in
         the second worker pool, and `workerpool1-1` for the second node in the
         second worker pool.
        
         The values are the URIs for each node's interactive shell.
         
        map<string, string> web_access_uris = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getWebAccessUrisOrDefault in interface TrialOrBuilder
      • getWebAccessUrisOrThrow

        public String getWebAccessUrisOrThrow​(String key)
         Output only. URIs for accessing [interactive
         shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell)
         (one URI for each training node). Only available if this trial is part of
         a
         [HyperparameterTuningJob][google.cloud.aiplatform.v1beta1.HyperparameterTuningJob]
         and the job's
         [trial_job_spec.enable_web_access][google.cloud.aiplatform.v1beta1.CustomJobSpec.enable_web_access]
         field is `true`.
        
         The keys are names of each node used for the trial; for example,
         `workerpool0-0` for the primary node, `workerpool1-0` for the first node in
         the second worker pool, and `workerpool1-1` for the second node in the
         second worker pool.
        
         The values are the URIs for each node's interactive shell.
         
        map<string, string> web_access_uris = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getWebAccessUrisOrThrow in interface TrialOrBuilder
      • removeWebAccessUris

        public Trial.Builder removeWebAccessUris​(String key)
         Output only. URIs for accessing [interactive
         shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell)
         (one URI for each training node). Only available if this trial is part of
         a
         [HyperparameterTuningJob][google.cloud.aiplatform.v1beta1.HyperparameterTuningJob]
         and the job's
         [trial_job_spec.enable_web_access][google.cloud.aiplatform.v1beta1.CustomJobSpec.enable_web_access]
         field is `true`.
        
         The keys are names of each node used for the trial; for example,
         `workerpool0-0` for the primary node, `workerpool1-0` for the first node in
         the second worker pool, and `workerpool1-1` for the second node in the
         second worker pool.
        
         The values are the URIs for each node's interactive shell.
         
        map<string, string> web_access_uris = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getMutableWebAccessUris

        @Deprecated
        public Map<String,​String> getMutableWebAccessUris()
        Deprecated.
        Use alternate mutation accessors instead.
      • putWebAccessUris

        public Trial.Builder putWebAccessUris​(String key,
                                              String value)
         Output only. URIs for accessing [interactive
         shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell)
         (one URI for each training node). Only available if this trial is part of
         a
         [HyperparameterTuningJob][google.cloud.aiplatform.v1beta1.HyperparameterTuningJob]
         and the job's
         [trial_job_spec.enable_web_access][google.cloud.aiplatform.v1beta1.CustomJobSpec.enable_web_access]
         field is `true`.
        
         The keys are names of each node used for the trial; for example,
         `workerpool0-0` for the primary node, `workerpool1-0` for the first node in
         the second worker pool, and `workerpool1-1` for the second node in the
         second worker pool.
        
         The values are the URIs for each node's interactive shell.
         
        map<string, string> web_access_uris = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • putAllWebAccessUris

        public Trial.Builder putAllWebAccessUris​(Map<String,​String> values)
         Output only. URIs for accessing [interactive
         shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell)
         (one URI for each training node). Only available if this trial is part of
         a
         [HyperparameterTuningJob][google.cloud.aiplatform.v1beta1.HyperparameterTuningJob]
         and the job's
         [trial_job_spec.enable_web_access][google.cloud.aiplatform.v1beta1.CustomJobSpec.enable_web_access]
         field is `true`.
        
         The keys are names of each node used for the trial; for example,
         `workerpool0-0` for the primary node, `workerpool1-0` for the first node in
         the second worker pool, and `workerpool1-1` for the second node in the
         second worker pool.
        
         The values are the URIs for each node's interactive shell.
         
        map<string, string> web_access_uris = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUnknownFields

        public final Trial.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Trial.Builder>
      • mergeUnknownFields

        public final Trial.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Trial.Builder>