- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 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.v2alpha.Catalog
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Catalog.BuilderImplements
CatalogOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Catalog.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Catalog.Builder |
build()
public Catalog build()
Returns | |
---|---|
Type | Description |
Catalog |
buildPartial()
public Catalog buildPartial()
Returns | |
---|---|
Type | Description |
Catalog |
clear()
public Catalog.Builder clear()
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
Catalog.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Catalog.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
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.v2alpha.MerchantCenterLinkingConfig merchant_center_linking_config = 6;
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
Catalog.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Catalog.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Catalog.Builder |
clearProductLevelConfig()
public Catalog.Builder clearProductLevelConfig()
Required. The product level configuration.
.google.cloud.retail.v2alpha.ProductLevelConfig product_level_config = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Catalog.Builder |
clone()
public Catalog.Builder clone()
Returns | |
---|---|
Type | Description |
Catalog.Builder |
getDefaultInstanceForType()
public Catalog getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Catalog |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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.v2alpha.MerchantCenterLinkingConfig merchant_center_linking_config = 6;
Returns | |
---|---|
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.v2alpha.MerchantCenterLinkingConfig merchant_center_linking_config = 6;
Returns | |
---|---|
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.v2alpha.MerchantCenterLinkingConfig merchant_center_linking_config = 6;
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getProductLevelConfig()
public 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. |
getProductLevelConfigBuilder()
public ProductLevelConfig.Builder getProductLevelConfigBuilder()
Required. The product level configuration.
.google.cloud.retail.v2alpha.ProductLevelConfig product_level_config = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ProductLevelConfig.Builder |
getProductLevelConfigOrBuilder()
public 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 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.v2alpha.MerchantCenterLinkingConfig merchant_center_linking_config = 6;
Returns | |
---|---|
Type | Description |
boolean |
Whether the merchantCenterLinkingConfig field is set. |
hasProductLevelConfig()
public 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Catalog other)
public Catalog.Builder mergeFrom(Catalog other)
Parameter | |
---|---|
Name | Description |
other |
Catalog |
Returns | |
---|---|
Type | Description |
Catalog.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Catalog.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Catalog.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Catalog.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
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.v2alpha.MerchantCenterLinkingConfig merchant_center_linking_config = 6;
Parameter | |
---|---|
Name | Description |
value |
MerchantCenterLinkingConfig |
Returns | |
---|---|
Type | Description |
Catalog.Builder |
mergeProductLevelConfig(ProductLevelConfig value)
public Catalog.Builder mergeProductLevelConfig(ProductLevelConfig value)
Required. The product level configuration.
.google.cloud.retail.v2alpha.ProductLevelConfig product_level_config = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ProductLevelConfig |
Returns | |
---|---|
Type | Description |
Catalog.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Catalog.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
Catalog.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Catalog.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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.v2alpha.MerchantCenterLinkingConfig merchant_center_linking_config = 6;
Parameter | |
---|---|
Name | Description |
value |
MerchantCenterLinkingConfig |
Returns | |
---|---|
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.v2alpha.MerchantCenterLinkingConfig merchant_center_linking_config = 6;
Parameter | |
---|---|
Name | Description |
builderForValue |
MerchantCenterLinkingConfig.Builder |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
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.v2alpha.ProductLevelConfig product_level_config = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ProductLevelConfig |
Returns | |
---|---|
Type | Description |
Catalog.Builder |
setProductLevelConfig(ProductLevelConfig.Builder builderForValue)
public Catalog.Builder setProductLevelConfig(ProductLevelConfig.Builder builderForValue)
Required. The product level configuration.
.google.cloud.retail.v2alpha.ProductLevelConfig product_level_config = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
ProductLevelConfig.Builder |
Returns | |
---|---|
Type | Description |
Catalog.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Catalog.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Catalog.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Catalog.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Catalog.Builder |