Interface UpdateCatalogRequestOrBuilder (2.49.0)

public interface UpdateCatalogRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCatalog()

public abstract Catalog getCatalog()

Required. The Catalog to update.

If the caller does not have permission to update the Catalog, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

If the Catalog to update does not exist, a NOT_FOUND error is returned.

.google.cloud.retail.v2beta.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Catalog

The catalog.

getCatalogOrBuilder()

public abstract CatalogOrBuilder getCatalogOrBuilder()

Required. The Catalog to update.

If the caller does not have permission to update the Catalog, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

If the Catalog to update does not exist, a NOT_FOUND error is returned.

.google.cloud.retail.v2beta.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CatalogOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Indicates which fields in the provided Catalog to update.

If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Indicates which fields in the provided Catalog to update.

If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasCatalog()

public abstract boolean hasCatalog()

Required. The Catalog to update.

If the caller does not have permission to update the Catalog, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

If the Catalog to update does not exist, a NOT_FOUND error is returned.

.google.cloud.retail.v2beta.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the catalog field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Indicates which fields in the provided Catalog to update.

If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.