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