public static final class RemoveCatalogAttributeRequest.Builder extends GeneratedMessageV3.Builder<RemoveCatalogAttributeRequest.Builder> implements RemoveCatalogAttributeRequestOrBuilder
Request for
CatalogService.RemoveCatalogAttribute
method.
Protobuf type google.cloud.retail.v2alpha.RemoveCatalogAttributeRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 RemoveCatalogAttributeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RemoveCatalogAttributeRequest build()
buildPartial()
public RemoveCatalogAttributeRequest buildPartial()
clear()
public RemoveCatalogAttributeRequest.Builder clear()
Overrides
clearAttributesConfig()
public RemoveCatalogAttributeRequest.Builder clearAttributesConfig()
Required. Full AttributesConfig resource name. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig
string attributes_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearField(Descriptors.FieldDescriptor field)
public RemoveCatalogAttributeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearKey()
public RemoveCatalogAttributeRequest.Builder clearKey()
Required. The attribute name key of the
CatalogAttribute to remove.
string key = 2 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public RemoveCatalogAttributeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public RemoveCatalogAttributeRequest.Builder clone()
Overrides
getAttributesConfig()
public String getAttributesConfig()
Required. Full AttributesConfig resource name. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig
string attributes_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The attributesConfig.
|
getAttributesConfigBytes()
public ByteString getAttributesConfigBytes()
Required. Full AttributesConfig resource name. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig
string attributes_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for attributesConfig.
|
getDefaultInstanceForType()
public RemoveCatalogAttributeRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getKey()
Required. The attribute name key of the
CatalogAttribute to remove.
string key = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The key.
|
getKeyBytes()
public ByteString getKeyBytes()
Required. The attribute name key of the
CatalogAttribute to remove.
string key = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for key.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RemoveCatalogAttributeRequest other)
public RemoveCatalogAttributeRequest.Builder mergeFrom(RemoveCatalogAttributeRequest other)
public RemoveCatalogAttributeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RemoveCatalogAttributeRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RemoveCatalogAttributeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAttributesConfig(String value)
public RemoveCatalogAttributeRequest.Builder setAttributesConfig(String value)
Required. Full AttributesConfig resource name. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig
string attributes_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The attributesConfig to set.
|
setAttributesConfigBytes(ByteString value)
public RemoveCatalogAttributeRequest.Builder setAttributesConfigBytes(ByteString value)
Required. Full AttributesConfig resource name. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig
string attributes_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for attributesConfig to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public RemoveCatalogAttributeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setKey(String value)
public RemoveCatalogAttributeRequest.Builder setKey(String value)
Required. The attribute name key of the
CatalogAttribute to remove.
string key = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The key to set.
|
setKeyBytes(ByteString value)
public RemoveCatalogAttributeRequest.Builder setKeyBytes(ByteString value)
Required. The attribute name key of the
CatalogAttribute to remove.
string key = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for key to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RemoveCatalogAttributeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RemoveCatalogAttributeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides