Package com.google.cloud.retail.v2beta
Interface BatchRemoveCatalogAttributesRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BatchRemoveCatalogAttributesRequest
,BatchRemoveCatalogAttributesRequest.Builder
public interface BatchRemoveCatalogAttributesRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAttributeKeys(int index)
Required.com.google.protobuf.ByteString
getAttributeKeysBytes(int index)
Required.int
getAttributeKeysCount()
Required.List<String>
getAttributeKeysList()
Required.String
getAttributesConfig()
Required.com.google.protobuf.ByteString
getAttributesConfigBytes()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAttributesConfig
String getAttributesConfig()
Required. The attributes config resource shared by all catalog attributes being deleted. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig`
string attributes_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The attributesConfig.
-
getAttributesConfigBytes
com.google.protobuf.ByteString getAttributesConfigBytes()
Required. The attributes config resource shared by all catalog attributes being deleted. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig`
string attributes_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for attributesConfig.
-
getAttributeKeysList
List<String> getAttributeKeysList()
Required. The attribute name keys of the [CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute]s to delete. A maximum of 1000 catalog attributes can be deleted in a batch.
repeated string attribute_keys = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- A list containing the attributeKeys.
-
getAttributeKeysCount
int getAttributeKeysCount()
Required. The attribute name keys of the [CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute]s to delete. A maximum of 1000 catalog attributes can be deleted in a batch.
repeated string attribute_keys = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The count of attributeKeys.
-
getAttributeKeys
String getAttributeKeys(int index)
Required. The attribute name keys of the [CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute]s to delete. A maximum of 1000 catalog attributes can be deleted in a batch.
repeated string attribute_keys = 2 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
index
- The index of the element to return.- Returns:
- The attributeKeys at the given index.
-
getAttributeKeysBytes
com.google.protobuf.ByteString getAttributeKeysBytes(int index)
Required. The attribute name keys of the [CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute]s to delete. A maximum of 1000 catalog attributes can be deleted in a batch.
repeated string attribute_keys = 2 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the attributeKeys at the given index.
-
-