Package com.google.cloud.retail.v2alpha
Interface AddCatalogAttributeRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AddCatalogAttributeRequest,AddCatalogAttributeRequest.Builder
public interface AddCatalogAttributeRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAttributesConfig()Required.com.google.protobuf.ByteStringgetAttributesConfigBytes()Required.CatalogAttributegetCatalogAttribute()Required.CatalogAttributeOrBuildergetCatalogAttributeOrBuilder()Required.booleanhasCatalogAttribute()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. Full AttributesConfig resource name. 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. Full AttributesConfig resource name. 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.
-
hasCatalogAttribute
boolean hasCatalogAttribute()
Required. The [CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute] to add.
.google.cloud.retail.v2alpha.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the catalogAttribute field is set.
-
getCatalogAttribute
CatalogAttribute getCatalogAttribute()
Required. The [CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute] to add.
.google.cloud.retail.v2alpha.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The catalogAttribute.
-
getCatalogAttributeOrBuilder
CatalogAttributeOrBuilder getCatalogAttributeOrBuilder()
Required. The [CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute] to add.
.google.cloud.retail.v2alpha.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];
-
-