public static final class ListModelEvaluationSlicesResponse.Builder extends GeneratedMessageV3.Builder<ListModelEvaluationSlicesResponse.Builder> implements ListModelEvaluationSlicesResponseOrBuilder
Response message for
ModelService.ListModelEvaluationSlices.
Protobuf type google.cloud.aiplatform.v1.ListModelEvaluationSlicesResponse
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 ListModelEvaluationSlicesResponse.Builder addAllModelEvaluationSlices(Iterable<? extends ModelEvaluationSlice> values)
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.aiplatform.v1.ModelEvaluationSlice>
|
Returns
public ListModelEvaluationSlicesResponse.Builder addModelEvaluationSlices(ModelEvaluationSlice value)
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;
Parameter
Returns
public ListModelEvaluationSlicesResponse.Builder addModelEvaluationSlices(ModelEvaluationSlice.Builder builderForValue)
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;
Parameter
Returns
public ListModelEvaluationSlicesResponse.Builder addModelEvaluationSlices(int index, ModelEvaluationSlice value)
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;
Parameters
Returns
public ListModelEvaluationSlicesResponse.Builder addModelEvaluationSlices(int index, ModelEvaluationSlice.Builder builderForValue)
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;
Parameters
Returns
public ModelEvaluationSlice.Builder addModelEvaluationSlicesBuilder()
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;
Returns
public ModelEvaluationSlice.Builder addModelEvaluationSlicesBuilder(int index)
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;
Parameter
Returns
public ListModelEvaluationSlicesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListModelEvaluationSlicesResponse build()
Returns
public ListModelEvaluationSlicesResponse buildPartial()
Returns
public ListModelEvaluationSlicesResponse.Builder clear()
Returns
Overrides
public ListModelEvaluationSlicesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ListModelEvaluationSlicesResponse.Builder clearModelEvaluationSlices()
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;
Returns
clearNextPageToken()
public ListModelEvaluationSlicesResponse.Builder clearNextPageToken()
A token to retrieve next page of results.
Pass to
ListModelEvaluationSlicesRequest.page_token
to obtain that page.
string next_page_token = 2;
Returns
public ListModelEvaluationSlicesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ListModelEvaluationSlicesResponse.Builder clone()
Returns
Overrides
public ListModelEvaluationSlicesResponse getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public ModelEvaluationSlice getModelEvaluationSlices(int index)
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;
Parameter
Returns
public ModelEvaluationSlice.Builder getModelEvaluationSlicesBuilder(int index)
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;
Parameter
Returns
public List<ModelEvaluationSlice.Builder> getModelEvaluationSlicesBuilderList()
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;
Returns
public int getModelEvaluationSlicesCount()
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;
Returns
public List<ModelEvaluationSlice> getModelEvaluationSlicesList()
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;
Returns
public ModelEvaluationSliceOrBuilder getModelEvaluationSlicesOrBuilder(int index)
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;
Parameter
Returns
public List<? extends ModelEvaluationSliceOrBuilder> getModelEvaluationSlicesOrBuilderList()
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;
Returns
Type | Description |
List<? extends com.google.cloud.aiplatform.v1.ModelEvaluationSliceOrBuilder> | |
getNextPageToken()
public String getNextPageToken()
A token to retrieve next page of results.
Pass to
ListModelEvaluationSlicesRequest.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
ListModelEvaluationSlicesRequest.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 ListModelEvaluationSlicesResponse.Builder mergeFrom(ListModelEvaluationSlicesResponse other)
Parameter
Returns
public ListModelEvaluationSlicesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ListModelEvaluationSlicesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ListModelEvaluationSlicesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ListModelEvaluationSlicesResponse.Builder removeModelEvaluationSlices(int index)
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;
Parameter
Returns
public ListModelEvaluationSlicesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListModelEvaluationSlicesResponse.Builder setModelEvaluationSlices(int index, ModelEvaluationSlice value)
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;
Parameters
Returns
public ListModelEvaluationSlicesResponse.Builder setModelEvaluationSlices(int index, ModelEvaluationSlice.Builder builderForValue)
List of ModelEvaluations in the requested page.
repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 1;
Parameters
Returns
setNextPageToken(String value)
public ListModelEvaluationSlicesResponse.Builder setNextPageToken(String value)
A token to retrieve next page of results.
Pass to
ListModelEvaluationSlicesRequest.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 ListModelEvaluationSlicesResponse.Builder setNextPageTokenBytes(ByteString value)
A token to retrieve next page of results.
Pass to
ListModelEvaluationSlicesRequest.page_token
to obtain that page.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
public ListModelEvaluationSlicesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ListModelEvaluationSlicesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides