Class ListEvaluationsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListEvaluationsResponse.Builder>
com.google.cloud.discoveryengine.v1beta.ListEvaluationsResponse.Builder
All Implemented Interfaces:
ListEvaluationsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListEvaluationsResponse

public static final class ListEvaluationsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListEvaluationsResponse.Builder> implements ListEvaluationsResponseOrBuilder
 Response message for
 [EvaluationService.ListEvaluations][google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluations]
 method.
 
Protobuf type google.cloud.discoveryengine.v1beta.ListEvaluationsResponse
  • 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<ListEvaluationsResponse.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<ListEvaluationsResponse.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<ListEvaluationsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListEvaluationsResponse.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<ListEvaluationsResponse.Builder>
      Throws:
      IOException
    • getEvaluationsList

      public List<Evaluation> getEvaluationsList()
       The [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation]s.
       
      repeated .google.cloud.discoveryengine.v1beta.Evaluation evaluations = 1;
      Specified by:
      getEvaluationsList in interface ListEvaluationsResponseOrBuilder
    • getEvaluationsCount

      public int getEvaluationsCount()
       The [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation]s.
       
      repeated .google.cloud.discoveryengine.v1beta.Evaluation evaluations = 1;
      Specified by:
      getEvaluationsCount in interface ListEvaluationsResponseOrBuilder
    • getEvaluations

      public Evaluation getEvaluations(int index)
       The [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation]s.
       
      repeated .google.cloud.discoveryengine.v1beta.Evaluation evaluations = 1;
      Specified by:
      getEvaluations in interface ListEvaluationsResponseOrBuilder
    • setEvaluations

      public ListEvaluationsResponse.Builder setEvaluations(int index, Evaluation value)
       The [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation]s.
       
      repeated .google.cloud.discoveryengine.v1beta.Evaluation evaluations = 1;
    • setEvaluations

      public ListEvaluationsResponse.Builder setEvaluations(int index, Evaluation.Builder builderForValue)
       The [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation]s.
       
      repeated .google.cloud.discoveryengine.v1beta.Evaluation evaluations = 1;
    • addEvaluations

      public ListEvaluationsResponse.Builder addEvaluations(Evaluation value)
       The [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation]s.
       
      repeated .google.cloud.discoveryengine.v1beta.Evaluation evaluations = 1;
    • addEvaluations

      public ListEvaluationsResponse.Builder addEvaluations(int index, Evaluation value)
       The [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation]s.
       
      repeated .google.cloud.discoveryengine.v1beta.Evaluation evaluations = 1;
    • addEvaluations

      public ListEvaluationsResponse.Builder addEvaluations(Evaluation.Builder builderForValue)
       The [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation]s.
       
      repeated .google.cloud.discoveryengine.v1beta.Evaluation evaluations = 1;
    • addEvaluations

      public ListEvaluationsResponse.Builder addEvaluations(int index, Evaluation.Builder builderForValue)
       The [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation]s.
       
      repeated .google.cloud.discoveryengine.v1beta.Evaluation evaluations = 1;
    • addAllEvaluations

      public ListEvaluationsResponse.Builder addAllEvaluations(Iterable<? extends Evaluation> values)
       The [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation]s.
       
      repeated .google.cloud.discoveryengine.v1beta.Evaluation evaluations = 1;
    • clearEvaluations

      public ListEvaluationsResponse.Builder clearEvaluations()
       The [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation]s.
       
      repeated .google.cloud.discoveryengine.v1beta.Evaluation evaluations = 1;
    • removeEvaluations

      public ListEvaluationsResponse.Builder removeEvaluations(int index)
       The [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation]s.
       
      repeated .google.cloud.discoveryengine.v1beta.Evaluation evaluations = 1;
    • getEvaluationsBuilder

      public Evaluation.Builder getEvaluationsBuilder(int index)
       The [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation]s.
       
      repeated .google.cloud.discoveryengine.v1beta.Evaluation evaluations = 1;
    • getEvaluationsOrBuilder

      public EvaluationOrBuilder getEvaluationsOrBuilder(int index)
       The [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation]s.
       
      repeated .google.cloud.discoveryengine.v1beta.Evaluation evaluations = 1;
      Specified by:
      getEvaluationsOrBuilder in interface ListEvaluationsResponseOrBuilder
    • getEvaluationsOrBuilderList

      public List<? extends EvaluationOrBuilder> getEvaluationsOrBuilderList()
       The [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation]s.
       
      repeated .google.cloud.discoveryengine.v1beta.Evaluation evaluations = 1;
      Specified by:
      getEvaluationsOrBuilderList in interface ListEvaluationsResponseOrBuilder
    • addEvaluationsBuilder

      public Evaluation.Builder addEvaluationsBuilder()
       The [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation]s.
       
      repeated .google.cloud.discoveryengine.v1beta.Evaluation evaluations = 1;
    • addEvaluationsBuilder

      public Evaluation.Builder addEvaluationsBuilder(int index)
       The [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation]s.
       
      repeated .google.cloud.discoveryengine.v1beta.Evaluation evaluations = 1;
    • getEvaluationsBuilderList

      public List<Evaluation.Builder> getEvaluationsBuilderList()
       The [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation]s.
       
      repeated .google.cloud.discoveryengine.v1beta.Evaluation evaluations = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token that can be sent as
       [ListEvaluationsRequest.page_token][google.cloud.discoveryengine.v1beta.ListEvaluationsRequest.page_token]
       to retrieve the next page. If this field is omitted, there are no
       subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListEvaluationsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token that can be sent as
       [ListEvaluationsRequest.page_token][google.cloud.discoveryengine.v1beta.ListEvaluationsRequest.page_token]
       to retrieve the next page. If this field is omitted, there are no
       subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListEvaluationsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListEvaluationsResponse.Builder setNextPageToken(String value)
       A token that can be sent as
       [ListEvaluationsRequest.page_token][google.cloud.discoveryengine.v1beta.ListEvaluationsRequest.page_token]
       to retrieve the next page. 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 ListEvaluationsResponse.Builder clearNextPageToken()
       A token that can be sent as
       [ListEvaluationsRequest.page_token][google.cloud.discoveryengine.v1beta.ListEvaluationsRequest.page_token]
       to retrieve the next page. If this field is omitted, there are no
       subsequent pages.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListEvaluationsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token that can be sent as
       [ListEvaluationsRequest.page_token][google.cloud.discoveryengine.v1beta.ListEvaluationsRequest.page_token]
       to retrieve the next page. 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.