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 |
---|
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UpdateAttributesConfigRequest.Builder newBuilder()
newBuilder(UpdateAttributesConfigRequest prototype)
public static UpdateAttributesConfigRequest.Builder newBuilder(UpdateAttributesConfigRequest prototype)
public static UpdateAttributesConfigRequest parseDelimitedFrom(InputStream input)
public static UpdateAttributesConfigRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UpdateAttributesConfigRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateAttributesConfigRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UpdateAttributesConfigRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateAttributesConfigRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateAttributesConfigRequest parseFrom(CodedInputStream input)
public static UpdateAttributesConfigRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateAttributesConfigRequest parseFrom(InputStream input)
public static UpdateAttributesConfigRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UpdateAttributesConfigRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateAttributesConfigRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UpdateAttributesConfigRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAttributesConfig()
public AttributesConfig getAttributesConfig()
Required. The AttributesConfig
to update.
.google.cloud.retail.v2.AttributesConfig attributes_config = 1 [(.google.api.field_behavior) = REQUIRED];
getAttributesConfigOrBuilder()
public AttributesConfigOrBuilder getAttributesConfigOrBuilder()
Required. The AttributesConfig
to update.
.google.cloud.retail.v2.AttributesConfig attributes_config = 1 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public UpdateAttributesConfigRequest getDefaultInstanceForType()
getParserForType()
public Parser<UpdateAttributesConfigRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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;
hasAttributesConfig()
public boolean hasAttributesConfig()
Required. The AttributesConfig
to update.
.google.cloud.retail.v2.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()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UpdateAttributesConfigRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateAttributesConfigRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public UpdateAttributesConfigRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides