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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateAttributesConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
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.v2alpha.AttributesConfig attributes_config = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public UpdateAttributesConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateAttributesConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
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.v2alpha.AttributesConfig attributes_config = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getAttributesConfigBuilder()
public AttributesConfig.Builder getAttributesConfigBuilder()
Required. The
AttributesConfig to update.
.google.cloud.retail.v2alpha.AttributesConfig attributes_config = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getAttributesConfigOrBuilder()
public AttributesConfigOrBuilder getAttributesConfigOrBuilder()
Required. The
AttributesConfig to update.
.google.cloud.retail.v2alpha.AttributesConfig attributes_config = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public UpdateAttributesConfigRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
hasAttributesConfig()
public boolean hasAttributesConfig()
Required. The
AttributesConfig to update.
.google.cloud.retail.v2alpha.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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(UpdateAttributesConfigRequest other)
public UpdateAttributesConfigRequest.Builder mergeFrom(UpdateAttributesConfigRequest other)
Parameter
Returns
public UpdateAttributesConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateAttributesConfigRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAttributesConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateAttributesConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateAttributesConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAttributesConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
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
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
Name | Description |
builderForValue | Builder
|
Returns