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