Class ProductSetPurgeConfig (2.1.1)

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
TypeDescription
int

Static Methods

getDefaultInstance()

public static ProductSetPurgeConfig getDefaultInstance()
Returns
TypeDescription
ProductSetPurgeConfig

getDescriptor()

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

newBuilder()

public static ProductSetPurgeConfig.Builder newBuilder()
Returns
TypeDescription
ProductSetPurgeConfig.Builder

newBuilder(ProductSetPurgeConfig prototype)

public static ProductSetPurgeConfig.Builder newBuilder(ProductSetPurgeConfig prototype)
Parameter
NameDescription
prototypeProductSetPurgeConfig
Returns
TypeDescription
ProductSetPurgeConfig.Builder

parseDelimitedFrom(InputStream input)

public static ProductSetPurgeConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProductSetPurgeConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductSetPurgeConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProductSetPurgeConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ProductSetPurgeConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ProductSetPurgeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProductSetPurgeConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProductSetPurgeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProductSetPurgeConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ProductSetPurgeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProductSetPurgeConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProductSetPurgeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProductSetPurgeConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ProductSetPurgeConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductSetPurgeConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProductSetPurgeConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ProductSetPurgeConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProductSetPurgeConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductSetPurgeConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProductSetPurgeConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ProductSetPurgeConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ProductSetPurgeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProductSetPurgeConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProductSetPurgeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ProductSetPurgeConfig> parser()
Returns
TypeDescription
Parser<ProductSetPurgeConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ProductSetPurgeConfig getDefaultInstanceForType()
Returns
TypeDescription
ProductSetPurgeConfig

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ProductSetPurgeConfig.Builder newBuilderForType()
Returns
TypeDescription
ProductSetPurgeConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProductSetPurgeConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ProductSetPurgeConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ProductSetPurgeConfig.Builder toBuilder()
Returns
TypeDescription
ProductSetPurgeConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException