Class ProductSetPurgeConfig.Builder (3.13.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.v1.ProductSetPurgeConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ProductSetPurgeConfig build()
Returns
TypeDescription
ProductSetPurgeConfig

buildPartial()

public ProductSetPurgeConfig buildPartial()
Returns
TypeDescription
ProductSetPurgeConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ProductSetPurgeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ProductSetPurgeConfig.Builder

This builder for chaining.

clone()

public ProductSetPurgeConfig.Builder clone()
Returns
TypeDescription
ProductSetPurgeConfig.Builder
Overrides

getDefaultInstanceForType()

public ProductSetPurgeConfig getDefaultInstanceForType()
Returns
TypeDescription
ProductSetPurgeConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for productSetId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ProductSetPurgeConfig other)

public ProductSetPurgeConfig.Builder mergeFrom(ProductSetPurgeConfig other)
Parameter
NameDescription
otherProductSetPurgeConfig
Returns
TypeDescription
ProductSetPurgeConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ProductSetPurgeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProductSetPurgeConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ProductSetPurgeConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ProductSetPurgeConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProductSetPurgeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ProductSetPurgeConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ProductSetPurgeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The productSetId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for productSetId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ProductSetPurgeConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ProductSetPurgeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ProductSetPurgeConfig.Builder
Overrides