public static final class ListModelEvaluationsResponse.Builder extends GeneratedMessageV3.Builder<ListModelEvaluationsResponse.Builder> implements ListModelEvaluationsResponseOrBuilder
Response message for
ModelService.ListModelEvaluations.
Protobuf type google.cloud.aiplatform.v1.ListModelEvaluationsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ListModelEvaluationsResponse.Builder addAllModelEvaluations(Iterable<? extends ModelEvaluation> values)
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.aiplatform.v1.ModelEvaluation>
|
Returns
public ListModelEvaluationsResponse.Builder addModelEvaluations(ModelEvaluation value)
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
Parameter
Returns
public ListModelEvaluationsResponse.Builder addModelEvaluations(ModelEvaluation.Builder builderForValue)
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
Parameter
Returns
public ListModelEvaluationsResponse.Builder addModelEvaluations(int index, ModelEvaluation value)
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
Parameters
Returns
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;
Parameters
Returns
public ModelEvaluation.Builder addModelEvaluationsBuilder()
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
Returns
public ModelEvaluation.Builder addModelEvaluationsBuilder(int index)
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
Parameter
Returns
public ListModelEvaluationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListModelEvaluationsResponse build()
Returns
public ListModelEvaluationsResponse buildPartial()
Returns
public ListModelEvaluationsResponse.Builder clear()
Returns
Overrides
public ListModelEvaluationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ListModelEvaluationsResponse.Builder clearModelEvaluations()
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
Returns
clearNextPageToken()
public ListModelEvaluationsResponse.Builder clearNextPageToken()
A token to retrieve next page of results.
Pass to
ListModelEvaluationsRequest.page_token
to obtain that page.
string next_page_token = 2;
Returns
public ListModelEvaluationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ListModelEvaluationsResponse.Builder clone()
Returns
Overrides
public ListModelEvaluationsResponse getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public ModelEvaluation getModelEvaluations(int index)
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
Parameter
Returns
public ModelEvaluation.Builder getModelEvaluationsBuilder(int index)
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
Parameter
Returns
public List<ModelEvaluation.Builder> getModelEvaluationsBuilderList()
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
Returns
public int getModelEvaluationsCount()
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
Returns
public List<ModelEvaluation> getModelEvaluationsList()
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
Returns
public ModelEvaluationOrBuilder getModelEvaluationsOrBuilder(int index)
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
Parameter
Returns
public List<? extends ModelEvaluationOrBuilder> getModelEvaluationsOrBuilderList()
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
Returns
Type | Description |
List<? extends com.google.cloud.aiplatform.v1.ModelEvaluationOrBuilder> | |
getNextPageToken()
public String getNextPageToken()
A token to retrieve next page of results.
Pass to
ListModelEvaluationsRequest.page_token
to obtain that page.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token to retrieve next page of results.
Pass to
ListModelEvaluationsRequest.page_token
to obtain that page.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ListModelEvaluationsResponse.Builder mergeFrom(ListModelEvaluationsResponse other)
Parameter
Returns
public ListModelEvaluationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ListModelEvaluationsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ListModelEvaluationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ListModelEvaluationsResponse.Builder removeModelEvaluations(int index)
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
Parameter
Returns
public ListModelEvaluationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListModelEvaluationsResponse.Builder setModelEvaluations(int index, ModelEvaluation value)
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluation model_evaluations = 1;
Parameters
Returns
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;
Parameters
Returns
setNextPageToken(String value)
public ListModelEvaluationsResponse.Builder setNextPageToken(String value)
A token to retrieve next page of results.
Pass to
ListModelEvaluationsRequest.page_token
to obtain that page.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListModelEvaluationsResponse.Builder setNextPageTokenBytes(ByteString value)
A token to retrieve next page of results.
Pass to
ListModelEvaluationsRequest.page_token
to obtain that page.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
public ListModelEvaluationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ListModelEvaluationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides