Package com.google.cloud.retail.v2
Interface ListControlsRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ListControlsRequest
,ListControlsRequest.Builder
public interface ListControlsRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getFilter()
Optional.com.google.protobuf.ByteString
getFilterBytes()
Optional.int
getPageSize()
Optional.String
getPageToken()
Optional.com.google.protobuf.ByteString
getPageTokenBytes()
Optional.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
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. The catalog resource name. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. The catalog resource name. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for parent.
-
getPageSize
int getPageSize()
Optional. Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The pageSize.
-
getPageToken
String getPageToken()
Optional. A page token, received from a previous `ListControls` call. Provide this to retrieve the subsequent page.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The pageToken.
-
getPageTokenBytes
com.google.protobuf.ByteString getPageTokenBytes()
Optional. A page token, received from a previous `ListControls` call. Provide this to retrieve the subsequent page.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for pageToken.
-
getFilter
String getFilter()
Optional. A filter to apply on the list results. Supported features: * List all the products under the parent branch if [filter][google.cloud.retail.v2.ListControlsRequest.filter] is unset. * List controls that are used in a single ServingConfig: 'serving_config = "boosted_home_page_cvr"'
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The filter.
-
getFilterBytes
com.google.protobuf.ByteString getFilterBytes()
Optional. A filter to apply on the list results. Supported features: * List all the products under the parent branch if [filter][google.cloud.retail.v2.ListControlsRequest.filter] is unset. * List controls that are used in a single ServingConfig: 'serving_config = "boosted_home_page_cvr"'
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for filter.
-
-