Class NasTrial.Builder

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

    public static final class NasTrial.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<NasTrial.Builder>
    implements NasTrialOrBuilder
     Represents a uCAIP NasJob trial.
     
    Protobuf type google.cloud.aiplatform.v1beta1.NasTrial
    • 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<NasTrial.Builder>
      • clear

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

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

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

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

        public NasTrial.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<NasTrial.Builder>
      • setField

        public NasTrial.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<NasTrial.Builder>
      • clearField

        public NasTrial.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<NasTrial.Builder>
      • clearOneof

        public NasTrial.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<NasTrial.Builder>
      • setRepeatedField

        public NasTrial.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<NasTrial.Builder>
      • addRepeatedField

        public NasTrial.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<NasTrial.Builder>
      • mergeFrom

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

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

        public NasTrial.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<NasTrial.Builder>
        Throws:
        IOException
      • getId

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

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

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

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

        public NasTrial.Builder setIdBytes​(com.google.protobuf.ByteString value)
         Output only. The identifier of the NasTrial assigned by the service.
         
        string id = 1 [(.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 NasTrial.
         
        .google.cloud.aiplatform.v1beta1.NasTrial.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateValue in interface NasTrialOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • setStateValue

        public NasTrial.Builder setStateValue​(int value)
         Output only. The detailed state of the NasTrial.
         
        .google.cloud.aiplatform.v1beta1.NasTrial.State state = 2 [(.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 NasTrial.State getState()
         Output only. The detailed state of the NasTrial.
         
        .google.cloud.aiplatform.v1beta1.NasTrial.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getState in interface NasTrialOrBuilder
        Returns:
        The state.
      • setState

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

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

        public boolean hasFinalMeasurement()
         Output only. The final measurement containing the objective value.
         
        .google.cloud.aiplatform.v1beta1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasFinalMeasurement in interface NasTrialOrBuilder
        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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getFinalMeasurement in interface NasTrialOrBuilder
        Returns:
        The finalMeasurement.
      • setFinalMeasurement

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

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

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

        public NasTrial.Builder clearFinalMeasurement()
         Output only. The final measurement containing the objective value.
         
        .google.cloud.aiplatform.v1beta1.Measurement final_measurement = 3 [(.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 = 3 [(.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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getFinalMeasurementOrBuilder in interface NasTrialOrBuilder
      • hasStartTime

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public final NasTrial.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<NasTrial.Builder>
      • mergeUnknownFields

        public final NasTrial.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<NasTrial.Builder>