Interface PurgeProductsRequestOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    PurgeProductsRequest, PurgeProductsRequest.Builder

    public interface PurgeProductsRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasProductSetPurgeConfig

        boolean hasProductSetPurgeConfig()
         Specify which ProductSet contains the Products to be deleted.
         
        .google.cloud.vision.v1.ProductSetPurgeConfig product_set_purge_config = 2;
        Returns:
        Whether the productSetPurgeConfig field is set.
      • getProductSetPurgeConfig

        ProductSetPurgeConfig getProductSetPurgeConfig()
         Specify which ProductSet contains the Products to be deleted.
         
        .google.cloud.vision.v1.ProductSetPurgeConfig product_set_purge_config = 2;
        Returns:
        The productSetPurgeConfig.
      • getProductSetPurgeConfigOrBuilder

        ProductSetPurgeConfigOrBuilder getProductSetPurgeConfigOrBuilder()
         Specify which ProductSet contains the Products to be deleted.
         
        .google.cloud.vision.v1.ProductSetPurgeConfig product_set_purge_config = 2;
      • hasDeleteOrphanProducts

        boolean hasDeleteOrphanProducts()
         If delete_orphan_products is true, all Products that are not in any
         ProductSet will be deleted.
         
        bool delete_orphan_products = 3;
        Returns:
        Whether the deleteOrphanProducts field is set.
      • getDeleteOrphanProducts

        boolean getDeleteOrphanProducts()
         If delete_orphan_products is true, all Products that are not in any
         ProductSet will be deleted.
         
        bool delete_orphan_products = 3;
        Returns:
        The deleteOrphanProducts.
      • getParent

        String getParent()
         Required. The project and location in which the Products should be deleted.
        
         Format is `projects/PROJECT_ID/locations/LOC_ID`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The parent.
      • getParentBytes

        com.google.protobuf.ByteString getParentBytes()
         Required. The project and location in which the Products should be deleted.
        
         Format is `projects/PROJECT_ID/locations/LOC_ID`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for parent.
      • getForce

        boolean getForce()
         The default value is false. Override this value to true to actually perform
         the purge.
         
        bool force = 4;
        Returns:
        The force.