Class RecordLocation (3.16.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
TypeDescription
int

RECORD_KEY_FIELD_NUMBER

public static final int RECORD_KEY_FIELD_NUMBER
Field Value
TypeDescription
int

TABLE_LOCATION_FIELD_NUMBER

public static final int TABLE_LOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RecordLocation getDefaultInstance()
Returns
TypeDescription
RecordLocation

getDescriptor()

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

newBuilder()

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

newBuilder(RecordLocation prototype)

public static RecordLocation.Builder newBuilder(RecordLocation prototype)
Parameter
NameDescription
prototypeRecordLocation
Returns
TypeDescription
RecordLocation.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RecordLocation getDefaultInstanceForType()
Returns
TypeDescription
RecordLocation

getFieldId()

public FieldId getFieldId()

Field id of the field containing the finding.

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

Returns
TypeDescription
FieldId

The fieldId.

getFieldIdOrBuilder()

public FieldIdOrBuilder getFieldIdOrBuilder()

Field id of the field containing the finding.

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

Returns
TypeDescription
FieldIdOrBuilder

getParserForType()

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

getRecordKey()

public RecordKey getRecordKey()

Key of the finding.

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

Returns
TypeDescription
RecordKey

The recordKey.

getRecordKeyOrBuilder()

public RecordKeyOrBuilder getRecordKeyOrBuilder()

Key of the finding.

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

Returns
TypeDescription
RecordKeyOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTableLocation()

public TableLocation getTableLocation()

Location within a ContentItem.Table.

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

Returns
TypeDescription
TableLocation

The tableLocation.

getTableLocationOrBuilder()

public TableLocationOrBuilder getTableLocationOrBuilder()

Location within a ContentItem.Table.

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

Returns
TypeDescription
TableLocationOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasFieldId()

public boolean hasFieldId()

Field id of the field containing the finding.

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

Returns
TypeDescription
boolean

Whether the fieldId field is set.

hasRecordKey()

public boolean hasRecordKey()

Key of the finding.

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

Returns
TypeDescription
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
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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