Class UpdateAttributesConfigRequest.Builder (2.50.0)

public static final class UpdateAttributesConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateAttributesConfigRequest.Builder> implements UpdateAttributesConfigRequestOrBuilder

Request for CatalogService.UpdateAttributesConfig method.

Protobuf type google.cloud.retail.v2.UpdateAttributesConfigRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateAttributesConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateAttributesConfigRequest.Builder
Overrides

build()

public UpdateAttributesConfigRequest build()
Returns
Type Description
UpdateAttributesConfigRequest

buildPartial()

public UpdateAttributesConfigRequest buildPartial()
Returns
Type Description
UpdateAttributesConfigRequest

clear()

public UpdateAttributesConfigRequest.Builder clear()
Returns
Type Description
UpdateAttributesConfigRequest.Builder
Overrides

clearAttributesConfig()

public UpdateAttributesConfigRequest.Builder clearAttributesConfig()

Required. The AttributesConfig to update.

.google.cloud.retail.v2.AttributesConfig attributes_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateAttributesConfigRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateAttributesConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateAttributesConfigRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateAttributesConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateAttributesConfigRequest.Builder
Overrides

clearUpdateMask()

public UpdateAttributesConfigRequest.Builder clearUpdateMask()

Indicates which fields in the provided AttributesConfig to update. The following is the only supported field:

  • AttributesConfig.catalog_attributes

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateAttributesConfigRequest.Builder

clone()

public UpdateAttributesConfigRequest.Builder clone()
Returns
Type Description
UpdateAttributesConfigRequest.Builder
Overrides

getAttributesConfig()

public AttributesConfig getAttributesConfig()

Required. The AttributesConfig to update.

.google.cloud.retail.v2.AttributesConfig attributes_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AttributesConfig

The attributesConfig.

getAttributesConfigBuilder()

public AttributesConfig.Builder getAttributesConfigBuilder()

Required. The AttributesConfig to update.

.google.cloud.retail.v2.AttributesConfig attributes_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AttributesConfig.Builder

getAttributesConfigOrBuilder()

public AttributesConfigOrBuilder getAttributesConfigOrBuilder()

Required. The AttributesConfig to update.

.google.cloud.retail.v2.AttributesConfig attributes_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AttributesConfigOrBuilder

getDefaultInstanceForType()

public UpdateAttributesConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateAttributesConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Indicates which fields in the provided AttributesConfig to update. The following is the only supported field:

  • AttributesConfig.catalog_attributes

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Indicates which fields in the provided AttributesConfig to update. The following is the only supported field:

  • AttributesConfig.catalog_attributes

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Indicates which fields in the provided AttributesConfig to update. The following is the only supported field:

  • AttributesConfig.catalog_attributes

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasAttributesConfig()

public boolean hasAttributesConfig()

Required. The AttributesConfig to update.

.google.cloud.retail.v2.AttributesConfig attributes_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the attributesConfig field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Indicates which fields in the provided AttributesConfig to update. The following is the only supported field:

  • AttributesConfig.catalog_attributes

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAttributesConfig(AttributesConfig value)

public UpdateAttributesConfigRequest.Builder mergeAttributesConfig(AttributesConfig value)

Required. The AttributesConfig to update.

.google.cloud.retail.v2.AttributesConfig attributes_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AttributesConfig
Returns
Type Description
UpdateAttributesConfigRequest.Builder

mergeFrom(UpdateAttributesConfigRequest other)

public UpdateAttributesConfigRequest.Builder mergeFrom(UpdateAttributesConfigRequest other)
Parameter
Name Description
other UpdateAttributesConfigRequest
Returns
Type Description
UpdateAttributesConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateAttributesConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAttributesConfigRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateAttributesConfigRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateAttributesConfigRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAttributesConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateAttributesConfigRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateAttributesConfigRequest.Builder mergeUpdateMask(FieldMask value)

Indicates which fields in the provided AttributesConfig to update. The following is the only supported field:

  • AttributesConfig.catalog_attributes

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateAttributesConfigRequest.Builder

setAttributesConfig(AttributesConfig value)

public UpdateAttributesConfigRequest.Builder setAttributesConfig(AttributesConfig value)

Required. The AttributesConfig to update.

.google.cloud.retail.v2.AttributesConfig attributes_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AttributesConfig
Returns
Type Description
UpdateAttributesConfigRequest.Builder

setAttributesConfig(AttributesConfig.Builder builderForValue)

public UpdateAttributesConfigRequest.Builder setAttributesConfig(AttributesConfig.Builder builderForValue)

Required. The AttributesConfig to update.

.google.cloud.retail.v2.AttributesConfig attributes_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue AttributesConfig.Builder
Returns
Type Description
UpdateAttributesConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateAttributesConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateAttributesConfigRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateAttributesConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateAttributesConfigRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAttributesConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateAttributesConfigRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateAttributesConfigRequest.Builder setUpdateMask(FieldMask value)

Indicates which fields in the provided AttributesConfig to update. The following is the only supported field:

  • AttributesConfig.catalog_attributes

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateAttributesConfigRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateAttributesConfigRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Indicates which fields in the provided AttributesConfig to update. The following is the only supported field:

  • AttributesConfig.catalog_attributes

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateAttributesConfigRequest.Builder