Interface CatalogOrBuilder (2.20.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
TypeDescription
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
TypeDescription
ByteString

The bytes for displayName.

getMerchantCenterLinkingConfig()

public abstract MerchantCenterLinkingConfig getMerchantCenterLinkingConfig()

The Merchant Center linking configuration. Once 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.v2beta.MerchantCenterLinkingConfig merchant_center_linking_config = 6;

Returns
TypeDescription
MerchantCenterLinkingConfig

The merchantCenterLinkingConfig.

getMerchantCenterLinkingConfigOrBuilder()

public abstract MerchantCenterLinkingConfigOrBuilder getMerchantCenterLinkingConfigOrBuilder()

The Merchant Center linking configuration. Once 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.v2beta.MerchantCenterLinkingConfig merchant_center_linking_config = 6;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getProductLevelConfig()

public abstract ProductLevelConfig getProductLevelConfig()

Required. The product level configuration.

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

Returns
TypeDescription
ProductLevelConfig

The productLevelConfig.

getProductLevelConfigOrBuilder()

public abstract ProductLevelConfigOrBuilder getProductLevelConfigOrBuilder()

Required. The product level configuration.

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

Returns
TypeDescription
ProductLevelConfigOrBuilder

hasMerchantCenterLinkingConfig()

public abstract boolean hasMerchantCenterLinkingConfig()

The Merchant Center linking configuration. Once 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.v2beta.MerchantCenterLinkingConfig merchant_center_linking_config = 6;

Returns
TypeDescription
boolean

Whether the merchantCenterLinkingConfig field is set.

hasProductLevelConfig()

public abstract boolean hasProductLevelConfig()

Required. The product level configuration.

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

Returns
TypeDescription
boolean

Whether the productLevelConfig field is set.