Class UpdateAttributesConfigRequest.Builder (2.7.0)

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

Request for CatalogService.UpdateAttributesConfig method.

Protobuf type google.cloud.retail.v2alpha.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
TypeDescription
UpdateAttributesConfigRequest.Builder
Overrides

build()

public UpdateAttributesConfigRequest build()
Returns
TypeDescription
UpdateAttributesConfigRequest

buildPartial()

public UpdateAttributesConfigRequest buildPartial()
Returns
TypeDescription
UpdateAttributesConfigRequest

clear()

public UpdateAttributesConfigRequest.Builder clear()
Returns
TypeDescription
UpdateAttributesConfigRequest.Builder
Overrides

clearAttributesConfig()

public UpdateAttributesConfigRequest.Builder clearAttributesConfig()

Required. The AttributesConfig to update.

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

Returns
TypeDescription
UpdateAttributesConfigRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public UpdateAttributesConfigRequest.Builder clone()
Returns
TypeDescription
UpdateAttributesConfigRequest.Builder
Overrides

getAttributesConfig()

public AttributesConfig getAttributesConfig()

Required. The AttributesConfig to update.

.google.cloud.retail.v2alpha.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.v2alpha.AttributesConfig attributes_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AttributesConfig.Builder

getAttributesConfigOrBuilder()

public AttributesConfigOrBuilder getAttributesConfigOrBuilder()

Required. The AttributesConfig to update.

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

Returns
TypeDescription
AttributesConfigOrBuilder

getDefaultInstanceForType()

public UpdateAttributesConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateAttributesConfigRequest

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.v2alpha.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.v2alpha.AttributesConfig attributes_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueAttributesConfig
Returns
TypeDescription
UpdateAttributesConfigRequest.Builder

mergeFrom(UpdateAttributesConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAttributesConfig(AttributesConfig value)

public UpdateAttributesConfigRequest.Builder setAttributesConfig(AttributesConfig value)

Required. The AttributesConfig to update.

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

Parameter
NameDescription
valueAttributesConfig
Returns
TypeDescription
UpdateAttributesConfigRequest.Builder

setAttributesConfig(AttributesConfig.Builder builderForValue)

public UpdateAttributesConfigRequest.Builder setAttributesConfig(AttributesConfig.Builder builderForValue)

Required. The AttributesConfig to update.

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

Parameter
NameDescription
builderForValueAttributesConfig.Builder
Returns
TypeDescription
UpdateAttributesConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateAttributesConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateAttributesConfigRequest.Builder
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
TypeDescription
UpdateAttributesConfigRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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