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
public interface PurgeProductsRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getDeleteOrphanProducts()
If delete_orphan_products is true, all Products that are not in any ProductSet will be deleted.boolean
getForce()
The default value is false.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.ProductSetPurgeConfig
getProductSetPurgeConfig()
Specify which ProductSet contains the Products to be deleted.ProductSetPurgeConfigOrBuilder
getProductSetPurgeConfigOrBuilder()
Specify which ProductSet contains the Products to be deleted.PurgeProductsRequest.TargetCase
getTargetCase()
boolean
hasDeleteOrphanProducts()
If delete_orphan_products is true, all Products that are not in any ProductSet will be deleted.boolean
hasProductSetPurgeConfig()
Specify which ProductSet contains the Products to be deleted.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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.
-
getTargetCase
PurgeProductsRequest.TargetCase getTargetCase()
-
-