Interface AddCatalogAttributeRequestOrBuilder (2.49.0)

public interface AddCatalogAttributeRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAttributesConfig()

public abstract 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
Type Description
String

The attributesConfig.

getAttributesConfigBytes()

public abstract 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
Type Description
ByteString

The bytes for attributesConfig.

getCatalogAttribute()

public abstract CatalogAttribute getCatalogAttribute()

Required. The CatalogAttribute to add.

.google.cloud.retail.v2.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CatalogAttribute

The catalogAttribute.

getCatalogAttributeOrBuilder()

public abstract CatalogAttributeOrBuilder getCatalogAttributeOrBuilder()

Required. The CatalogAttribute to add.

.google.cloud.retail.v2.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CatalogAttributeOrBuilder

hasCatalogAttribute()

public abstract boolean hasCatalogAttribute()

Required. The CatalogAttribute to add.

.google.cloud.retail.v2.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the catalogAttribute field is set.