public final class BatchRemoveCatalogAttributesResponse extends GeneratedMessageV3 implements BatchRemoveCatalogAttributesResponseOrBuilder
Response of the
CatalogService.BatchRemoveCatalogAttributes.
Protobuf type google.cloud.retail.v2beta.BatchRemoveCatalogAttributesResponse
Static Fields
DELETED_CATALOG_ATTRIBUTES_FIELD_NUMBER
public static final int DELETED_CATALOG_ATTRIBUTES_FIELD_NUMBER
Field Value
RESET_CATALOG_ATTRIBUTES_FIELD_NUMBER
public static final int RESET_CATALOG_ATTRIBUTES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static BatchRemoveCatalogAttributesResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static BatchRemoveCatalogAttributesResponse.Builder newBuilder()
Returns
newBuilder(BatchRemoveCatalogAttributesResponse prototype)
public static BatchRemoveCatalogAttributesResponse.Builder newBuilder(BatchRemoveCatalogAttributesResponse prototype)
Parameter
Returns
public static BatchRemoveCatalogAttributesResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchRemoveCatalogAttributesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BatchRemoveCatalogAttributesResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchRemoveCatalogAttributesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BatchRemoveCatalogAttributesResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchRemoveCatalogAttributesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchRemoveCatalogAttributesResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BatchRemoveCatalogAttributesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchRemoveCatalogAttributesResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchRemoveCatalogAttributesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BatchRemoveCatalogAttributesResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BatchRemoveCatalogAttributesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BatchRemoveCatalogAttributesResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public BatchRemoveCatalogAttributesResponse getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<BatchRemoveCatalogAttributesResponse> getParserForType()
Returns
Overrides
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public BatchRemoveCatalogAttributesResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BatchRemoveCatalogAttributesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public BatchRemoveCatalogAttributesResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions