- 2.50.0 (latest)
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.1
- 2.4.0
- 2.3.0
- 2.2.3
- 2.1.0
- 2.0.19
public static final class Catalog.Builder extends GeneratedMessageV3.Builder<Catalog.Builder> implements CatalogOrBuilder
The catalog configuration.
Protobuf type google.cloud.retail.v2beta.Catalog
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Catalog.BuilderImplements
CatalogOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Catalog.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Catalog.Builder |
build()
public Catalog build()
Type | Description |
Catalog |
buildPartial()
public Catalog buildPartial()
Type | Description |
Catalog |
clear()
public Catalog.Builder clear()
Type | Description |
Catalog.Builder |
clearDisplayName()
public Catalog.Builder clearDisplayName()
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];
Type | Description |
Catalog.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Catalog.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Catalog.Builder |
clearMerchantCenterLinkingConfig()
public Catalog.Builder clearMerchantCenterLinkingConfig()
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;
Type | Description |
Catalog.Builder |
clearName()
public Catalog.Builder clearName()
Required. Immutable. The fully qualified resource name of the catalog.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
Catalog.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Catalog.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Catalog.Builder |
clearProductLevelConfig()
public Catalog.Builder clearProductLevelConfig()
Required. The product level configuration.
.google.cloud.retail.v2beta.ProductLevelConfig product_level_config = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Catalog.Builder |
clone()
public Catalog.Builder clone()
Type | Description |
Catalog.Builder |
getDefaultInstanceForType()
public Catalog getDefaultInstanceForType()
Type | Description |
Catalog |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public 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];
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public 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];
Type | Description |
ByteString | The bytes for displayName. |
getMerchantCenterLinkingConfig()
public 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;
Type | Description |
MerchantCenterLinkingConfig | The merchantCenterLinkingConfig. |
getMerchantCenterLinkingConfigBuilder()
public MerchantCenterLinkingConfig.Builder getMerchantCenterLinkingConfigBuilder()
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;
Type | Description |
MerchantCenterLinkingConfig.Builder |
getMerchantCenterLinkingConfigOrBuilder()
public 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;
Type | Description |
MerchantCenterLinkingConfigOrBuilder |
getName()
public 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];
Type | Description |
String | The name. |
getNameBytes()
public 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];
Type | Description |
ByteString | The bytes for name. |
getProductLevelConfig()
public ProductLevelConfig getProductLevelConfig()
Required. The product level configuration.
.google.cloud.retail.v2beta.ProductLevelConfig product_level_config = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ProductLevelConfig | The productLevelConfig. |
getProductLevelConfigBuilder()
public ProductLevelConfig.Builder getProductLevelConfigBuilder()
Required. The product level configuration.
.google.cloud.retail.v2beta.ProductLevelConfig product_level_config = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ProductLevelConfig.Builder |
getProductLevelConfigOrBuilder()
public ProductLevelConfigOrBuilder getProductLevelConfigOrBuilder()
Required. The product level configuration.
.google.cloud.retail.v2beta.ProductLevelConfig product_level_config = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ProductLevelConfigOrBuilder |
hasMerchantCenterLinkingConfig()
public 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;
Type | Description |
boolean | Whether the merchantCenterLinkingConfig field is set. |
hasProductLevelConfig()
public boolean hasProductLevelConfig()
Required. The product level configuration.
.google.cloud.retail.v2beta.ProductLevelConfig product_level_config = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the productLevelConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Catalog other)
public Catalog.Builder mergeFrom(Catalog other)
Name | Description |
other | Catalog |
Type | Description |
Catalog.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Catalog.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Catalog.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Catalog.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Catalog.Builder |
mergeMerchantCenterLinkingConfig(MerchantCenterLinkingConfig value)
public Catalog.Builder mergeMerchantCenterLinkingConfig(MerchantCenterLinkingConfig value)
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;
Name | Description |
value | MerchantCenterLinkingConfig |
Type | Description |
Catalog.Builder |
mergeProductLevelConfig(ProductLevelConfig value)
public Catalog.Builder mergeProductLevelConfig(ProductLevelConfig value)
Required. The product level configuration.
.google.cloud.retail.v2beta.ProductLevelConfig product_level_config = 4 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ProductLevelConfig |
Type | Description |
Catalog.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Catalog.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Catalog.Builder |
setDisplayName(String value)
public Catalog.Builder setDisplayName(String value)
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];
Name | Description |
value | String The displayName to set. |
Type | Description |
Catalog.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Catalog.Builder setDisplayNameBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
Catalog.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Catalog.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Catalog.Builder |
setMerchantCenterLinkingConfig(MerchantCenterLinkingConfig value)
public Catalog.Builder setMerchantCenterLinkingConfig(MerchantCenterLinkingConfig value)
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;
Name | Description |
value | MerchantCenterLinkingConfig |
Type | Description |
Catalog.Builder |
setMerchantCenterLinkingConfig(MerchantCenterLinkingConfig.Builder builderForValue)
public Catalog.Builder setMerchantCenterLinkingConfig(MerchantCenterLinkingConfig.Builder builderForValue)
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;
Name | Description |
builderForValue | MerchantCenterLinkingConfig.Builder |
Type | Description |
Catalog.Builder |
setName(String value)
public Catalog.Builder setName(String value)
Required. Immutable. The fully qualified resource name of the catalog.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Name | Description |
value | String The name to set. |
Type | Description |
Catalog.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Catalog.Builder setNameBytes(ByteString value)
Required. Immutable. The fully qualified resource name of the catalog.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Catalog.Builder | This builder for chaining. |
setProductLevelConfig(ProductLevelConfig value)
public Catalog.Builder setProductLevelConfig(ProductLevelConfig value)
Required. The product level configuration.
.google.cloud.retail.v2beta.ProductLevelConfig product_level_config = 4 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ProductLevelConfig |
Type | Description |
Catalog.Builder |
setProductLevelConfig(ProductLevelConfig.Builder builderForValue)
public Catalog.Builder setProductLevelConfig(ProductLevelConfig.Builder builderForValue)
Required. The product level configuration.
.google.cloud.retail.v2beta.ProductLevelConfig product_level_config = 4 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
builderForValue | ProductLevelConfig.Builder |
Type | Description |
Catalog.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Catalog.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Catalog.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Catalog.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Catalog.Builder |