public static final class BatchRemoveCatalogAttributesResponse.Builder extends GeneratedMessage.Builder<BatchRemoveCatalogAttributesResponse.Builder> implements BatchRemoveCatalogAttributesResponseOrBuilderResponse of the CatalogService.BatchRemoveCatalogAttributes.
Protobuf type google.cloud.retail.v2beta.BatchRemoveCatalogAttributesResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BatchRemoveCatalogAttributesResponse.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllDeletedCatalogAttributes(Iterable<String> values)
public BatchRemoveCatalogAttributesResponse.Builder addAllDeletedCatalogAttributes(Iterable<String> values)Catalog attributes that were deleted. Only pre-loaded catalog attributes that are neither in use by products nor predefined can be deleted.
repeated string deleted_catalog_attributes = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The deletedCatalogAttributes to add. |
| Returns | |
|---|---|
| Type | Description |
BatchRemoveCatalogAttributesResponse.Builder |
This builder for chaining. |
addAllResetCatalogAttributes(Iterable<String> values)
public BatchRemoveCatalogAttributesResponse.Builder addAllResetCatalogAttributes(Iterable<String> values)Catalog attributes that were reset. Catalog attributes that are either in use by products or are predefined attributes cannot be deleted; however, their configuration properties will reset to default values upon removal request.
repeated string reset_catalog_attributes = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The resetCatalogAttributes to add. |
| Returns | |
|---|---|
| Type | Description |
BatchRemoveCatalogAttributesResponse.Builder |
This builder for chaining. |
addDeletedCatalogAttributes(String value)
public BatchRemoveCatalogAttributesResponse.Builder addDeletedCatalogAttributes(String value)Catalog attributes that were deleted. Only pre-loaded catalog attributes that are neither in use by products nor predefined can be deleted.
repeated string deleted_catalog_attributes = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe deletedCatalogAttributes to add. |
| Returns | |
|---|---|
| Type | Description |
BatchRemoveCatalogAttributesResponse.Builder |
This builder for chaining. |
addDeletedCatalogAttributesBytes(ByteString value)
public BatchRemoveCatalogAttributesResponse.Builder addDeletedCatalogAttributesBytes(ByteString value)Catalog attributes that were deleted. Only pre-loaded catalog attributes that are neither in use by products nor predefined can be deleted.
repeated string deleted_catalog_attributes = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the deletedCatalogAttributes to add. |
| Returns | |
|---|---|
| Type | Description |
BatchRemoveCatalogAttributesResponse.Builder |
This builder for chaining. |
addResetCatalogAttributes(String value)
public BatchRemoveCatalogAttributesResponse.Builder addResetCatalogAttributes(String value)Catalog attributes that were reset. Catalog attributes that are either in use by products or are predefined attributes cannot be deleted; however, their configuration properties will reset to default values upon removal request.
repeated string reset_catalog_attributes = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe resetCatalogAttributes to add. |
| Returns | |
|---|---|
| Type | Description |
BatchRemoveCatalogAttributesResponse.Builder |
This builder for chaining. |
addResetCatalogAttributesBytes(ByteString value)
public BatchRemoveCatalogAttributesResponse.Builder addResetCatalogAttributesBytes(ByteString value)Catalog attributes that were reset. Catalog attributes that are either in use by products or are predefined attributes cannot be deleted; however, their configuration properties will reset to default values upon removal request.
repeated string reset_catalog_attributes = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the resetCatalogAttributes to add. |
| Returns | |
|---|---|
| Type | Description |
BatchRemoveCatalogAttributesResponse.Builder |
This builder for chaining. |
build()
public BatchRemoveCatalogAttributesResponse build()| Returns | |
|---|---|
| Type | Description |
BatchRemoveCatalogAttributesResponse |
|
buildPartial()
public BatchRemoveCatalogAttributesResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
BatchRemoveCatalogAttributesResponse |
|
clear()
public BatchRemoveCatalogAttributesResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
BatchRemoveCatalogAttributesResponse.Builder |
|
clearDeletedCatalogAttributes()
public BatchRemoveCatalogAttributesResponse.Builder clearDeletedCatalogAttributes()Catalog attributes that were deleted. Only pre-loaded catalog attributes that are neither in use by products nor predefined can be deleted.
repeated string deleted_catalog_attributes = 1;
| Returns | |
|---|---|
| Type | Description |
BatchRemoveCatalogAttributesResponse.Builder |
This builder for chaining. |
clearResetCatalogAttributes()
public BatchRemoveCatalogAttributesResponse.Builder clearResetCatalogAttributes()Catalog attributes that were reset. Catalog attributes that are either in use by products or are predefined attributes cannot be deleted; however, their configuration properties will reset to default values upon removal request.
repeated string reset_catalog_attributes = 2;
| Returns | |
|---|---|
| Type | Description |
BatchRemoveCatalogAttributesResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public BatchRemoveCatalogAttributesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BatchRemoveCatalogAttributesResponse |
|
getDeletedCatalogAttributes(int index)
public String getDeletedCatalogAttributes(int index)Catalog attributes that were deleted. Only pre-loaded catalog attributes that are neither in use by products nor predefined can be deleted.
repeated string deleted_catalog_attributes = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The deletedCatalogAttributes at the given index. |
getDeletedCatalogAttributesBytes(int index)
public ByteString getDeletedCatalogAttributesBytes(int index)Catalog attributes that were deleted. Only pre-loaded catalog attributes that are neither in use by products nor predefined can be deleted.
repeated string deleted_catalog_attributes = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the deletedCatalogAttributes at the given index. |
getDeletedCatalogAttributesCount()
public int getDeletedCatalogAttributesCount()Catalog attributes that were deleted. Only pre-loaded catalog attributes that are neither in use by products nor predefined can be deleted.
repeated string deleted_catalog_attributes = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The count of deletedCatalogAttributes. |
getDeletedCatalogAttributesList()
public ProtocolStringList getDeletedCatalogAttributesList()Catalog attributes that were deleted. Only pre-loaded catalog attributes that are neither in use by products nor predefined can be deleted.
repeated string deleted_catalog_attributes = 1;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the deletedCatalogAttributes. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getResetCatalogAttributes(int index)
public String getResetCatalogAttributes(int index)Catalog attributes that were reset. Catalog attributes that are either in use by products or are predefined attributes cannot be deleted; however, their configuration properties will reset to default values upon removal request.
repeated string reset_catalog_attributes = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The resetCatalogAttributes at the given index. |
getResetCatalogAttributesBytes(int index)
public ByteString getResetCatalogAttributesBytes(int index)Catalog attributes that were reset. Catalog attributes that are either in use by products or are predefined attributes cannot be deleted; however, their configuration properties will reset to default values upon removal request.
repeated string reset_catalog_attributes = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the resetCatalogAttributes at the given index. |
getResetCatalogAttributesCount()
public int getResetCatalogAttributesCount()Catalog attributes that were reset. Catalog attributes that are either in use by products or are predefined attributes cannot be deleted; however, their configuration properties will reset to default values upon removal request.
repeated string reset_catalog_attributes = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The count of resetCatalogAttributes. |
getResetCatalogAttributesList()
public ProtocolStringList getResetCatalogAttributesList()Catalog attributes that were reset. Catalog attributes that are either in use by products or are predefined attributes cannot be deleted; however, their configuration properties will reset to default values upon removal request.
repeated string reset_catalog_attributes = 2;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the resetCatalogAttributes. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BatchRemoveCatalogAttributesResponse other)
public BatchRemoveCatalogAttributesResponse.Builder mergeFrom(BatchRemoveCatalogAttributesResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
BatchRemoveCatalogAttributesResponse |
| Returns | |
|---|---|
| Type | Description |
BatchRemoveCatalogAttributesResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchRemoveCatalogAttributesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BatchRemoveCatalogAttributesResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BatchRemoveCatalogAttributesResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BatchRemoveCatalogAttributesResponse.Builder |
|
setDeletedCatalogAttributes(int index, String value)
public BatchRemoveCatalogAttributesResponse.Builder setDeletedCatalogAttributes(int index, String value)Catalog attributes that were deleted. Only pre-loaded catalog attributes that are neither in use by products nor predefined can be deleted.
repeated string deleted_catalog_attributes = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe deletedCatalogAttributes to set. |
| Returns | |
|---|---|
| Type | Description |
BatchRemoveCatalogAttributesResponse.Builder |
This builder for chaining. |
setResetCatalogAttributes(int index, String value)
public BatchRemoveCatalogAttributesResponse.Builder setResetCatalogAttributes(int index, String value)Catalog attributes that were reset. Catalog attributes that are either in use by products or are predefined attributes cannot be deleted; however, their configuration properties will reset to default values upon removal request.
repeated string reset_catalog_attributes = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe resetCatalogAttributes to set. |
| Returns | |
|---|---|
| Type | Description |
BatchRemoveCatalogAttributesResponse.Builder |
This builder for chaining. |