Class RemoveCatalogAttributeRequest (2.16.0)

public final class RemoveCatalogAttributeRequest extends GeneratedMessageV3 implements RemoveCatalogAttributeRequestOrBuilder

Request for CatalogService.RemoveCatalogAttribute method.

Protobuf type google.cloud.retail.v2.RemoveCatalogAttributeRequest

Static Fields

ATTRIBUTES_CONFIG_FIELD_NUMBER

public static final int ATTRIBUTES_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

KEY_FIELD_NUMBER

public static final int KEY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RemoveCatalogAttributeRequest getDefaultInstance()
Returns
TypeDescription
RemoveCatalogAttributeRequest

getDescriptor()

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

newBuilder()

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

newBuilder(RemoveCatalogAttributeRequest prototype)

public static RemoveCatalogAttributeRequest.Builder newBuilder(RemoveCatalogAttributeRequest prototype)
Parameter
NameDescription
prototypeRemoveCatalogAttributeRequest
Returns
TypeDescription
RemoveCatalogAttributeRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAttributesConfig()

public String getAttributesConfig()

Required. Full AttributesConfig resource name. 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. Full AttributesConfig resource name. 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 RemoveCatalogAttributeRequest getDefaultInstanceForType()
Returns
TypeDescription
RemoveCatalogAttributeRequest

getKey()

public String getKey()

Required. The attribute name key of the CatalogAttribute to remove.

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

Returns
TypeDescription
String

The key.

getKeyBytes()

public ByteString getKeyBytes()

Required. The attribute name key of the CatalogAttribute to remove.

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

Returns
TypeDescription
ByteString

The bytes for key.

getParserForType()

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

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 RemoveCatalogAttributeRequest.Builder newBuilderForType()
Returns
TypeDescription
RemoveCatalogAttributeRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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