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