Class ProductSetPurgeConfig (3.51.0)

public final class ProductSetPurgeConfig extends GeneratedMessageV3 implements ProductSetPurgeConfigOrBuilder

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

Protobuf type google.cloud.vision.v1p4beta1.ProductSetPurgeConfig

Static Fields

PRODUCT_SET_ID_FIELD_NUMBER

public static final int PRODUCT_SET_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ProductSetPurgeConfig getDefaultInstance()
Returns
Type Description
ProductSetPurgeConfig

getDescriptor()

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

newBuilder()

public static ProductSetPurgeConfig.Builder newBuilder()
Returns
Type Description
ProductSetPurgeConfig.Builder

newBuilder(ProductSetPurgeConfig prototype)

public static ProductSetPurgeConfig.Builder newBuilder(ProductSetPurgeConfig prototype)
Parameter
Name Description
prototype ProductSetPurgeConfig
Returns
Type Description
ProductSetPurgeConfig.Builder

parseDelimitedFrom(InputStream input)

public static ProductSetPurgeConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProductSetPurgeConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductSetPurgeConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductSetPurgeConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ProductSetPurgeConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ProductSetPurgeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProductSetPurgeConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductSetPurgeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProductSetPurgeConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ProductSetPurgeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProductSetPurgeConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductSetPurgeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProductSetPurgeConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ProductSetPurgeConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductSetPurgeConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductSetPurgeConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ProductSetPurgeConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProductSetPurgeConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductSetPurgeConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductSetPurgeConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ProductSetPurgeConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ProductSetPurgeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProductSetPurgeConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductSetPurgeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ProductSetPurgeConfig> parser()
Returns
Type Description
Parser<ProductSetPurgeConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ProductSetPurgeConfig getDefaultInstanceForType()
Returns
Type Description
ProductSetPurgeConfig

getParserForType()

public Parser<ProductSetPurgeConfig> getParserForType()
Returns
Type Description
Parser<ProductSetPurgeConfig>
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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ProductSetPurgeConfig.Builder newBuilderForType()
Returns
Type Description
ProductSetPurgeConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProductSetPurgeConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ProductSetPurgeConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ProductSetPurgeConfig.Builder toBuilder()
Returns
Type Description
ProductSetPurgeConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException