Class RecordLocation (3.47.0)

public final class RecordLocation extends GeneratedMessageV3 implements RecordLocationOrBuilder

Location of a finding within a row or record.

Protobuf type google.privacy.dlp.v2.RecordLocation

Static Fields

FIELD_ID_FIELD_NUMBER

public static final int FIELD_ID_FIELD_NUMBER
Field Value
Type Description
int

RECORD_KEY_FIELD_NUMBER

public static final int RECORD_KEY_FIELD_NUMBER
Field Value
Type Description
int

TABLE_LOCATION_FIELD_NUMBER

public static final int TABLE_LOCATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RecordLocation getDefaultInstance()
Returns
Type Description
RecordLocation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RecordLocation.Builder newBuilder()
Returns
Type Description
RecordLocation.Builder

newBuilder(RecordLocation prototype)

public static RecordLocation.Builder newBuilder(RecordLocation prototype)
Parameter
Name Description
prototype RecordLocation
Returns
Type Description
RecordLocation.Builder

parseDelimitedFrom(InputStream input)

public static RecordLocation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RecordLocation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RecordLocation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecordLocation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RecordLocation parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RecordLocation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RecordLocation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecordLocation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RecordLocation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RecordLocation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RecordLocation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecordLocation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RecordLocation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RecordLocation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RecordLocation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecordLocation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RecordLocation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RecordLocation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RecordLocation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecordLocation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RecordLocation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RecordLocation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RecordLocation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecordLocation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RecordLocation> parser()
Returns
Type Description
Parser<RecordLocation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RecordLocation getDefaultInstanceForType()
Returns
Type Description
RecordLocation

getFieldId()

public FieldId getFieldId()

Field id of the field containing the finding.

.google.privacy.dlp.v2.FieldId field_id = 2;

Returns
Type Description
FieldId

The fieldId.

getFieldIdOrBuilder()

public FieldIdOrBuilder getFieldIdOrBuilder()

Field id of the field containing the finding.

.google.privacy.dlp.v2.FieldId field_id = 2;

Returns
Type Description
FieldIdOrBuilder

getParserForType()

public Parser<RecordLocation> getParserForType()
Returns
Type Description
Parser<RecordLocation>
Overrides

getRecordKey()

public RecordKey getRecordKey()

Key of the finding.

.google.privacy.dlp.v2.RecordKey record_key = 1;

Returns
Type Description
RecordKey

The recordKey.

getRecordKeyOrBuilder()

public RecordKeyOrBuilder getRecordKeyOrBuilder()

Key of the finding.

.google.privacy.dlp.v2.RecordKey record_key = 1;

Returns
Type Description
RecordKeyOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTableLocation()

public TableLocation getTableLocation()

Location within a ContentItem.Table.

.google.privacy.dlp.v2.TableLocation table_location = 3;

Returns
Type Description
TableLocation

The tableLocation.

getTableLocationOrBuilder()

public TableLocationOrBuilder getTableLocationOrBuilder()

Location within a ContentItem.Table.

.google.privacy.dlp.v2.TableLocation table_location = 3;

Returns
Type Description
TableLocationOrBuilder

hasFieldId()

public boolean hasFieldId()

Field id of the field containing the finding.

.google.privacy.dlp.v2.FieldId field_id = 2;

Returns
Type Description
boolean

Whether the fieldId field is set.

hasRecordKey()

public boolean hasRecordKey()

Key of the finding.

.google.privacy.dlp.v2.RecordKey record_key = 1;

Returns
Type Description
boolean

Whether the recordKey field is set.

hasTableLocation()

public boolean hasTableLocation()

Location within a ContentItem.Table.

.google.privacy.dlp.v2.TableLocation table_location = 3;

Returns
Type Description
boolean

Whether the tableLocation field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RecordLocation.Builder newBuilderForType()
Returns
Type Description
RecordLocation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RecordLocation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RecordLocation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RecordLocation.Builder toBuilder()
Returns
Type Description
RecordLocation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException