public static final class ListModelEvaluationsResponse.Builder extends GeneratedMessageV3.Builder<ListModelEvaluationsResponse.Builder> implements ListModelEvaluationsResponseOrBuilder
Response message for AutoMl.ListModelEvaluations.
Protobuf type google.cloud.automl.v1beta1.ListModelEvaluationsResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllModelEvaluation(Iterable<? extends ModelEvaluation> values)
public ListModelEvaluationsResponse.Builder addAllModelEvaluation(Iterable<? extends ModelEvaluation> values)
List of model evaluations in the requested page.
repeated .google.cloud.automl.v1beta1.ModelEvaluation model_evaluation = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.automl.v1beta1.ModelEvaluation>
|
Returns
addModelEvaluation(ModelEvaluation value)
public ListModelEvaluationsResponse.Builder addModelEvaluation(ModelEvaluation value)
List of model evaluations in the requested page.
repeated .google.cloud.automl.v1beta1.ModelEvaluation model_evaluation = 1;
Parameter
Returns
addModelEvaluation(ModelEvaluation.Builder builderForValue)
public ListModelEvaluationsResponse.Builder addModelEvaluation(ModelEvaluation.Builder builderForValue)
List of model evaluations in the requested page.
repeated .google.cloud.automl.v1beta1.ModelEvaluation model_evaluation = 1;
Parameter
Returns
addModelEvaluation(int index, ModelEvaluation value)
public ListModelEvaluationsResponse.Builder addModelEvaluation(int index, ModelEvaluation value)
List of model evaluations in the requested page.
repeated .google.cloud.automl.v1beta1.ModelEvaluation model_evaluation = 1;
Parameters
Returns
addModelEvaluation(int index, ModelEvaluation.Builder builderForValue)
public ListModelEvaluationsResponse.Builder addModelEvaluation(int index, ModelEvaluation.Builder builderForValue)
List of model evaluations in the requested page.
repeated .google.cloud.automl.v1beta1.ModelEvaluation model_evaluation = 1;
Parameters
Returns
addModelEvaluationBuilder()
public ModelEvaluation.Builder addModelEvaluationBuilder()
List of model evaluations in the requested page.
repeated .google.cloud.automl.v1beta1.ModelEvaluation model_evaluation = 1;
Returns
addModelEvaluationBuilder(int index)
public ModelEvaluation.Builder addModelEvaluationBuilder(int index)
List of model evaluations in the requested page.
repeated .google.cloud.automl.v1beta1.ModelEvaluation model_evaluation = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListModelEvaluationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListModelEvaluationsResponse build()
Returns
buildPartial()
public ListModelEvaluationsResponse buildPartial()
Returns
clear()
public ListModelEvaluationsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListModelEvaluationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearModelEvaluation()
public ListModelEvaluationsResponse.Builder clearModelEvaluation()
List of model evaluations in the requested page.
repeated .google.cloud.automl.v1beta1.ModelEvaluation model_evaluation = 1;
Returns
clearNextPageToken()
public ListModelEvaluationsResponse.Builder clearNextPageToken()
A token to retrieve next page of results.
Pass to the ListModelEvaluationsRequest.page_token field of a new
AutoMl.ListModelEvaluations request to obtain that page.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListModelEvaluationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListModelEvaluationsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListModelEvaluationsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getModelEvaluation(int index)
public ModelEvaluation getModelEvaluation(int index)
List of model evaluations in the requested page.
repeated .google.cloud.automl.v1beta1.ModelEvaluation model_evaluation = 1;
Parameter
Returns
getModelEvaluationBuilder(int index)
public ModelEvaluation.Builder getModelEvaluationBuilder(int index)
List of model evaluations in the requested page.
repeated .google.cloud.automl.v1beta1.ModelEvaluation model_evaluation = 1;
Parameter
Returns
getModelEvaluationBuilderList()
public List<ModelEvaluation.Builder> getModelEvaluationBuilderList()
List of model evaluations in the requested page.
repeated .google.cloud.automl.v1beta1.ModelEvaluation model_evaluation = 1;
Returns
getModelEvaluationCount()
public int getModelEvaluationCount()
List of model evaluations in the requested page.
repeated .google.cloud.automl.v1beta1.ModelEvaluation model_evaluation = 1;
Returns
getModelEvaluationList()
public List<ModelEvaluation> getModelEvaluationList()
List of model evaluations in the requested page.
repeated .google.cloud.automl.v1beta1.ModelEvaluation model_evaluation = 1;
Returns
getModelEvaluationOrBuilder(int index)
public ModelEvaluationOrBuilder getModelEvaluationOrBuilder(int index)
List of model evaluations in the requested page.
repeated .google.cloud.automl.v1beta1.ModelEvaluation model_evaluation = 1;
Parameter
Returns
getModelEvaluationOrBuilderList()
public List<? extends ModelEvaluationOrBuilder> getModelEvaluationOrBuilderList()
List of model evaluations in the requested page.
repeated .google.cloud.automl.v1beta1.ModelEvaluation model_evaluation = 1;
Returns
Type | Description |
List<? extends com.google.cloud.automl.v1beta1.ModelEvaluationOrBuilder> | |
getNextPageToken()
public String getNextPageToken()
A token to retrieve next page of results.
Pass to the ListModelEvaluationsRequest.page_token field of a new
AutoMl.ListModelEvaluations request 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 the ListModelEvaluationsRequest.page_token field of a new
AutoMl.ListModelEvaluations request to obtain that page.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListModelEvaluationsResponse other)
public ListModelEvaluationsResponse.Builder mergeFrom(ListModelEvaluationsResponse other)
Parameter
Returns
public ListModelEvaluationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListModelEvaluationsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListModelEvaluationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeModelEvaluation(int index)
public ListModelEvaluationsResponse.Builder removeModelEvaluation(int index)
List of model evaluations in the requested page.
repeated .google.cloud.automl.v1beta1.ModelEvaluation model_evaluation = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListModelEvaluationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setModelEvaluation(int index, ModelEvaluation value)
public ListModelEvaluationsResponse.Builder setModelEvaluation(int index, ModelEvaluation value)
List of model evaluations in the requested page.
repeated .google.cloud.automl.v1beta1.ModelEvaluation model_evaluation = 1;
Parameters
Returns
setModelEvaluation(int index, ModelEvaluation.Builder builderForValue)
public ListModelEvaluationsResponse.Builder setModelEvaluation(int index, ModelEvaluation.Builder builderForValue)
List of model evaluations in the requested page.
repeated .google.cloud.automl.v1beta1.ModelEvaluation model_evaluation = 1;
Parameters
Returns
setNextPageToken(String value)
public ListModelEvaluationsResponse.Builder setNextPageToken(String value)
A token to retrieve next page of results.
Pass to the ListModelEvaluationsRequest.page_token field of a new
AutoMl.ListModelEvaluations request 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 the ListModelEvaluationsRequest.page_token field of a new
AutoMl.ListModelEvaluations request to obtain that page.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListModelEvaluationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListModelEvaluationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides