public static final class ReplaceCatalogAttributeRequest.Builder extends GeneratedMessageV3.Builder<ReplaceCatalogAttributeRequest.Builder> implements ReplaceCatalogAttributeRequestOrBuilder
Request for
CatalogService.ReplaceCatalogAttribute
method.
Protobuf type google.cloud.retail.v2alpha.ReplaceCatalogAttributeRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReplaceCatalogAttributeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ReplaceCatalogAttributeRequest build()
buildPartial()
public ReplaceCatalogAttributeRequest buildPartial()
clear()
public ReplaceCatalogAttributeRequest.Builder clear()
Overrides
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) = { ... }
clearCatalogAttribute()
public ReplaceCatalogAttributeRequest.Builder clearCatalogAttribute()
Required. The updated
CatalogAttribute.
.google.cloud.retail.v2alpha.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public ReplaceCatalogAttributeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ReplaceCatalogAttributeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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;
clone()
public ReplaceCatalogAttributeRequest.Builder clone()
Overrides
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.v2alpha.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];
getCatalogAttributeBuilder()
public CatalogAttribute.Builder getCatalogAttributeBuilder()
Required. The updated
CatalogAttribute.
.google.cloud.retail.v2alpha.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];
getCatalogAttributeOrBuilder()
public CatalogAttributeOrBuilder getCatalogAttributeOrBuilder()
Required. The updated
CatalogAttribute.
.google.cloud.retail.v2alpha.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public ReplaceCatalogAttributeRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
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;
hasCatalogAttribute()
public boolean hasCatalogAttribute()
Required. The updated
CatalogAttribute.
.google.cloud.retail.v2alpha.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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCatalogAttribute(CatalogAttribute value)
public ReplaceCatalogAttributeRequest.Builder mergeCatalogAttribute(CatalogAttribute value)
Required. The updated
CatalogAttribute.
.google.cloud.retail.v2alpha.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(ReplaceCatalogAttributeRequest other)
public ReplaceCatalogAttributeRequest.Builder mergeFrom(ReplaceCatalogAttributeRequest other)
public ReplaceCatalogAttributeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ReplaceCatalogAttributeRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReplaceCatalogAttributeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
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.
|
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.
|
setCatalogAttribute(CatalogAttribute value)
public ReplaceCatalogAttributeRequest.Builder setCatalogAttribute(CatalogAttribute value)
Required. The updated
CatalogAttribute.
.google.cloud.retail.v2alpha.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];
setCatalogAttribute(CatalogAttribute.Builder builderForValue)
public ReplaceCatalogAttributeRequest.Builder setCatalogAttribute(CatalogAttribute.Builder builderForValue)
Required. The updated
CatalogAttribute.
.google.cloud.retail.v2alpha.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public ReplaceCatalogAttributeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReplaceCatalogAttributeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ReplaceCatalogAttributeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
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
|