Class UpdateAttributesConfigRequest.Builder (2.2.3)

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

Request for CatalogService.UpdateAttributesConfig method.

Protobuf type google.cloud.retail.v2beta.UpdateAttributesConfigRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateAttributesConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns Overrides

build()

public UpdateAttributesConfigRequest build()
Returns

buildPartial()

public UpdateAttributesConfigRequest buildPartial()
Returns

clear()

public UpdateAttributesConfigRequest.Builder clear()
Returns Overrides

clearAttributesConfig()

public UpdateAttributesConfigRequest.Builder clearAttributesConfig()

Required. The AttributesConfig to update.

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

Returns

clearField(Descriptors.FieldDescriptor field)

public UpdateAttributesConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateAttributesConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns 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

clone()

public UpdateAttributesConfigRequest.Builder clone()
Returns Overrides

getAttributesConfig()

public AttributesConfig getAttributesConfig()

Required. The AttributesConfig to update.

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

Returns
TypeDescription
AttributesConfig

The attributesConfig.

getAttributesConfigBuilder()

public AttributesConfig.Builder getAttributesConfigBuilder()

Required. The AttributesConfig to update.

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

Returns

getAttributesConfigOrBuilder()

public AttributesConfigOrBuilder getAttributesConfigOrBuilder()

Required. The AttributesConfig to update.

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

Returns

getDefaultInstanceForType()

public UpdateAttributesConfigRequest getDefaultInstanceForType()
Returns

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
FieldMaskOrBuilder

hasAttributesConfig()

public boolean hasAttributesConfig()

Required. The AttributesConfig to update.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAttributesConfig(AttributesConfig value)

public UpdateAttributesConfigRequest.Builder mergeAttributesConfig(AttributesConfig value)

Required. The AttributesConfig to update.

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

Parameter
NameDescription
valueAttributesConfig
Returns

mergeFrom(UpdateAttributesConfigRequest other)

public UpdateAttributesConfigRequest.Builder mergeFrom(UpdateAttributesConfigRequest other)
Parameter
NameDescription
otherUpdateAttributesConfigRequest
Returns

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateAttributesConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateAttributesConfigRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAttributesConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns 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
NameDescription
valueFieldMask
Returns

setAttributesConfig(AttributesConfig value)

public UpdateAttributesConfigRequest.Builder setAttributesConfig(AttributesConfig value)

Required. The AttributesConfig to update.

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

Parameter
NameDescription
valueAttributesConfig
Returns

setAttributesConfig(AttributesConfig.Builder builderForValue)

public UpdateAttributesConfigRequest.Builder setAttributesConfig(AttributesConfig.Builder builderForValue)

Required. The AttributesConfig to update.

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

Parameter
NameDescription
builderForValueAttributesConfig.Builder
Returns

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateAttributesConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns Overrides

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

public UpdateAttributesConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAttributesConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns 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
NameDescription
valueFieldMask
Returns

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
NameDescription
builderForValueBuilder
Returns