Class UpdateAttributesConfigRequest (2.30.0)

public final class UpdateAttributesConfigRequest extends GeneratedMessageV3 implements UpdateAttributesConfigRequestOrBuilder

Request for CatalogService.UpdateAttributesConfig method.

Protobuf type google.cloud.retail.v2.UpdateAttributesConfigRequest

Static Fields

ATTRIBUTES_CONFIG_FIELD_NUMBER

public static final int ATTRIBUTES_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateAttributesConfigRequest getDefaultInstance()
Returns
TypeDescription
UpdateAttributesConfigRequest

getDescriptor()

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

newBuilder()

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

newBuilder(UpdateAttributesConfigRequest prototype)

public static UpdateAttributesConfigRequest.Builder newBuilder(UpdateAttributesConfigRequest prototype)
Parameter
NameDescription
prototypeUpdateAttributesConfigRequest
Returns
TypeDescription
UpdateAttributesConfigRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAttributesConfig()

public AttributesConfig getAttributesConfig()

Required. The AttributesConfig to update.

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

Returns
TypeDescription
AttributesConfig

The attributesConfig.

getAttributesConfigOrBuilder()

public AttributesConfigOrBuilder getAttributesConfigOrBuilder()

Required. The AttributesConfig to update.

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

Returns
TypeDescription
AttributesConfigOrBuilder

getDefaultInstanceForType()

public UpdateAttributesConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateAttributesConfigRequest

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
FieldMaskOrBuilder

hasAttributesConfig()

public boolean hasAttributesConfig()

Required. The AttributesConfig to update.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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