public static final class RemoveCatalogAttributeRequest.Builder extends GeneratedMessage.Builder<RemoveCatalogAttributeRequest.Builder> implements RemoveCatalogAttributeRequestOrBuilderRequest for CatalogService.RemoveCatalogAttribute method.
Protobuf type google.cloud.retail.v2beta.RemoveCatalogAttributeRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RemoveCatalogAttributeRequest.BuilderImplements
RemoveCatalogAttributeRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RemoveCatalogAttributeRequest build()| Returns | |
|---|---|
| Type | Description |
RemoveCatalogAttributeRequest |
|
buildPartial()
public RemoveCatalogAttributeRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
RemoveCatalogAttributeRequest |
|
clear()
public RemoveCatalogAttributeRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
RemoveCatalogAttributeRequest.Builder |
|
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) = { ... }
| Returns | |
|---|---|
| Type | Description |
RemoveCatalogAttributeRequest.Builder |
This builder for chaining. |
clearKey()
public RemoveCatalogAttributeRequest.Builder clearKey()Required. The attribute name key of the CatalogAttribute to remove.
string key = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RemoveCatalogAttributeRequest.Builder |
This builder for chaining. |
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()| Returns | |
|---|---|
| Type | Description |
RemoveCatalogAttributeRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getKey()
public String 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RemoveCatalogAttributeRequest other)
public RemoveCatalogAttributeRequest.Builder mergeFrom(RemoveCatalogAttributeRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
RemoveCatalogAttributeRequest |
| Returns | |
|---|---|
| Type | Description |
RemoveCatalogAttributeRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RemoveCatalogAttributeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RemoveCatalogAttributeRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RemoveCatalogAttributeRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RemoveCatalogAttributeRequest.Builder |
|
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 |
StringThe attributesConfig to set. |
| Returns | |
|---|---|
| Type | Description |
RemoveCatalogAttributeRequest.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for attributesConfig to set. |
| Returns | |
|---|---|
| Type | Description |
RemoveCatalogAttributeRequest.Builder |
This builder for chaining. |
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 |
StringThe key to set. |
| Returns | |
|---|---|
| Type | Description |
RemoveCatalogAttributeRequest.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for key to set. |
| Returns | |
|---|---|
| Type | Description |
RemoveCatalogAttributeRequest.Builder |
This builder for chaining. |