Class PurgeProductsRequest.Builder (2.1.4)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PurgeProductsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PurgeProductsRequest.Builder
Overrides

build()

public PurgeProductsRequest build()
Returns
TypeDescription
PurgeProductsRequest

buildPartial()

public PurgeProductsRequest buildPartial()
Returns
TypeDescription
PurgeProductsRequest

clear()

public PurgeProductsRequest.Builder clear()
Returns
TypeDescription
PurgeProductsRequest.Builder
Overrides

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
TypeDescription
PurgeProductsRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PurgeProductsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PurgeProductsRequest.Builder
Overrides

clearForce()

public PurgeProductsRequest.Builder clearForce()