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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProductSetPurgeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ProductSetPurgeConfig build()
Returns
buildPartial()
public ProductSetPurgeConfig buildPartial()
Returns
clear()
public ProductSetPurgeConfig.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ProductSetPurgeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ProductSetPurgeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public ProductSetPurgeConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ProductSetPurgeConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ProductSetPurgeConfig other)
public ProductSetPurgeConfig.Builder mergeFrom(ProductSetPurgeConfig other)
Parameter
Returns
public ProductSetPurgeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ProductSetPurgeConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProductSetPurgeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ProductSetPurgeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProductSetPurgeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ProductSetPurgeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides