Package com.google.cloud.retail.v2alpha
Interface ReplaceCatalogAttributeRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReplaceCatalogAttributeRequest
,ReplaceCatalogAttributeRequest.Builder
public interface ReplaceCatalogAttributeRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAttributesConfig()
Required.com.google.protobuf.ByteString
getAttributesConfigBytes()
Required.CatalogAttribute
getCatalogAttribute()
Required.CatalogAttributeOrBuilder
getCatalogAttributeOrBuilder()
Required.com.google.protobuf.FieldMask
getUpdateMask()
Indicates which fields in the provided [CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute] to update.com.google.protobuf.FieldMaskOrBuilder
getUpdateMaskOrBuilder()
Indicates which fields in the provided [CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute] to update.boolean
hasCatalogAttribute()
Required.boolean
hasUpdateMask()
Indicates which fields in the provided [CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute] to update.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAttributesConfig
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:
- The attributesConfig.
-
getAttributesConfigBytes
com.google.protobuf.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:
- The bytes for attributesConfig.
-
hasCatalogAttribute
boolean hasCatalogAttribute()
Required. The updated [CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute].
.google.cloud.retail.v2alpha.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the catalogAttribute field is set.
-
getCatalogAttribute
CatalogAttribute getCatalogAttribute()
Required. The updated [CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute].
.google.cloud.retail.v2alpha.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The catalogAttribute.
-
getCatalogAttributeOrBuilder
CatalogAttributeOrBuilder getCatalogAttributeOrBuilder()
Required. The updated [CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute].
.google.cloud.retail.v2alpha.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];
-
hasUpdateMask
boolean hasUpdateMask()
Indicates which fields in the provided [CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute] to update. The following are NOT supported: * [CatalogAttribute.key][google.cloud.retail.v2alpha.CatalogAttribute.key] If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 3;
- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
com.google.protobuf.FieldMask getUpdateMask()
Indicates which fields in the provided [CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute] to update. The following are NOT supported: * [CatalogAttribute.key][google.cloud.retail.v2alpha.CatalogAttribute.key] If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 3;
- Returns:
- The updateMask.
-
getUpdateMaskOrBuilder
com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
Indicates which fields in the provided [CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute] to update. The following are NOT supported: * [CatalogAttribute.key][google.cloud.retail.v2alpha.CatalogAttribute.key] If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 3;
-
-