Class ListModelEvaluationsResponse.Builder

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

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

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public ListModelEvaluationsResponse.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<ListModelEvaluationsResponse.Builder>
      Throws:
      IOException
    • getModelEvaluationsList

      public List<ModelEvaluation> getModelEvaluationsList()
       List of ModelEvaluations in the requested page.
       
      repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
      Specified by:
      getModelEvaluationsList in interface ListModelEvaluationsResponseOrBuilder
    • getModelEvaluationsCount

      public int getModelEvaluationsCount()
       List of ModelEvaluations in the requested page.
       
      repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
      Specified by:
      getModelEvaluationsCount in interface ListModelEvaluationsResponseOrBuilder
    • getModelEvaluations

      public ModelEvaluation getModelEvaluations(int index)
       List of ModelEvaluations in the requested page.
       
      repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
      Specified by:
      getModelEvaluations in interface ListModelEvaluationsResponseOrBuilder
    • setModelEvaluations

      public ListModelEvaluationsResponse.Builder setModelEvaluations(int index, ModelEvaluation value)
       List of ModelEvaluations in the requested page.
       
      repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
    • setModelEvaluations

      public ListModelEvaluationsResponse.Builder setModelEvaluations(int index, ModelEvaluation.Builder builderForValue)
       List of ModelEvaluations in the requested page.
       
      repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
    • addModelEvaluations

      public ListModelEvaluationsResponse.Builder addModelEvaluations(ModelEvaluation value)
       List of ModelEvaluations in the requested page.
       
      repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
    • addModelEvaluations

      public ListModelEvaluationsResponse.Builder addModelEvaluations(int index, ModelEvaluation value)
       List of ModelEvaluations in the requested page.
       
      repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
    • addModelEvaluations

      public ListModelEvaluationsResponse.Builder addModelEvaluations(ModelEvaluation.Builder builderForValue)
       List of ModelEvaluations in the requested page.
       
      repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
    • addModelEvaluations

      public ListModelEvaluationsResponse.Builder addModelEvaluations(int index, ModelEvaluation.Builder builderForValue)
       List of ModelEvaluations in the requested page.
       
      repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
    • addAllModelEvaluations

      public ListModelEvaluationsResponse.Builder addAllModelEvaluations(Iterable<? extends ModelEvaluation> values)
       List of ModelEvaluations in the requested page.
       
      repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
    • clearModelEvaluations

      public ListModelEvaluationsResponse.Builder clearModelEvaluations()
       List of ModelEvaluations in the requested page.
       
      repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
    • removeModelEvaluations

      public ListModelEvaluationsResponse.Builder removeModelEvaluations(int index)
       List of ModelEvaluations in the requested page.
       
      repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
    • getModelEvaluationsBuilder

      public ModelEvaluation.Builder getModelEvaluationsBuilder(int index)
       List of ModelEvaluations in the requested page.
       
      repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
    • getModelEvaluationsOrBuilder

      public ModelEvaluationOrBuilder getModelEvaluationsOrBuilder(int index)
       List of ModelEvaluations in the requested page.
       
      repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
      Specified by:
      getModelEvaluationsOrBuilder in interface ListModelEvaluationsResponseOrBuilder
    • getModelEvaluationsOrBuilderList

      public List<? extends ModelEvaluationOrBuilder> getModelEvaluationsOrBuilderList()
       List of ModelEvaluations in the requested page.
       
      repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
      Specified by:
      getModelEvaluationsOrBuilderList in interface ListModelEvaluationsResponseOrBuilder
    • addModelEvaluationsBuilder

      public ModelEvaluation.Builder addModelEvaluationsBuilder()
       List of ModelEvaluations in the requested page.
       
      repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
    • addModelEvaluationsBuilder

      public ModelEvaluation.Builder addModelEvaluationsBuilder(int index)
       List of ModelEvaluations in the requested page.
       
      repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
    • getModelEvaluationsBuilderList

      public List<ModelEvaluation.Builder> getModelEvaluationsBuilderList()
       List of ModelEvaluations in the requested page.
       
      repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token to retrieve next page of results.
       Pass to
       [ListModelEvaluationsRequest.page_token][google.cloud.aiplatform.v1.ListModelEvaluationsRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListModelEvaluationsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token to retrieve next page of results.
       Pass to
       [ListModelEvaluationsRequest.page_token][google.cloud.aiplatform.v1.ListModelEvaluationsRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListModelEvaluationsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListModelEvaluationsResponse.Builder setNextPageToken(String value)
       A token to retrieve next page of results.
       Pass to
       [ListModelEvaluationsRequest.page_token][google.cloud.aiplatform.v1.ListModelEvaluationsRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListModelEvaluationsResponse.Builder clearNextPageToken()
       A token to retrieve next page of results.
       Pass to
       [ListModelEvaluationsRequest.page_token][google.cloud.aiplatform.v1.ListModelEvaluationsRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListModelEvaluationsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token to retrieve next page of results.
       Pass to
       [ListModelEvaluationsRequest.page_token][google.cloud.aiplatform.v1.ListModelEvaluationsRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.