- 3.51.0 (latest)
- 3.50.0
- 3.49.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.3
- 2.1.4
- 2.0.29
public static final class PurgeProductsRequest.Builder extends GeneratedMessageV3.Builder<PurgeProductsRequest.Builder> implements PurgeProductsRequestOrBuilder
Request message for the PurgeProducts
method.
Protobuf type google.cloud.vision.v1.PurgeProductsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PurgeProductsRequest.BuilderImplements
PurgeProductsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PurgeProductsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PurgeProductsRequest.Builder |
build()
public PurgeProductsRequest build()
Type | Description |
PurgeProductsRequest |
buildPartial()
public PurgeProductsRequest buildPartial()
Type | Description |
PurgeProductsRequest |
clear()
public PurgeProductsRequest.Builder clear()
Type | Description |
PurgeProductsRequest.Builder |
clearDeleteOrphanProducts()
public PurgeProductsRequest.Builder clearDeleteOrphanProducts()
If delete_orphan_products is true, all Products that are not in any ProductSet will be deleted.
bool delete_orphan_products = 3;
Type | Description |
PurgeProductsRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PurgeProductsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
PurgeProductsRequest.Builder |
clearForce()
public PurgeProductsRequest.Builder clearForce()
The default value is false. Override this value to true to actually perform the purge.
bool force = 4;
Type | Description |
PurgeProductsRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public PurgeProductsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
PurgeProductsRequest.Builder |
clearParent()
public PurgeProductsRequest.Builder clearParent()
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) = { ... }
Type | Description |
PurgeProductsRequest.Builder | This builder for chaining. |
clearProductSetPurgeConfig()
public PurgeProductsRequest.Builder clearProductSetPurgeConfig()
Specify which ProductSet contains the Products to be deleted.
.google.cloud.vision.v1.ProductSetPurgeConfig product_set_purge_config = 2;
Type | Description |
PurgeProductsRequest.Builder |
clearTarget()
public PurgeProductsRequest.Builder clearTarget()
Type | Description |
PurgeProductsRequest.Builder |
clone()
public PurgeProductsRequest.Builder clone()
Type | Description |
PurgeProductsRequest.Builder |
getDefaultInstanceForType()
public PurgeProductsRequest getDefaultInstanceForType()
Type | Description |
PurgeProductsRequest |
getDeleteOrphanProducts()
public boolean getDeleteOrphanProducts()
If delete_orphan_products is true, all Products that are not in any ProductSet will be deleted.
bool delete_orphan_products = 3;
Type | Description |
boolean | The deleteOrphanProducts. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getForce()
public boolean getForce()
The default value is false. Override this value to true to actually perform the purge.
bool force = 4;
Type | Description |
boolean | The force. |
getParent()
public 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) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public 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) = { ... }
Type | Description |
ByteString | The bytes for parent. |
getProductSetPurgeConfig()
public ProductSetPurgeConfig getProductSetPurgeConfig()
Specify which ProductSet contains the Products to be deleted.
.google.cloud.vision.v1.ProductSetPurgeConfig product_set_purge_config = 2;
Type | Description |
ProductSetPurgeConfig | The productSetPurgeConfig. |
getProductSetPurgeConfigBuilder()
public ProductSetPurgeConfig.Builder getProductSetPurgeConfigBuilder()
Specify which ProductSet contains the Products to be deleted.
.google.cloud.vision.v1.ProductSetPurgeConfig product_set_purge_config = 2;
Type | Description |
ProductSetPurgeConfig.Builder |
getProductSetPurgeConfigOrBuilder()
public ProductSetPurgeConfigOrBuilder getProductSetPurgeConfigOrBuilder()
Specify which ProductSet contains the Products to be deleted.
.google.cloud.vision.v1.ProductSetPurgeConfig product_set_purge_config = 2;
Type | Description |
ProductSetPurgeConfigOrBuilder |
getTargetCase()
public PurgeProductsRequest.TargetCase getTargetCase()
Type | Description |
PurgeProductsRequest.TargetCase |
hasDeleteOrphanProducts()
public boolean hasDeleteOrphanProducts()
If delete_orphan_products is true, all Products that are not in any ProductSet will be deleted.
bool delete_orphan_products = 3;
Type | Description |
boolean | Whether the deleteOrphanProducts field is set. |
hasProductSetPurgeConfig()
public boolean hasProductSetPurgeConfig()
Specify which ProductSet contains the Products to be deleted.
.google.cloud.vision.v1.ProductSetPurgeConfig product_set_purge_config = 2;
Type | Description |
boolean | Whether the productSetPurgeConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(PurgeProductsRequest other)
public PurgeProductsRequest.Builder mergeFrom(PurgeProductsRequest other)
Name | Description |
other | PurgeProductsRequest |
Type | Description |
PurgeProductsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PurgeProductsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PurgeProductsRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public PurgeProductsRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
PurgeProductsRequest.Builder |
mergeProductSetPurgeConfig(ProductSetPurgeConfig value)
public PurgeProductsRequest.Builder mergeProductSetPurgeConfig(ProductSetPurgeConfig value)
Specify which ProductSet contains the Products to be deleted.
.google.cloud.vision.v1.ProductSetPurgeConfig product_set_purge_config = 2;
Name | Description |
value | ProductSetPurgeConfig |
Type | Description |
PurgeProductsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PurgeProductsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PurgeProductsRequest.Builder |
setDeleteOrphanProducts(boolean value)
public PurgeProductsRequest.Builder setDeleteOrphanProducts(boolean value)
If delete_orphan_products is true, all Products that are not in any ProductSet will be deleted.
bool delete_orphan_products = 3;
Name | Description |
value | boolean The deleteOrphanProducts to set. |
Type | Description |
PurgeProductsRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PurgeProductsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PurgeProductsRequest.Builder |
setForce(boolean value)
public PurgeProductsRequest.Builder setForce(boolean value)
The default value is false. Override this value to true to actually perform the purge.
bool force = 4;
Name | Description |
value | boolean The force to set. |
Type | Description |
PurgeProductsRequest.Builder | This builder for chaining. |
setParent(String value)
public PurgeProductsRequest.Builder setParent(String value)
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) = { ... }
Name | Description |
value | String The parent to set. |
Type | Description |
PurgeProductsRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public PurgeProductsRequest.Builder setParentBytes(ByteString value)
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) = { ... }
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
PurgeProductsRequest.Builder | This builder for chaining. |
setProductSetPurgeConfig(ProductSetPurgeConfig value)
public PurgeProductsRequest.Builder setProductSetPurgeConfig(ProductSetPurgeConfig value)
Specify which ProductSet contains the Products to be deleted.
.google.cloud.vision.v1.ProductSetPurgeConfig product_set_purge_config = 2;
Name | Description |
value | ProductSetPurgeConfig |
Type | Description |
PurgeProductsRequest.Builder |
setProductSetPurgeConfig(ProductSetPurgeConfig.Builder builderForValue)
public PurgeProductsRequest.Builder setProductSetPurgeConfig(ProductSetPurgeConfig.Builder builderForValue)
Specify which ProductSet contains the Products to be deleted.
.google.cloud.vision.v1.ProductSetPurgeConfig product_set_purge_config = 2;
Name | Description |
builderForValue | ProductSetPurgeConfig.Builder |
Type | Description |
PurgeProductsRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PurgeProductsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
PurgeProductsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final PurgeProductsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PurgeProductsRequest.Builder |