- 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()
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 | String The 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 | ByteString The bytes of the deletedCatalogAttributes to add. |
Returns | |
---|---|
Type | Description |
BatchRemoveCatalogAttributesResponse.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchRemoveCatalogAttributesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The 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 | ByteString The 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. |
clearField(Descriptors.FieldDescriptor field)
public BatchRemoveCatalogAttributesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
BatchRemoveCatalogAttributesResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchRemoveCatalogAttributesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
BatchRemoveCatalogAttributesResponse.Builder | This builder for chaining. |
clone()
public BatchRemoveCatalogAttributesResponse.Builder clone()
Returns | |
---|---|
Type | Description |
BatchRemoveCatalogAttributesResponse.Builder |
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 | int The 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 | int The 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 | int The 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 | int The 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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchRemoveCatalogAttributesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
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 | int The index to set the value at. |
value | String The deletedCatalogAttributes to set. |
Returns | |
---|---|
Type | Description |
BatchRemoveCatalogAttributesResponse.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public BatchRemoveCatalogAttributesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
BatchRemoveCatalogAttributesResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchRemoveCatalogAttributesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The resetCatalogAttributes to set. |
Returns | |
---|---|
Type | Description |
BatchRemoveCatalogAttributesResponse.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchRemoveCatalogAttributesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BatchRemoveCatalogAttributesResponse.Builder |