public final class RemoveCatalogAttributeRequest extends GeneratedMessageV3 implements RemoveCatalogAttributeRequestOrBuilder
Request for
CatalogService.RemoveCatalogAttribute
method.
Protobuf type google.cloud.retail.v2beta.RemoveCatalogAttributeRequest
Static Fields
ATTRIBUTES_CONFIG_FIELD_NUMBER
public static final int ATTRIBUTES_CONFIG_FIELD_NUMBER
Field Value
KEY_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static RemoveCatalogAttributeRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static RemoveCatalogAttributeRequest.Builder newBuilder()
Returns
newBuilder(RemoveCatalogAttributeRequest prototype)
public static RemoveCatalogAttributeRequest.Builder newBuilder(RemoveCatalogAttributeRequest prototype)
Parameter
Returns
public static RemoveCatalogAttributeRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static RemoveCatalogAttributeRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static RemoveCatalogAttributeRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RemoveCatalogAttributeRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static RemoveCatalogAttributeRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RemoveCatalogAttributeRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RemoveCatalogAttributeRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static RemoveCatalogAttributeRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RemoveCatalogAttributeRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static RemoveCatalogAttributeRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static RemoveCatalogAttributeRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RemoveCatalogAttributeRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<RemoveCatalogAttributeRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
Type | Description |
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
Type | Description |
ByteString | The bytes for attributesConfig.
|
getDefaultInstanceForType()
public RemoveCatalogAttributeRequest getDefaultInstanceForType()
Returns
getKey()
Required. The attribute name key of the
CatalogAttribute to remove.
string key = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getKeyBytes()
public ByteString getKeyBytes()
Required. The attribute name key of the
CatalogAttribute to remove.
string key = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getParserForType()
public Parser<RemoveCatalogAttributeRequest> 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 RemoveCatalogAttributeRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RemoveCatalogAttributeRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public RemoveCatalogAttributeRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions