All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.retail.v2.DeleteProductRequestOrBuilder Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/retail/v2/product_service.proto

// Protobuf Java Version: 3.25.5
package com.google.cloud.retail.v2;

public interface DeleteProductRequestOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.retail.v2.DeleteProductRequest)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Required. Full resource name of [Product][google.cloud.retail.v2.Product],
   * such as
   * `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`.
   *
   * If the caller does not have permission to delete the
   * [Product][google.cloud.retail.v2.Product], regardless of whether or not it
   * exists, a PERMISSION_DENIED error is returned.
   *
   * If the [Product][google.cloud.retail.v2.Product] to delete does not exist,
   * a NOT_FOUND error is returned.
   *
   * The [Product][google.cloud.retail.v2.Product] to delete can neither be a
   * [Product.Type.COLLECTION][google.cloud.retail.v2.Product.Type.COLLECTION]
   * [Product][google.cloud.retail.v2.Product] member nor a
   * [Product.Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY]
   * [Product][google.cloud.retail.v2.Product] with more than one
   * [variants][google.cloud.retail.v2.Product.Type.VARIANT]. Otherwise, an
   * INVALID_ARGUMENT error is returned.
   *
   * All inventory information for the named
   * [Product][google.cloud.retail.v2.Product] will be deleted.
   * 
* * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The name. */ java.lang.String getName(); /** * * *
   * Required. Full resource name of [Product][google.cloud.retail.v2.Product],
   * such as
   * `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`.
   *
   * If the caller does not have permission to delete the
   * [Product][google.cloud.retail.v2.Product], regardless of whether or not it
   * exists, a PERMISSION_DENIED error is returned.
   *
   * If the [Product][google.cloud.retail.v2.Product] to delete does not exist,
   * a NOT_FOUND error is returned.
   *
   * The [Product][google.cloud.retail.v2.Product] to delete can neither be a
   * [Product.Type.COLLECTION][google.cloud.retail.v2.Product.Type.COLLECTION]
   * [Product][google.cloud.retail.v2.Product] member nor a
   * [Product.Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY]
   * [Product][google.cloud.retail.v2.Product] with more than one
   * [variants][google.cloud.retail.v2.Product.Type.VARIANT]. Otherwise, an
   * INVALID_ARGUMENT error is returned.
   *
   * All inventory information for the named
   * [Product][google.cloud.retail.v2.Product] will be deleted.
   * 
* * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy