Class BatchRemoveCatalogAttributesResponse (2.15.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
TypeDescription
int

RESET_CATALOG_ATTRIBUTES_FIELD_NUMBER

public static final int RESET_CATALOG_ATTRIBUTES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BatchRemoveCatalogAttributesResponse getDefaultInstance()
Returns
TypeDescription
BatchRemoveCatalogAttributesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BatchRemoveCatalogAttributesResponse.Builder newBuilder()
Returns
TypeDescription
BatchRemoveCatalogAttributesResponse.Builder

newBuilder(BatchRemoveCatalogAttributesResponse prototype)

public static BatchRemoveCatalogAttributesResponse.Builder newBuilder(BatchRemoveCatalogAttributesResponse prototype)
Parameter
NameDescription
prototypeBatchRemoveCatalogAttributesResponse
Returns
TypeDescription
BatchRemoveCatalogAttributesResponse.Builder

parseDelimitedFrom(InputStream input)

public static BatchRemoveCatalogAttributesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BatchRemoveCatalogAttributesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchRemoveCatalogAttributesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchRemoveCatalogAttributesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BatchRemoveCatalogAttributesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BatchRemoveCatalogAttributesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchRemoveCatalogAttributesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchRemoveCatalogAttributesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchRemoveCatalogAttributesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BatchRemoveCatalogAttributesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchRemoveCatalogAttributesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchRemoveCatalogAttributesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchRemoveCatalogAttributesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BatchRemoveCatalogAttributesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchRemoveCatalogAttributesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchRemoveCatalogAttributesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BatchRemoveCatalogAttributesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BatchRemoveCatalogAttributesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchRemoveCatalogAttributesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchRemoveCatalogAttributesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BatchRemoveCatalogAttributesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BatchRemoveCatalogAttributesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchRemoveCatalogAttributesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchRemoveCatalogAttributesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BatchRemoveCatalogAttributesResponse> parser()
Returns
TypeDescription
Parser<BatchRemoveCatalogAttributesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public BatchRemoveCatalogAttributesResponse getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the deletedCatalogAttributes.

getParserForType()

public Parser<BatchRemoveCatalogAttributesResponse> getParserForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the resetCatalogAttributes.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BatchRemoveCatalogAttributesResponse.Builder newBuilderForType()
Returns
TypeDescription
BatchRemoveCatalogAttributesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BatchRemoveCatalogAttributesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BatchRemoveCatalogAttributesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BatchRemoveCatalogAttributesResponse.Builder toBuilder()
Returns
TypeDescription
BatchRemoveCatalogAttributesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException