Package com.google.cloud.automl.v1
Interface ListModelsRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ListModelsRequest,ListModelsRequest.Builder
public interface ListModelsRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetFilter()An expression for filtering the results of the request.com.google.protobuf.ByteStringgetFilterBytes()An expression for filtering the results of the request.intgetPageSize()Requested page size.StringgetPageToken()A token identifying a page of results for the server to return Typically obtained via [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token] of the previous [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels] call.com.google.protobuf.ByteStringgetPageTokenBytes()A token identifying a page of results for the server to return Typically obtained via [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token] of the previous [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels] call.StringgetParent()Required.com.google.protobuf.ByteStringgetParentBytes()Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
String getParent()
Required. Resource name of the project, from which to list the models.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. Resource name of the project, from which to list the models.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
getFilter
String getFilter()
An expression for filtering the results of the request. * `model_metadata` - for existence of the case (e.g. `video_classification_model_metadata:*`). * `dataset_id` - for = or !=. Some examples of using the filter are: * `image_classification_model_metadata:*` --> The model has `image_classification_model_metadata`. * `dataset_id=5` --> The model was created from a dataset with ID 5.string filter = 3;- Returns:
- The filter.
-
getFilterBytes
com.google.protobuf.ByteString getFilterBytes()
An expression for filtering the results of the request. * `model_metadata` - for existence of the case (e.g. `video_classification_model_metadata:*`). * `dataset_id` - for = or !=. Some examples of using the filter are: * `image_classification_model_metadata:*` --> The model has `image_classification_model_metadata`. * `dataset_id=5` --> The model was created from a dataset with ID 5.string filter = 3;- Returns:
- The bytes for filter.
-
getPageSize
int getPageSize()
Requested page size.
int32 page_size = 4;- Returns:
- The pageSize.
-
getPageToken
String getPageToken()
A token identifying a page of results for the server to return Typically obtained via [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token] of the previous [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels] call.
string page_token = 6;- Returns:
- The pageToken.
-
getPageTokenBytes
com.google.protobuf.ByteString getPageTokenBytes()
A token identifying a page of results for the server to return Typically obtained via [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token] of the previous [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels] call.
string page_token = 6;- Returns:
- The bytes for pageToken.
-
-