Class UpdateAttributesConfigRequest (2.51.0)

public final class UpdateAttributesConfigRequest extends GeneratedMessageV3 implements UpdateAttributesConfigRequestOrBuilder

Request for CatalogService.UpdateAttributesConfig method.

Protobuf type google.cloud.retail.v2beta.UpdateAttributesConfigRequest

Static Fields

ATTRIBUTES_CONFIG_FIELD_NUMBER

public static final int ATTRIBUTES_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateAttributesConfigRequest getDefaultInstance()
Returns
Type Description
UpdateAttributesConfigRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static UpdateAttributesConfigRequest.Builder newBuilder()
Returns
Type Description
UpdateAttributesConfigRequest.Builder

newBuilder(UpdateAttributesConfigRequest prototype)

public static UpdateAttributesConfigRequest.Builder newBuilder(UpdateAttributesConfigRequest prototype)
Parameter
Name Description
prototype UpdateAttributesConfigRequest
Returns
Type Description
UpdateAttributesConfigRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateAttributesConfigRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateAttributesConfigRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateAttributesConfigRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAttributesConfigRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateAttributesConfigRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateAttributesConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateAttributesConfigRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAttributesConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateAttributesConfigRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateAttributesConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateAttributesConfigRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAttributesConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateAttributesConfigRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateAttributesConfigRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateAttributesConfigRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAttributesConfigRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateAttributesConfigRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateAttributesConfigRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateAttributesConfigRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAttributesConfigRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateAttributesConfigRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateAttributesConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateAttributesConfigRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAttributesConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateAttributesConfigRequest> parser()
Returns
Type Description
Parser<UpdateAttributesConfigRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAttributesConfig()

public AttributesConfig getAttributesConfig()

Required. The AttributesConfig to update.

.google.cloud.retail.v2beta.AttributesConfig attributes_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AttributesConfig

The attributesConfig.

getAttributesConfigOrBuilder()

public AttributesConfigOrBuilder getAttributesConfigOrBuilder()

Required. The AttributesConfig to update.

.google.cloud.retail.v2beta.AttributesConfig attributes_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AttributesConfigOrBuilder

getDefaultInstanceForType()

public UpdateAttributesConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateAttributesConfigRequest

getParserForType()

public Parser<UpdateAttributesConfigRequest> getParserForType()
Returns
Type Description
Parser<UpdateAttributesConfigRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Indicates which fields in the provided AttributesConfig to update. The following is the only supported field:

  • AttributesConfig.catalog_attributes

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Indicates which fields in the provided AttributesConfig to update. The following is the only supported field:

  • AttributesConfig.catalog_attributes

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasAttributesConfig()

public boolean hasAttributesConfig()

Required. The AttributesConfig to update.

.google.cloud.retail.v2beta.AttributesConfig attributes_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the attributesConfig field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Indicates which fields in the provided AttributesConfig to update. The following is the only supported field:

  • AttributesConfig.catalog_attributes

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateAttributesConfigRequest.Builder newBuilderForType()
Returns
Type Description
UpdateAttributesConfigRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateAttributesConfigRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateAttributesConfigRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UpdateAttributesConfigRequest.Builder toBuilder()
Returns
Type Description
UpdateAttributesConfigRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException