Interface CatalogOrBuilder (2.56.0)

public interface CatalogOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisplayName()

public abstract String getDisplayName()

Required. Immutable. The catalog display name.

This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Required. Immutable. The catalog display name.

This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for displayName.

getMerchantCenterLinkingConfig()

public abstract MerchantCenterLinkingConfig getMerchantCenterLinkingConfig()

The Merchant Center linking configuration. After a link is added, the data stream from Merchant Center to Cloud Retail will be enabled automatically. The requester must have access to the Merchant Center account in order to make changes to this field.

.google.cloud.retail.v2alpha.MerchantCenterLinkingConfig merchant_center_linking_config = 6;

Returns
Type Description
MerchantCenterLinkingConfig

The merchantCenterLinkingConfig.

getMerchantCenterLinkingConfigOrBuilder()

public abstract MerchantCenterLinkingConfigOrBuilder getMerchantCenterLinkingConfigOrBuilder()

The Merchant Center linking configuration. After a link is added, the data stream from Merchant Center to Cloud Retail will be enabled automatically. The requester must have access to the Merchant Center account in order to make changes to this field.

.google.cloud.retail.v2alpha.MerchantCenterLinkingConfig merchant_center_linking_config = 6;

Returns
Type Description
MerchantCenterLinkingConfigOrBuilder

getName()

public abstract String getName()

Required. Immutable. The fully qualified resource name of the catalog.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. Immutable. The fully qualified resource name of the catalog.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for name.

getProductLevelConfig()

public abstract ProductLevelConfig getProductLevelConfig()

Required. The product level configuration.

.google.cloud.retail.v2alpha.ProductLevelConfig product_level_config = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProductLevelConfig

The productLevelConfig.

getProductLevelConfigOrBuilder()

public abstract ProductLevelConfigOrBuilder getProductLevelConfigOrBuilder()

Required. The product level configuration.

.google.cloud.retail.v2alpha.ProductLevelConfig product_level_config = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProductLevelConfigOrBuilder

hasMerchantCenterLinkingConfig()

public abstract boolean hasMerchantCenterLinkingConfig()

The Merchant Center linking configuration. After a link is added, the data stream from Merchant Center to Cloud Retail will be enabled automatically. The requester must have access to the Merchant Center account in order to make changes to this field.

.google.cloud.retail.v2alpha.MerchantCenterLinkingConfig merchant_center_linking_config = 6;

Returns
Type Description
boolean

Whether the merchantCenterLinkingConfig field is set.

hasProductLevelConfig()

public abstract boolean hasProductLevelConfig()

Required. The product level configuration.

.google.cloud.retail.v2alpha.ProductLevelConfig product_level_config = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the productLevelConfig field is set.