Class ProductSetPurgeConfig.Builder (3.81.0)

public static final class ProductSetPurgeConfig.Builder extends GeneratedMessage.Builder<ProductSetPurgeConfig.Builder> implements ProductSetPurgeConfigOrBuilder

Config to control which ProductSet contains the Products to be deleted.

Protobuf type google.cloud.vision.v1.ProductSetPurgeConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ProductSetPurgeConfig build()
Returns
Type Description
ProductSetPurgeConfig

buildPartial()

public ProductSetPurgeConfig buildPartial()
Returns
Type Description
ProductSetPurgeConfig

clear()

public ProductSetPurgeConfig.Builder clear()
Returns
Type Description
ProductSetPurgeConfig.Builder
Overrides

clearProductSetId()

public ProductSetPurgeConfig.Builder clearProductSetId()

The ProductSet that contains the Products to delete. If a Product is a member of product_set_id in addition to other ProductSets, the Product will still be deleted.

string product_set_id = 1;

Returns
Type Description
ProductSetPurgeConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public ProductSetPurgeConfig getDefaultInstanceForType()
Returns
Type Description
ProductSetPurgeConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getProductSetId()

public String getProductSetId()

The ProductSet that contains the Products to delete. If a Product is a member of product_set_id in addition to other ProductSets, the Product will still be deleted.

string product_set_id = 1;

Returns
Type Description
String

The productSetId.

getProductSetIdBytes()

public ByteString getProductSetIdBytes()

The ProductSet that contains the Products to delete. If a Product is a member of product_set_id in addition to other ProductSets, the Product will still be deleted.

string product_set_id = 1;

Returns
Type Description
ByteString

The bytes for productSetId.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ProductSetPurgeConfig other)

public ProductSetPurgeConfig.Builder mergeFrom(ProductSetPurgeConfig other)
Parameter
Name Description
other ProductSetPurgeConfig
Returns
Type Description
ProductSetPurgeConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ProductSetPurgeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductSetPurgeConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ProductSetPurgeConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ProductSetPurgeConfig.Builder
Overrides

setProductSetId(String value)

public ProductSetPurgeConfig.Builder setProductSetId(String value)

The ProductSet that contains the Products to delete. If a Product is a member of product_set_id in addition to other ProductSets, the Product will still be deleted.

string product_set_id = 1;

Parameter
Name Description
value String

The productSetId to set.

Returns
Type Description
ProductSetPurgeConfig.Builder

This builder for chaining.

setProductSetIdBytes(ByteString value)

public ProductSetPurgeConfig.Builder setProductSetIdBytes(ByteString value)

The ProductSet that contains the Products to delete. If a Product is a member of product_set_id in addition to other ProductSets, the Product will still be deleted.

string product_set_id = 1;

Parameter
Name Description
value ByteString

The bytes for productSetId to set.

Returns
Type Description
ProductSetPurgeConfig.Builder

This builder for chaining.