Interface PurgeProductsRequestOrBuilder (3.4.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

getProductSetPurgeConfig()

public abstract ProductSetPurgeConfig getProductSetPurgeConfig()

Specify which ProductSet contains the Products to be deleted.

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

Returns
TypeDescription
ProductSetPurgeConfig

The productSetPurgeConfig.

getProductSetPurgeConfigOrBuilder()

public abstract ProductSetPurgeConfigOrBuilder getProductSetPurgeConfigOrBuilder()

Specify which ProductSet contains the Products to be deleted.

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

Returns
TypeDescription
ProductSetPurgeConfigOrBuilder

getTargetCase()

public abstract PurgeProductsRequest.TargetCase getTargetCase()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the deleteOrphanProducts field is set.

hasProductSetPurgeConfig()

public abstract boolean hasProductSetPurgeConfig()

Specify which ProductSet contains the Products to be deleted.

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

Returns
TypeDescription
boolean

Whether the productSetPurgeConfig field is set.