Interface PurgeProductsRequestOrBuilder (3.52.0)

public interface PurgeProductsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDeleteOrphanProducts()

public abstract 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
Type Description
boolean

The deleteOrphanProducts.

getForce()

public abstract boolean getForce()

The default value is false. Override this value to true to actually perform the purge.

bool force = 4;

Returns
Type Description
boolean

The force.

getParent()

public abstract 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
Type Description
String

The parent.

getParentBytes()

public abstract 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
Type Description
ByteString

The bytes for parent.

getProductSetPurgeConfig()

public abstract ProductSetPurgeConfig getProductSetPurgeConfig()

Specify which ProductSet contains the Products to be deleted.

.google.cloud.vision.v1.ProductSetPurgeConfig product_set_purge_config = 2;

Returns
Type Description
ProductSetPurgeConfig

The productSetPurgeConfig.

getProductSetPurgeConfigOrBuilder()

public abstract ProductSetPurgeConfigOrBuilder getProductSetPurgeConfigOrBuilder()

Specify which ProductSet contains the Products to be deleted.

.google.cloud.vision.v1.ProductSetPurgeConfig product_set_purge_config = 2;

Returns
Type Description
ProductSetPurgeConfigOrBuilder

getTargetCase()

public abstract PurgeProductsRequest.TargetCase getTargetCase()
Returns
Type Description
PurgeProductsRequest.TargetCase

hasDeleteOrphanProducts()

public abstract 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
Type Description
boolean

Whether the deleteOrphanProducts field is set.

hasProductSetPurgeConfig()

public abstract boolean hasProductSetPurgeConfig()

Specify which ProductSet contains the Products to be deleted.

.google.cloud.vision.v1.ProductSetPurgeConfig product_set_purge_config = 2;

Returns
Type Description
boolean

Whether the productSetPurgeConfig field is set.