Class RecordKey (3.11.0)

public final class RecordKey extends GeneratedMessageV3 implements RecordKeyOrBuilder

Message for a unique key indicating a record that contains a finding.

Protobuf type google.privacy.dlp.v2.RecordKey

Implements

RecordKeyOrBuilder

Static Fields

BIG_QUERY_KEY_FIELD_NUMBER

public static final int BIG_QUERY_KEY_FIELD_NUMBER
Field Value
TypeDescription
int

DATASTORE_KEY_FIELD_NUMBER

public static final int DATASTORE_KEY_FIELD_NUMBER
Field Value
TypeDescription
int

ID_VALUES_FIELD_NUMBER

public static final int ID_VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RecordKey getDefaultInstance()
Returns
TypeDescription
RecordKey

getDescriptor()

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

newBuilder()

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

newBuilder(RecordKey prototype)

public static RecordKey.Builder newBuilder(RecordKey prototype)
Parameter
NameDescription
prototypeRecordKey
Returns
TypeDescription
RecordKey.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBigQueryKey()

public BigQueryKey getBigQueryKey()

.google.privacy.dlp.v2.BigQueryKey big_query_key = 3;

Returns
TypeDescription
BigQueryKey

The bigQueryKey.

getBigQueryKeyOrBuilder()

public BigQueryKeyOrBuilder getBigQueryKeyOrBuilder()

.google.privacy.dlp.v2.BigQueryKey big_query_key = 3;

Returns
TypeDescription
BigQueryKeyOrBuilder

getDatastoreKey()

public DatastoreKey getDatastoreKey()

.google.privacy.dlp.v2.DatastoreKey datastore_key = 2;

Returns
TypeDescription
DatastoreKey

The datastoreKey.

getDatastoreKeyOrBuilder()

public DatastoreKeyOrBuilder getDatastoreKeyOrBuilder()

.google.privacy.dlp.v2.DatastoreKey datastore_key = 2;

Returns
TypeDescription
DatastoreKeyOrBuilder

getDefaultInstanceForType()

public RecordKey getDefaultInstanceForType()
Returns
TypeDescription
RecordKey

getIdValues(int index)

public String getIdValues(int index)

Values of identifying columns in the given row. Order of values matches the order of identifying_fields specified in the scanning request.

repeated string id_values = 5;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The idValues at the given index.

getIdValuesBytes(int index)

public ByteString getIdValuesBytes(int index)

Values of identifying columns in the given row. Order of values matches the order of identifying_fields specified in the scanning request.

repeated string id_values = 5;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the idValues at the given index.

getIdValuesCount()

public int getIdValuesCount()

Values of identifying columns in the given row. Order of values matches the order of identifying_fields specified in the scanning request.

repeated string id_values = 5;

Returns
TypeDescription
int

The count of idValues.

getIdValuesList()

public ProtocolStringList getIdValuesList()

Values of identifying columns in the given row. Order of values matches the order of identifying_fields specified in the scanning request.

repeated string id_values = 5;

Returns
TypeDescription
ProtocolStringList

A list containing the idValues.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTypeCase()

public RecordKey.TypeCase getTypeCase()
Returns
TypeDescription
RecordKey.TypeCase

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasBigQueryKey()

public boolean hasBigQueryKey()

.google.privacy.dlp.v2.BigQueryKey big_query_key = 3;

Returns
TypeDescription
boolean

Whether the bigQueryKey field is set.

hasDatastoreKey()

public boolean hasDatastoreKey()

.google.privacy.dlp.v2.DatastoreKey datastore_key = 2;

Returns
TypeDescription
boolean

Whether the datastoreKey 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 RecordKey.Builder newBuilderForType()
Returns
TypeDescription
RecordKey.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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