Class DiscoveryTarget (3.40.0)

public final class DiscoveryTarget extends GeneratedMessageV3 implements DiscoveryTargetOrBuilder

Target used to match against for Discovery.

Protobuf type google.privacy.dlp.v2.DiscoveryTarget

Static Fields

BIG_QUERY_TARGET_FIELD_NUMBER

public static final int BIG_QUERY_TARGET_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DiscoveryTarget getDefaultInstance()
Returns
TypeDescription
DiscoveryTarget

getDescriptor()

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

newBuilder()

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

newBuilder(DiscoveryTarget prototype)

public static DiscoveryTarget.Builder newBuilder(DiscoveryTarget prototype)
Parameter
NameDescription
prototypeDiscoveryTarget
Returns
TypeDescription
DiscoveryTarget.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBigQueryTarget()

public BigQueryDiscoveryTarget getBigQueryTarget()

BigQuery target for Discovery. The first target to match a table will be the one applied.

.google.privacy.dlp.v2.BigQueryDiscoveryTarget big_query_target = 1;

Returns
TypeDescription
BigQueryDiscoveryTarget

The bigQueryTarget.

getBigQueryTargetOrBuilder()

public BigQueryDiscoveryTargetOrBuilder getBigQueryTargetOrBuilder()

BigQuery target for Discovery. The first target to match a table will be the one applied.

.google.privacy.dlp.v2.BigQueryDiscoveryTarget big_query_target = 1;

Returns
TypeDescription
BigQueryDiscoveryTargetOrBuilder

getDefaultInstanceForType()

public DiscoveryTarget getDefaultInstanceForType()
Returns
TypeDescription
DiscoveryTarget

getParserForType()

public Parser<DiscoveryTarget> getParserForType()
Returns
TypeDescription
Parser<DiscoveryTarget>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTargetCase()

public DiscoveryTarget.TargetCase getTargetCase()
Returns
TypeDescription
DiscoveryTarget.TargetCase

hasBigQueryTarget()

public boolean hasBigQueryTarget()

BigQuery target for Discovery. The first target to match a table will be the one applied.

.google.privacy.dlp.v2.BigQueryDiscoveryTarget big_query_target = 1;

Returns
TypeDescription
boolean

Whether the bigQueryTarget field is set.

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 DiscoveryTarget.Builder newBuilderForType()
Returns
TypeDescription
DiscoveryTarget.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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