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
Static Fields
BIG_QUERY_KEY_FIELD_NUMBER
public static final int BIG_QUERY_KEY_FIELD_NUMBER
Field Value
DATASTORE_KEY_FIELD_NUMBER
public static final int DATASTORE_KEY_FIELD_NUMBER
Field Value
ID_VALUES_FIELD_NUMBER
public static final int ID_VALUES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static RecordKey getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static RecordKey.Builder newBuilder()
Returns
newBuilder(RecordKey prototype)
public static RecordKey.Builder newBuilder(RecordKey prototype)
Parameter
Returns
public static RecordKey parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static RecordKey parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static RecordKey parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RecordKey parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static RecordKey parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RecordKey parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RecordKey parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static RecordKey parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RecordKey parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static RecordKey parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static RecordKey parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RecordKey parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<RecordKey> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getBigQueryKey()
public BigQueryKey getBigQueryKey()
.google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
Returns
getBigQueryKeyOrBuilder()
public BigQueryKeyOrBuilder getBigQueryKeyOrBuilder()
.google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
Returns
getDatastoreKey()
public DatastoreKey getDatastoreKey()
.google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
Returns
getDatastoreKeyOrBuilder()
public DatastoreKeyOrBuilder getDatastoreKeyOrBuilder()
.google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
Returns
getDefaultInstanceForType()
public RecordKey getDefaultInstanceForType()
Returns
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
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
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
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
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
Type | Description |
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
getParserForType()
public Parser<RecordKey> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTypeCase()
public RecordKey.TypeCase getTypeCase()
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasBigQueryKey()
public boolean hasBigQueryKey()
.google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
Returns
Type | Description |
boolean | Whether the bigQueryKey field is set.
|
hasDatastoreKey()
public boolean hasDatastoreKey()
.google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
Returns
Type | Description |
boolean | Whether the datastoreKey field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public RecordKey.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RecordKey.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public RecordKey.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions