Class ListTrialsResponse.Builder

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

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

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

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

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

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

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

      public List<Trial> getTrialsList()
       The Trials associated with the Study.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
      Specified by:
      getTrialsList in interface ListTrialsResponseOrBuilder
    • getTrialsCount

      public int getTrialsCount()
       The Trials associated with the Study.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
      Specified by:
      getTrialsCount in interface ListTrialsResponseOrBuilder
    • getTrials

      public Trial getTrials(int index)
       The Trials associated with the Study.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
      Specified by:
      getTrials in interface ListTrialsResponseOrBuilder
    • setTrials

      public ListTrialsResponse.Builder setTrials(int index, Trial value)
       The Trials associated with the Study.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
    • setTrials

      public ListTrialsResponse.Builder setTrials(int index, Trial.Builder builderForValue)
       The Trials associated with the Study.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
    • addTrials

      public ListTrialsResponse.Builder addTrials(Trial value)
       The Trials associated with the Study.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
    • addTrials

      public ListTrialsResponse.Builder addTrials(int index, Trial value)
       The Trials associated with the Study.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
    • addTrials

      public ListTrialsResponse.Builder addTrials(Trial.Builder builderForValue)
       The Trials associated with the Study.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
    • addTrials

      public ListTrialsResponse.Builder addTrials(int index, Trial.Builder builderForValue)
       The Trials associated with the Study.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
    • addAllTrials

      public ListTrialsResponse.Builder addAllTrials(Iterable<? extends Trial> values)
       The Trials associated with the Study.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
    • clearTrials

      public ListTrialsResponse.Builder clearTrials()
       The Trials associated with the Study.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
    • removeTrials

      public ListTrialsResponse.Builder removeTrials(int index)
       The Trials associated with the Study.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
    • getTrialsBuilder

      public Trial.Builder getTrialsBuilder(int index)
       The Trials associated with the Study.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
    • getTrialsOrBuilder

      public TrialOrBuilder getTrialsOrBuilder(int index)
       The Trials associated with the Study.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
      Specified by:
      getTrialsOrBuilder in interface ListTrialsResponseOrBuilder
    • getTrialsOrBuilderList

      public List<? extends TrialOrBuilder> getTrialsOrBuilderList()
       The Trials associated with the Study.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
      Specified by:
      getTrialsOrBuilderList in interface ListTrialsResponseOrBuilder
    • addTrialsBuilder

      public Trial.Builder addTrialsBuilder()
       The Trials associated with the Study.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
    • addTrialsBuilder

      public Trial.Builder addTrialsBuilder(int index)
       The Trials associated with the Study.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
    • getTrialsBuilderList

      public List<Trial.Builder> getTrialsBuilderList()
       The Trials associated with the Study.
       
      repeated .google.cloud.aiplatform.v1.Trial trials = 1;
    • getNextPageToken

      public String getNextPageToken()
       Pass this token as the `page_token` field of the request for a
       subsequent call.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListTrialsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       Pass this token as the `page_token` field of the request for a
       subsequent call.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListTrialsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListTrialsResponse.Builder setNextPageToken(String value)
       Pass this token as the `page_token` field of the request for a
       subsequent call.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListTrialsResponse.Builder clearNextPageToken()
       Pass this token as the `page_token` field of the request for a
       subsequent call.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListTrialsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       Pass this token as the `page_token` field of the request for a
       subsequent call.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.