Package com.google.cloud.vision.v1
Interface PurgeProductsRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PurgeProductsRequest,PurgeProductsRequest.Builder
@Generated
public interface PurgeProductsRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIf delete_orphan_products is true, all Products that are not in any ProductSet will be deleted.booleangetForce()The default value is false.Required.com.google.protobuf.ByteStringRequired.Specify which ProductSet contains the Products to be deleted.Specify which ProductSet contains the Products to be deleted.booleanIf delete_orphan_products is true, all Products that are not in any ProductSet will be deleted.booleanSpecify which ProductSet contains the Products to be deleted.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-
getTargetCase
PurgeProductsRequest.TargetCase getTargetCase()
-