public final class BatchRemoveCatalogAttributesRequest extends GeneratedMessageV3 implements BatchRemoveCatalogAttributesRequestOrBuilder
Request for
CatalogService.BatchRemoveCatalogAttributes
method.
Protobuf type google.cloud.retail.v2alpha.BatchRemoveCatalogAttributesRequest
Static Fields
ATTRIBUTES_CONFIG_FIELD_NUMBER
public static final int ATTRIBUTES_CONFIG_FIELD_NUMBER
Field Value
ATTRIBUTE_KEYS_FIELD_NUMBER
public static final int ATTRIBUTE_KEYS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static BatchRemoveCatalogAttributesRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static BatchRemoveCatalogAttributesRequest.Builder newBuilder()
Returns
newBuilder(BatchRemoveCatalogAttributesRequest prototype)
public static BatchRemoveCatalogAttributesRequest.Builder newBuilder(BatchRemoveCatalogAttributesRequest prototype)
Parameter
Returns
public static BatchRemoveCatalogAttributesRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchRemoveCatalogAttributesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BatchRemoveCatalogAttributesRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchRemoveCatalogAttributesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BatchRemoveCatalogAttributesRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchRemoveCatalogAttributesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchRemoveCatalogAttributesRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BatchRemoveCatalogAttributesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchRemoveCatalogAttributesRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchRemoveCatalogAttributesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BatchRemoveCatalogAttributesRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BatchRemoveCatalogAttributesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BatchRemoveCatalogAttributesRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
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
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
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
Type | Description |
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
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
Type | Description |
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
Type | Description |
ByteString | The bytes for attributesConfig.
|
getDefaultInstanceForType()
public BatchRemoveCatalogAttributesRequest getDefaultInstanceForType()
Returns
getParserForType()
public Parser<BatchRemoveCatalogAttributesRequest> getParserForType()
Returns
Overrides
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 BatchRemoveCatalogAttributesRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BatchRemoveCatalogAttributesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public BatchRemoveCatalogAttributesRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions