Interface FetchModelsRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FetchModelsRequest,FetchModelsRequest.Builder
@Generated
public interface FetchModelsRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintOptional.Optional.com.google.protobuf.ByteStringOptional.booleanOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasPageSize
boolean hasPageSize()Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's [next_page_token][google.cloud.gkerecommender.v1.FetchModelsResponse.next_page_token] to determine if there are more instances left to be queried.
optional int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the pageSize field is set.
-
getPageSize
int getPageSize()Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's [next_page_token][google.cloud.gkerecommender.v1.FetchModelsResponse.next_page_token] to determine if there are more instances left to be queried.
optional int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The pageSize.
-
hasPageToken
boolean hasPageToken()Optional. The value of [next_page_token][google.cloud.gkerecommender.v1.FetchModelsResponse.next_page_token] received from a previous `FetchModelsRequest` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `FetchModelsRequest` must match the call that provided the page token.
optional string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the pageToken field is set.
-
getPageToken
String getPageToken()Optional. The value of [next_page_token][google.cloud.gkerecommender.v1.FetchModelsResponse.next_page_token] received from a previous `FetchModelsRequest` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `FetchModelsRequest` must match the call that provided the page token.
optional string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The pageToken.
-
getPageTokenBytes
com.google.protobuf.ByteString getPageTokenBytes()Optional. The value of [next_page_token][google.cloud.gkerecommender.v1.FetchModelsResponse.next_page_token] received from a previous `FetchModelsRequest` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `FetchModelsRequest` must match the call that provided the page token.
optional string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for pageToken.
-