- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.1
- 2.4.0
- 2.3.0
- 2.2.3
- 2.1.0
- 2.0.19
public static final class BatchRemoveCatalogAttributesResponse.Builder extends GeneratedMessageV3.Builder<BatchRemoveCatalogAttributesResponse.Builder> implements BatchRemoveCatalogAttributesResponseOrBuilder
Response of the CatalogService.BatchRemoveCatalogAttributes.
Protobuf type google.cloud.retail.v2beta.BatchRemoveCatalogAttributesResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BatchRemoveCatalogAttributesResponse.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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;
Name | Description |
values | Iterable<String> The deletedCatalogAttributes to add. |
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;
Name | Description |
values | Iterable<String> The resetCatalogAttributes to add. |
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;
Name | Description |
value | String The deletedCatalogAttributes to add. |
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;
Name | Description |
value | ByteString The bytes of the deletedCatalogAttributes to add. |
Type | Description |
BatchRemoveCatalogAttributesResponse.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchRemoveCatalogAttributesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BatchRemoveCatalogAttributesResponse.Builder |
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;
Name | Description |
value | String The resetCatalogAttributes to add. |
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;
Name | Description |
value | ByteString The bytes of the resetCatalogAttributes to add. |
Type | Description |
BatchRemoveCatalogAttributesResponse.Builder | This builder for chaining. |
build()
public BatchRemoveCatalogAttributesResponse build()
Type | Description |
BatchRemoveCatalogAttributesResponse |
buildPartial()
public BatchRemoveCatalogAttributesResponse buildPartial()
Type | Description |
BatchRemoveCatalogAttributesResponse |
clear()
public BatchRemoveCatalogAttributesResponse.Builder clear()
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;
Type | Description |
BatchRemoveCatalogAttributesResponse.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public BatchRemoveCatalogAttributesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
BatchRemoveCatalogAttributesResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchRemoveCatalogAttributesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
BatchRemoveCatalogAttributesResponse.Builder |
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;
Type | Description |
BatchRemoveCatalogAttributesResponse.Builder | This builder for chaining. |
clone()
public BatchRemoveCatalogAttributesResponse.Builder clone()
Type | Description |
BatchRemoveCatalogAttributesResponse.Builder |
getDefaultInstanceForType()
public BatchRemoveCatalogAttributesResponse getDefaultInstanceForType()
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;
Name | Description |
index | int The index of the element to return. |
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;
Name | Description |
index | int The index of the value to return. |
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;
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;
Type | Description |
ProtocolStringList | A list containing the deletedCatalogAttributes. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
Name | Description |
index | int The index of the element to return. |
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;
Name | Description |
index | int The index of the value to return. |
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;
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;
Type | Description |
ProtocolStringList | A list containing the resetCatalogAttributes. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(BatchRemoveCatalogAttributesResponse other)
public BatchRemoveCatalogAttributesResponse.Builder mergeFrom(BatchRemoveCatalogAttributesResponse other)
Name | Description |
other | BatchRemoveCatalogAttributesResponse |
Type | Description |
BatchRemoveCatalogAttributesResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchRemoveCatalogAttributesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BatchRemoveCatalogAttributesResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public BatchRemoveCatalogAttributesResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
BatchRemoveCatalogAttributesResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchRemoveCatalogAttributesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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;
Name | Description |
index | int The index to set the value at. |
value | String The deletedCatalogAttributes to set. |
Type | Description |
BatchRemoveCatalogAttributesResponse.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public BatchRemoveCatalogAttributesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BatchRemoveCatalogAttributesResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchRemoveCatalogAttributesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
BatchRemoveCatalogAttributesResponse.Builder |
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;
Name | Description |
index | int The index to set the value at. |
value | String The resetCatalogAttributes to set. |
Type | Description |
BatchRemoveCatalogAttributesResponse.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchRemoveCatalogAttributesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BatchRemoveCatalogAttributesResponse.Builder |