Class ProductSetPurgeConfig.Builder (3.42.0)

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

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

Protobuf type google.cloud.vision.v1p4beta1.ProductSetPurgeConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ProductSetPurgeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ProductSetPurgeConfig.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public ProductSetPurgeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ProductSetPurgeConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ProductSetPurgeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProductSetPurgeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProductSetPurgeConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ProductSetPurgeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ProductSetPurgeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ProductSetPurgeConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ProductSetPurgeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProductSetPurgeConfig.Builder
Overrides