Package com.google.cloud.retail.v2beta
Interface CatalogOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Catalog
,Catalog.Builder
public interface CatalogOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDisplayName()
Required.com.google.protobuf.ByteString
getDisplayNameBytes()
Required.MerchantCenterLinkingConfig
getMerchantCenterLinkingConfig()
The Merchant Center linking configuration.MerchantCenterLinkingConfigOrBuilder
getMerchantCenterLinkingConfigOrBuilder()
The Merchant Center linking configuration.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.ProductLevelConfig
getProductLevelConfig()
Required.ProductLevelConfigOrBuilder
getProductLevelConfigOrBuilder()
Required.boolean
hasMerchantCenterLinkingConfig()
The Merchant Center linking configuration.boolean
hasProductLevelConfig()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
getDisplayName
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:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.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:
- The bytes for displayName.
-
hasProductLevelConfig
boolean hasProductLevelConfig()
Required. The product level configuration.
.google.cloud.retail.v2beta.ProductLevelConfig product_level_config = 4 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the productLevelConfig field is set.
-
getProductLevelConfig
ProductLevelConfig getProductLevelConfig()
Required. The product level configuration.
.google.cloud.retail.v2beta.ProductLevelConfig product_level_config = 4 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The productLevelConfig.
-
getProductLevelConfigOrBuilder
ProductLevelConfigOrBuilder getProductLevelConfigOrBuilder()
Required. The product level configuration.
.google.cloud.retail.v2beta.ProductLevelConfig product_level_config = 4 [(.google.api.field_behavior) = REQUIRED];
-
hasMerchantCenterLinkingConfig
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:
- Whether the merchantCenterLinkingConfig field is set.
-
getMerchantCenterLinkingConfig
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:
- The merchantCenterLinkingConfig.
-
getMerchantCenterLinkingConfigOrBuilder
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;
-
-