Package com.google.cloud.retail.v2
Interface UpdateCatalogRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateCatalogRequest
,UpdateCatalogRequest.Builder
public interface UpdateCatalogRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Catalog
getCatalog()
Required.CatalogOrBuilder
getCatalogOrBuilder()
Required.com.google.protobuf.FieldMask
getUpdateMask()
Indicates which fields in the provided [Catalog][google.cloud.retail.v2.Catalog] to update.com.google.protobuf.FieldMaskOrBuilder
getUpdateMaskOrBuilder()
Indicates which fields in the provided [Catalog][google.cloud.retail.v2.Catalog] to update.boolean
hasCatalog()
Required.boolean
hasUpdateMask()
Indicates which fields in the provided [Catalog][google.cloud.retail.v2.Catalog] to update.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCatalog
boolean hasCatalog()
Required. The [Catalog][google.cloud.retail.v2.Catalog] to update. If the caller does not have permission to update the [Catalog][google.cloud.retail.v2.Catalog], regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the [Catalog][google.cloud.retail.v2.Catalog] to update does not exist, a NOT_FOUND error is returned.
.google.cloud.retail.v2.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the catalog field is set.
-
getCatalog
Catalog getCatalog()
Required. The [Catalog][google.cloud.retail.v2.Catalog] to update. If the caller does not have permission to update the [Catalog][google.cloud.retail.v2.Catalog], regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the [Catalog][google.cloud.retail.v2.Catalog] to update does not exist, a NOT_FOUND error is returned.
.google.cloud.retail.v2.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The catalog.
-
getCatalogOrBuilder
CatalogOrBuilder getCatalogOrBuilder()
Required. The [Catalog][google.cloud.retail.v2.Catalog] to update. If the caller does not have permission to update the [Catalog][google.cloud.retail.v2.Catalog], regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the [Catalog][google.cloud.retail.v2.Catalog] to update does not exist, a NOT_FOUND error is returned.
.google.cloud.retail.v2.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];
-
hasUpdateMask
boolean hasUpdateMask()
Indicates which fields in the provided [Catalog][google.cloud.retail.v2.Catalog] to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
.google.protobuf.FieldMask update_mask = 2;
- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
com.google.protobuf.FieldMask getUpdateMask()
Indicates which fields in the provided [Catalog][google.cloud.retail.v2.Catalog] to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
.google.protobuf.FieldMask update_mask = 2;
- Returns:
- The updateMask.
-
getUpdateMaskOrBuilder
com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
Indicates which fields in the provided [Catalog][google.cloud.retail.v2.Catalog] to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
.google.protobuf.FieldMask update_mask = 2;
-
-