Class BatchRemoveCatalogAttributesResponse (2.44.0)

public final class BatchRemoveCatalogAttributesResponse extends GeneratedMessageV3 implements BatchRemoveCatalogAttributesResponseOrBuilder

Response of the CatalogService.BatchRemoveCatalogAttributes.

Protobuf type google.cloud.retail.v2beta.BatchRemoveCatalogAttributesResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BatchRemoveCatalogAttributesResponse

Static Fields

DELETED_CATALOG_ATTRIBUTES_FIELD_NUMBER

public static final int DELETED_CATALOG_ATTRIBUTES_FIELD_NUMBER
Field Value
Type Description
int

RESET_CATALOG_ATTRIBUTES_FIELD_NUMBER

public static final int RESET_CATALOG_ATTRIBUTES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchRemoveCatalogAttributesResponse getDefaultInstance()
Returns
Type Description
BatchRemoveCatalogAttributesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BatchRemoveCatalogAttributesResponse.Builder newBuilder()
Returns
Type Description
BatchRemoveCatalogAttributesResponse.Builder

newBuilder(BatchRemoveCatalogAttributesResponse prototype)

public static BatchRemoveCatalogAttributesResponse.Builder newBuilder(BatchRemoveCatalogAttributesResponse prototype)
Parameter
Name Description
prototype BatchRemoveCatalogAttributesResponse
Returns
Type Description
BatchRemoveCatalogAttributesResponse.Builder

parseDelimitedFrom(InputStream input)

public static BatchRemoveCatalogAttributesResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchRemoveCatalogAttributesResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchRemoveCatalogAttributesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchRemoveCatalogAttributesResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BatchRemoveCatalogAttributesResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BatchRemoveCatalogAttributesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchRemoveCatalogAttributesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchRemoveCatalogAttributesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchRemoveCatalogAttributesResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BatchRemoveCatalogAttributesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchRemoveCatalogAttributesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchRemoveCatalogAttributesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchRemoveCatalogAttributesResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BatchRemoveCatalogAttributesResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchRemoveCatalogAttributesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchRemoveCatalogAttributesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BatchRemoveCatalogAttributesResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchRemoveCatalogAttributesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchRemoveCatalogAttributesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchRemoveCatalogAttributesResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BatchRemoveCatalogAttributesResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BatchRemoveCatalogAttributesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchRemoveCatalogAttributesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchRemoveCatalogAttributesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BatchRemoveCatalogAttributesResponse> parser()
Returns
Type Description
Parser<BatchRemoveCatalogAttributesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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.

getParserForType()

public Parser<BatchRemoveCatalogAttributesResponse> getParserForType()
Returns
Type Description
Parser<BatchRemoveCatalogAttributesResponse>
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
Type Description
ProtocolStringList

A list containing the resetCatalogAttributes.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BatchRemoveCatalogAttributesResponse.Builder newBuilderForType()
Returns
Type Description
BatchRemoveCatalogAttributesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BatchRemoveCatalogAttributesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BatchRemoveCatalogAttributesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BatchRemoveCatalogAttributesResponse.Builder toBuilder()
Returns
Type Description
BatchRemoveCatalogAttributesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException