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
@Generated
public interface ReplaceCatalogAttributeRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Required.Required.com.google.protobuf.FieldMaskIndicates which fields in the provided [CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute] to update.com.google.protobuf.FieldMaskOrBuilderIndicates which fields in the provided [CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute] to update.booleanRequired.booleanIndicates which fields in the provided [CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute] to update.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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;
-