public static final class ListModelsResponse.Builder extends GeneratedMessageV3.Builder<ListModelsResponse.Builder> implements ListModelsResponseOrBuilder
Response message for AutoMl.ListModels.
Protobuf type google.cloud.automl.v1beta1.ListModelsResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllModel(Iterable<? extends Model> values)
public ListModelsResponse.Builder addAllModel(Iterable<? extends Model> values)
List of models in the requested page.
repeated .google.cloud.automl.v1beta1.Model model = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.automl.v1beta1.Model>
|
Returns
addModel(Model value)
public ListModelsResponse.Builder addModel(Model value)
List of models in the requested page.
repeated .google.cloud.automl.v1beta1.Model model = 1;
Parameter
Name | Description |
value | Model
|
Returns
addModel(Model.Builder builderForValue)
public ListModelsResponse.Builder addModel(Model.Builder builderForValue)
List of models in the requested page.
repeated .google.cloud.automl.v1beta1.Model model = 1;
Parameter
Returns
addModel(int index, Model value)
public ListModelsResponse.Builder addModel(int index, Model value)
List of models in the requested page.
repeated .google.cloud.automl.v1beta1.Model model = 1;
Parameters
Returns
addModel(int index, Model.Builder builderForValue)
public ListModelsResponse.Builder addModel(int index, Model.Builder builderForValue)
List of models in the requested page.
repeated .google.cloud.automl.v1beta1.Model model = 1;
Parameters
Returns
addModelBuilder()
public Model.Builder addModelBuilder()
List of models in the requested page.
repeated .google.cloud.automl.v1beta1.Model model = 1;
Returns
addModelBuilder(int index)
public Model.Builder addModelBuilder(int index)
List of models in the requested page.
repeated .google.cloud.automl.v1beta1.Model model = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListModelsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListModelsResponse build()
Returns
buildPartial()
public ListModelsResponse buildPartial()
Returns
clear()
public ListModelsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListModelsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearModel()
public ListModelsResponse.Builder clearModel()
List of models in the requested page.
repeated .google.cloud.automl.v1beta1.Model model = 1;
Returns
clearNextPageToken()
public ListModelsResponse.Builder clearNextPageToken()
A token to retrieve next page of results.
Pass to ListModelsRequest.page_token to obtain that page.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListModelsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListModelsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListModelsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getModel(int index)
public Model getModel(int index)
List of models in the requested page.
repeated .google.cloud.automl.v1beta1.Model model = 1;
Parameter
Returns
getModelBuilder(int index)
public Model.Builder getModelBuilder(int index)
List of models in the requested page.
repeated .google.cloud.automl.v1beta1.Model model = 1;
Parameter
Returns
getModelBuilderList()
public List<Model.Builder> getModelBuilderList()
List of models in the requested page.
repeated .google.cloud.automl.v1beta1.Model model = 1;
Returns
getModelCount()
public int getModelCount()
List of models in the requested page.
repeated .google.cloud.automl.v1beta1.Model model = 1;
Returns
getModelList()
public List<Model> getModelList()
List of models in the requested page.
repeated .google.cloud.automl.v1beta1.Model model = 1;
Returns
getModelOrBuilder(int index)
public ModelOrBuilder getModelOrBuilder(int index)
List of models in the requested page.
repeated .google.cloud.automl.v1beta1.Model model = 1;
Parameter
Returns
getModelOrBuilderList()
public List<? extends ModelOrBuilder> getModelOrBuilderList()
List of models in the requested page.
repeated .google.cloud.automl.v1beta1.Model model = 1;
Returns
Type | Description |
List<? extends com.google.cloud.automl.v1beta1.ModelOrBuilder> | |
getNextPageToken()
public String getNextPageToken()
A token to retrieve next page of results.
Pass to ListModelsRequest.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 ListModelsRequest.page_token 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(ListModelsResponse other)
public ListModelsResponse.Builder mergeFrom(ListModelsResponse other)
Parameter
Returns
public ListModelsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListModelsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListModelsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeModel(int index)
public ListModelsResponse.Builder removeModel(int index)
List of models in the requested page.
repeated .google.cloud.automl.v1beta1.Model model = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListModelsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setModel(int index, Model value)
public ListModelsResponse.Builder setModel(int index, Model value)
List of models in the requested page.
repeated .google.cloud.automl.v1beta1.Model model = 1;
Parameters
Returns
setModel(int index, Model.Builder builderForValue)
public ListModelsResponse.Builder setModel(int index, Model.Builder builderForValue)
List of models in the requested page.
repeated .google.cloud.automl.v1beta1.Model model = 1;
Parameters
Returns
setNextPageToken(String value)
public ListModelsResponse.Builder setNextPageToken(String value)
A token to retrieve next page of results.
Pass to ListModelsRequest.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 ListModelsResponse.Builder setNextPageTokenBytes(ByteString value)
A token to retrieve next page of results.
Pass to ListModelsRequest.page_token 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 ListModelsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListModelsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides