- 3.53.0 (latest)
- 3.52.0
- 3.51.0
- 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PurgeProductsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PurgeProductsRequest.Builder |
build()
public PurgeProductsRequest build()
Returns | |
---|---|
Type | Description |
PurgeProductsRequest |
buildPartial()
public PurgeProductsRequest buildPartial()
Returns | |
---|---|
Type | Description |
PurgeProductsRequest |
clear()
public PurgeProductsRequest.Builder clear()
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
PurgeProductsRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PurgeProductsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
PurgeProductsRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public PurgeProductsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
PurgeProductsRequest.Builder |
clearTarget()
public PurgeProductsRequest.Builder clearTarget()
Returns | |
---|---|
Type | Description |
PurgeProductsRequest.Builder |
clone()
public PurgeProductsRequest.Builder clone()
Returns | |
---|---|
Type | Description |
PurgeProductsRequest.Builder |
getDefaultInstanceForType()
public PurgeProductsRequest getDefaultInstanceForType()
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean |
The deleteOrphanProducts. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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;
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ProductSetPurgeConfigOrBuilder |
getTargetCase()
public PurgeProductsRequest.TargetCase getTargetCase()
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the productSetPurgeConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(PurgeProductsRequest other)
public PurgeProductsRequest.Builder mergeFrom(PurgeProductsRequest other)
Parameter | |
---|---|
Name | Description |
other |
PurgeProductsRequest |
Returns | |
---|---|
Type | Description |
PurgeProductsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PurgeProductsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PurgeProductsRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public PurgeProductsRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ProductSetPurgeConfig |
Returns | |
---|---|
Type | Description |
PurgeProductsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PurgeProductsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
boolean The deleteOrphanProducts to set. |
Returns | |
---|---|
Type | Description |
PurgeProductsRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PurgeProductsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
boolean The force to set. |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ProductSetPurgeConfig |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
ProductSetPurgeConfig.Builder |
Returns | |
---|---|
Type | Description |
PurgeProductsRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PurgeProductsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
PurgeProductsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final PurgeProductsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PurgeProductsRequest.Builder |