Class SuggestTrialsResponse.Builder

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

public static final class SuggestTrialsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<SuggestTrialsResponse.Builder> implements SuggestTrialsResponseOrBuilder
 Response message for
 [VizierService.SuggestTrials][google.cloud.aiplatform.v1.VizierService.SuggestTrials].
 
Protobuf type google.cloud.aiplatform.v1.SuggestTrialsResponse
  • 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<SuggestTrialsResponse.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<SuggestTrialsResponse.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<SuggestTrialsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

    • isInitialized

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

      public SuggestTrialsResponse.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<SuggestTrialsResponse.Builder>
      Throws:
      IOException
    • getTrialsList

      public List<Trial> getTrialsList()
       A list of Trials.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
      Specified by:
      getTrialsList in interface SuggestTrialsResponseOrBuilder
    • getTrialsCount

      public int getTrialsCount()
       A list of Trials.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
      Specified by:
      getTrialsCount in interface SuggestTrialsResponseOrBuilder
    • getTrials

      public Trial getTrials(int index)
       A list of Trials.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
      Specified by:
      getTrials in interface SuggestTrialsResponseOrBuilder
    • setTrials

      public SuggestTrialsResponse.Builder setTrials(int index, Trial value)
       A list of Trials.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
    • setTrials

      public SuggestTrialsResponse.Builder setTrials(int index, Trial.Builder builderForValue)
       A list of Trials.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
    • addTrials

      public SuggestTrialsResponse.Builder addTrials(Trial value)
       A list of Trials.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
    • addTrials

      public SuggestTrialsResponse.Builder addTrials(int index, Trial value)
       A list of Trials.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
    • addTrials

      public SuggestTrialsResponse.Builder addTrials(Trial.Builder builderForValue)
       A list of Trials.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
    • addTrials

      public SuggestTrialsResponse.Builder addTrials(int index, Trial.Builder builderForValue)
       A list of Trials.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
    • addAllTrials

      public SuggestTrialsResponse.Builder addAllTrials(Iterable<? extends Trial> values)
       A list of Trials.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
    • clearTrials

      public SuggestTrialsResponse.Builder clearTrials()
       A list of Trials.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
    • removeTrials

      public SuggestTrialsResponse.Builder removeTrials(int index)
       A list of Trials.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
    • getTrialsBuilder

      public Trial.Builder getTrialsBuilder(int index)
       A list of Trials.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
    • getTrialsOrBuilder

      public TrialOrBuilder getTrialsOrBuilder(int index)
       A list of Trials.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
      Specified by:
      getTrialsOrBuilder in interface SuggestTrialsResponseOrBuilder
    • getTrialsOrBuilderList

      public List<? extends TrialOrBuilder> getTrialsOrBuilderList()
       A list of Trials.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
      Specified by:
      getTrialsOrBuilderList in interface SuggestTrialsResponseOrBuilder
    • addTrialsBuilder

      public Trial.Builder addTrialsBuilder()
       A list of Trials.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
    • addTrialsBuilder

      public Trial.Builder addTrialsBuilder(int index)
       A list of Trials.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
    • getTrialsBuilderList

      public List<Trial.Builder> getTrialsBuilderList()
       A list of Trials.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
    • getStudyStateValue

      public int getStudyStateValue()
       The state of the Study.
       
      .google.cloud.aiplatform.v1.Study.State study_state = 2;
      Specified by:
      getStudyStateValue in interface SuggestTrialsResponseOrBuilder
      Returns:
      The enum numeric value on the wire for studyState.
    • setStudyStateValue

      public SuggestTrialsResponse.Builder setStudyStateValue(int value)
       The state of the Study.
       
      .google.cloud.aiplatform.v1.Study.State study_state = 2;
      Parameters:
      value - The enum numeric value on the wire for studyState to set.
      Returns:
      This builder for chaining.
    • getStudyState

      public Study.State getStudyState()
       The state of the Study.
       
      .google.cloud.aiplatform.v1.Study.State study_state = 2;
      Specified by:
      getStudyState in interface SuggestTrialsResponseOrBuilder
      Returns:
      The studyState.
    • setStudyState

      public SuggestTrialsResponse.Builder setStudyState(Study.State value)
       The state of the Study.
       
      .google.cloud.aiplatform.v1.Study.State study_state = 2;
      Parameters:
      value - The studyState to set.
      Returns:
      This builder for chaining.
    • clearStudyState

      public SuggestTrialsResponse.Builder clearStudyState()
       The state of the Study.
       
      .google.cloud.aiplatform.v1.Study.State study_state = 2;
      Returns:
      This builder for chaining.
    • hasStartTime

      public boolean hasStartTime()
       The time at which the operation was started.
       
      .google.protobuf.Timestamp start_time = 3;
      Specified by:
      hasStartTime in interface SuggestTrialsResponseOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public com.google.protobuf.Timestamp getStartTime()
       The time at which the operation was started.
       
      .google.protobuf.Timestamp start_time = 3;
      Specified by:
      getStartTime in interface SuggestTrialsResponseOrBuilder
      Returns:
      The startTime.
    • setStartTime

      public SuggestTrialsResponse.Builder setStartTime(com.google.protobuf.Timestamp value)
       The time at which the operation was started.
       
      .google.protobuf.Timestamp start_time = 3;
    • setStartTime

      public SuggestTrialsResponse.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The time at which the operation was started.
       
      .google.protobuf.Timestamp start_time = 3;
    • mergeStartTime

      public SuggestTrialsResponse.Builder mergeStartTime(com.google.protobuf.Timestamp value)
       The time at which the operation was started.
       
      .google.protobuf.Timestamp start_time = 3;
    • clearStartTime

      public SuggestTrialsResponse.Builder clearStartTime()
       The time at which the operation was started.
       
      .google.protobuf.Timestamp start_time = 3;
    • getStartTimeBuilder

      public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
       The time at which the operation was started.
       
      .google.protobuf.Timestamp start_time = 3;
    • getStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       The time at which the operation was started.
       
      .google.protobuf.Timestamp start_time = 3;
      Specified by:
      getStartTimeOrBuilder in interface SuggestTrialsResponseOrBuilder
    • hasEndTime

      public boolean hasEndTime()
       The time at which operation processing completed.
       
      .google.protobuf.Timestamp end_time = 4;
      Specified by:
      hasEndTime in interface SuggestTrialsResponseOrBuilder
      Returns:
      Whether the endTime field is set.
    • getEndTime

      public com.google.protobuf.Timestamp getEndTime()
       The time at which operation processing completed.
       
      .google.protobuf.Timestamp end_time = 4;
      Specified by:
      getEndTime in interface SuggestTrialsResponseOrBuilder
      Returns:
      The endTime.
    • setEndTime

      public SuggestTrialsResponse.Builder setEndTime(com.google.protobuf.Timestamp value)
       The time at which operation processing completed.
       
      .google.protobuf.Timestamp end_time = 4;
    • setEndTime

      public SuggestTrialsResponse.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The time at which operation processing completed.
       
      .google.protobuf.Timestamp end_time = 4;
    • mergeEndTime

      public SuggestTrialsResponse.Builder mergeEndTime(com.google.protobuf.Timestamp value)
       The time at which operation processing completed.
       
      .google.protobuf.Timestamp end_time = 4;
    • clearEndTime

      public SuggestTrialsResponse.Builder clearEndTime()
       The time at which operation processing completed.
       
      .google.protobuf.Timestamp end_time = 4;
    • getEndTimeBuilder

      public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
       The time at which operation processing completed.
       
      .google.protobuf.Timestamp end_time = 4;
    • getEndTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
       The time at which operation processing completed.
       
      .google.protobuf.Timestamp end_time = 4;
      Specified by:
      getEndTimeOrBuilder in interface SuggestTrialsResponseOrBuilder