- 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 ReplaceCatalogAttributeRequest.Builder extends GeneratedMessageV3.Builder<ReplaceCatalogAttributeRequest.Builder> implements ReplaceCatalogAttributeRequestOrBuilder
Request for CatalogService.ReplaceCatalogAttribute method.
Protobuf type google.cloud.retail.v2beta.ReplaceCatalogAttributeRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ReplaceCatalogAttributeRequest.BuilderImplements
ReplaceCatalogAttributeRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReplaceCatalogAttributeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ReplaceCatalogAttributeRequest.Builder |
build()
public ReplaceCatalogAttributeRequest build()
Returns | |
---|---|
Type | Description |
ReplaceCatalogAttributeRequest |
buildPartial()
public ReplaceCatalogAttributeRequest buildPartial()
Returns | |
---|---|
Type | Description |
ReplaceCatalogAttributeRequest |
clear()
public ReplaceCatalogAttributeRequest.Builder clear()
Returns | |
---|---|
Type | Description |
ReplaceCatalogAttributeRequest.Builder |
clearAttributesConfig()
public ReplaceCatalogAttributeRequest.Builder clearAttributesConfig()
Required. Full AttributesConfig resource name. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig
string attributes_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ReplaceCatalogAttributeRequest.Builder | This builder for chaining. |
clearCatalogAttribute()
public ReplaceCatalogAttributeRequest.Builder clearCatalogAttribute()
Required. The updated CatalogAttribute.
.google.cloud.retail.v2beta.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ReplaceCatalogAttributeRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ReplaceCatalogAttributeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ReplaceCatalogAttributeRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ReplaceCatalogAttributeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ReplaceCatalogAttributeRequest.Builder |
clearUpdateMask()
public ReplaceCatalogAttributeRequest.Builder clearUpdateMask()
Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported:
- CatalogAttribute.key
If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 3;
Returns | |
---|---|
Type | Description |
ReplaceCatalogAttributeRequest.Builder |
clone()
public ReplaceCatalogAttributeRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ReplaceCatalogAttributeRequest.Builder |
getAttributesConfig()
public String getAttributesConfig()
Required. Full AttributesConfig resource name. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig
string attributes_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String | The attributesConfig. |
getAttributesConfigBytes()
public ByteString getAttributesConfigBytes()
Required. Full AttributesConfig resource name. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig
string attributes_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for attributesConfig. |
getCatalogAttribute()
public CatalogAttribute getCatalogAttribute()
Required. The updated CatalogAttribute.
.google.cloud.retail.v2beta.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CatalogAttribute | The catalogAttribute. |
getCatalogAttributeBuilder()
public CatalogAttribute.Builder getCatalogAttributeBuilder()
Required. The updated CatalogAttribute.
.google.cloud.retail.v2beta.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CatalogAttribute.Builder |
getCatalogAttributeOrBuilder()
public CatalogAttributeOrBuilder getCatalogAttributeOrBuilder()
Required. The updated CatalogAttribute.
.google.cloud.retail.v2beta.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CatalogAttributeOrBuilder |
getDefaultInstanceForType()
public ReplaceCatalogAttributeRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ReplaceCatalogAttributeRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getUpdateMask()
public FieldMask getUpdateMask()
Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported:
- CatalogAttribute.key
If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 3;
Returns | |
---|---|
Type | Description |
FieldMask | The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported:
- CatalogAttribute.key
If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 3;
Returns | |
---|---|
Type | Description |
Builder |
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported:
- CatalogAttribute.key
If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 3;
Returns | |
---|---|
Type | Description |
FieldMaskOrBuilder |
hasCatalogAttribute()
public boolean hasCatalogAttribute()
Required. The updated CatalogAttribute.
.google.cloud.retail.v2beta.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean | Whether the catalogAttribute field is set. |
hasUpdateMask()
public boolean hasUpdateMask()
Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported:
- CatalogAttribute.key
If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 3;
Returns | |
---|---|
Type | Description |
boolean | Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCatalogAttribute(CatalogAttribute value)
public ReplaceCatalogAttributeRequest.Builder mergeCatalogAttribute(CatalogAttribute value)
Required. The updated CatalogAttribute.
.google.cloud.retail.v2beta.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | CatalogAttribute |
Returns | |
---|---|
Type | Description |
ReplaceCatalogAttributeRequest.Builder |
mergeFrom(ReplaceCatalogAttributeRequest other)
public ReplaceCatalogAttributeRequest.Builder mergeFrom(ReplaceCatalogAttributeRequest other)
Parameter | |
---|---|
Name | Description |
other | ReplaceCatalogAttributeRequest |
Returns | |
---|---|
Type | Description |
ReplaceCatalogAttributeRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReplaceCatalogAttributeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ReplaceCatalogAttributeRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ReplaceCatalogAttributeRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ReplaceCatalogAttributeRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReplaceCatalogAttributeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ReplaceCatalogAttributeRequest.Builder |
mergeUpdateMask(FieldMask value)
public ReplaceCatalogAttributeRequest.Builder mergeUpdateMask(FieldMask value)
Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported:
- CatalogAttribute.key
If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 3;
Parameter | |
---|---|
Name | Description |
value | FieldMask |
Returns | |
---|---|
Type | Description |
ReplaceCatalogAttributeRequest.Builder |
setAttributesConfig(String value)
public ReplaceCatalogAttributeRequest.Builder setAttributesConfig(String value)
Required. Full AttributesConfig resource name. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig
string attributes_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The attributesConfig to set. |
Returns | |
---|---|
Type | Description |
ReplaceCatalogAttributeRequest.Builder | This builder for chaining. |
setAttributesConfigBytes(ByteString value)
public ReplaceCatalogAttributeRequest.Builder setAttributesConfigBytes(ByteString value)
Required. Full AttributesConfig resource name. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig
string attributes_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for attributesConfig to set. |
Returns | |
---|---|
Type | Description |
ReplaceCatalogAttributeRequest.Builder | This builder for chaining. |
setCatalogAttribute(CatalogAttribute value)
public ReplaceCatalogAttributeRequest.Builder setCatalogAttribute(CatalogAttribute value)
Required. The updated CatalogAttribute.
.google.cloud.retail.v2beta.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | CatalogAttribute |
Returns | |
---|---|
Type | Description |
ReplaceCatalogAttributeRequest.Builder |
setCatalogAttribute(CatalogAttribute.Builder builderForValue)
public ReplaceCatalogAttributeRequest.Builder setCatalogAttribute(CatalogAttribute.Builder builderForValue)
Required. The updated CatalogAttribute.
.google.cloud.retail.v2beta.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue | CatalogAttribute.Builder |
Returns | |
---|---|
Type | Description |
ReplaceCatalogAttributeRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ReplaceCatalogAttributeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ReplaceCatalogAttributeRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReplaceCatalogAttributeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ReplaceCatalogAttributeRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ReplaceCatalogAttributeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ReplaceCatalogAttributeRequest.Builder |
setUpdateMask(FieldMask value)
public ReplaceCatalogAttributeRequest.Builder setUpdateMask(FieldMask value)
Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported:
- CatalogAttribute.key
If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 3;
Parameter | |
---|---|
Name | Description |
value | FieldMask |
Returns | |
---|---|
Type | Description |
ReplaceCatalogAttributeRequest.Builder |
setUpdateMask(FieldMask.Builder builderForValue)
public ReplaceCatalogAttributeRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported:
- CatalogAttribute.key
If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 3;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
ReplaceCatalogAttributeRequest.Builder |