Class BatchRemoveCatalogAttributesRequest (2.34.0)

public final class BatchRemoveCatalogAttributesRequest extends GeneratedMessageV3 implements BatchRemoveCatalogAttributesRequestOrBuilder

Request for CatalogService.BatchRemoveCatalogAttributes method.

Protobuf type google.cloud.retail.v2alpha.BatchRemoveCatalogAttributesRequest

Inheritance

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

Static Fields

ATTRIBUTES_CONFIG_FIELD_NUMBER

public static final int ATTRIBUTES_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

ATTRIBUTE_KEYS_FIELD_NUMBER

public static final int ATTRIBUTE_KEYS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BatchRemoveCatalogAttributesRequest getDefaultInstance()
Returns
TypeDescription
BatchRemoveCatalogAttributesRequest

getDescriptor()

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

newBuilder()

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

newBuilder(BatchRemoveCatalogAttributesRequest prototype)

public static BatchRemoveCatalogAttributesRequest.Builder newBuilder(BatchRemoveCatalogAttributesRequest prototype)
Parameter
NameDescription
prototypeBatchRemoveCatalogAttributesRequest
Returns
TypeDescription
BatchRemoveCatalogAttributesRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAttributeKeys(int index)

public String getAttributeKeys(int index)

Required. The attribute name keys of the CatalogAttributes to delete. A maximum of 1000 catalog attributes can be deleted in a batch.

repeated string attribute_keys = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The attributeKeys at the given index.

getAttributeKeysBytes(int index)

public ByteString getAttributeKeysBytes(int index)

Required. The attribute name keys of the CatalogAttributes to delete. A maximum of 1000 catalog attributes can be deleted in a batch.

repeated string attribute_keys = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the attributeKeys at the given index.

getAttributeKeysCount()

public int getAttributeKeysCount()

Required. The attribute name keys of the CatalogAttributes to delete. A maximum of 1000 catalog attributes can be deleted in a batch.

repeated string attribute_keys = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The count of attributeKeys.

getAttributeKeysList()

public ProtocolStringList getAttributeKeysList()

Required. The attribute name keys of the CatalogAttributes to delete. A maximum of 1000 catalog attributes can be deleted in a batch.

repeated string attribute_keys = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ProtocolStringList

A list containing the attributeKeys.

getAttributesConfig()

public String getAttributesConfig()

Required. The attributes config resource shared by all catalog attributes being deleted. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig

string attributes_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The attributesConfig.

getAttributesConfigBytes()

public ByteString getAttributesConfigBytes()

Required. The attributes config resource shared by all catalog attributes being deleted. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig

string attributes_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for attributesConfig.

getDefaultInstanceForType()

public BatchRemoveCatalogAttributesRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchRemoveCatalogAttributesRequest

getParserForType()

public Parser<BatchRemoveCatalogAttributesRequest> getParserForType()
Returns
TypeDescription
Parser<BatchRemoveCatalogAttributesRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 BatchRemoveCatalogAttributesRequest.Builder newBuilderForType()
Returns
TypeDescription
BatchRemoveCatalogAttributesRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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