Class RecordLocation.Builder (3.49.0)

public static final class RecordLocation.Builder extends GeneratedMessageV3.Builder<RecordLocation.Builder> implements RecordLocationOrBuilder

Location of a finding within a row or record.

Protobuf type google.privacy.dlp.v2.RecordLocation

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RecordLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RecordLocation.Builder
Overrides

build()

public RecordLocation build()
Returns
Type Description
RecordLocation

buildPartial()

public RecordLocation buildPartial()
Returns
Type Description
RecordLocation

clear()

public RecordLocation.Builder clear()
Returns
Type Description
RecordLocation.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RecordLocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RecordLocation.Builder
Overrides

clearFieldId()

public RecordLocation.Builder clearFieldId()

Field id of the field containing the finding.

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

Returns
Type Description
RecordLocation.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public RecordLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RecordLocation.Builder
Overrides

clearRecordKey()

public RecordLocation.Builder clearRecordKey()

Key of the finding.

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

Returns
Type Description
RecordLocation.Builder

clearTableLocation()

public RecordLocation.Builder clearTableLocation()

Location within a ContentItem.Table.

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

Returns
Type Description
RecordLocation.Builder

clone()

public RecordLocation.Builder clone()
Returns
Type Description
RecordLocation.Builder
Overrides

getDefaultInstanceForType()

public RecordLocation getDefaultInstanceForType()
Returns
Type Description
RecordLocation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getFieldIdBuilder()

public FieldId.Builder getFieldIdBuilder()

Field id of the field containing the finding.

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

Returns
Type Description
FieldId.Builder

getFieldIdOrBuilder()

public FieldIdOrBuilder getFieldIdOrBuilder()

Field id of the field containing the finding.

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

Returns
Type Description
FieldIdOrBuilder

getRecordKey()

public RecordKey getRecordKey()

Key of the finding.

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

Returns
Type Description
RecordKey

The recordKey.

getRecordKeyBuilder()

public RecordKey.Builder getRecordKeyBuilder()

Key of the finding.

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

Returns
Type Description
RecordKey.Builder

getRecordKeyOrBuilder()

public RecordKeyOrBuilder getRecordKeyOrBuilder()

Key of the finding.

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

Returns
Type Description
RecordKeyOrBuilder

getTableLocation()

public TableLocation getTableLocation()

Location within a ContentItem.Table.

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

Returns
Type Description
TableLocation

The tableLocation.

getTableLocationBuilder()

public TableLocation.Builder getTableLocationBuilder()

Location within a ContentItem.Table.

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

Returns
Type Description
TableLocation.Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFieldId(FieldId value)

public RecordLocation.Builder mergeFieldId(FieldId value)

Field id of the field containing the finding.

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

Parameter
Name Description
value FieldId
Returns
Type Description
RecordLocation.Builder

mergeFrom(RecordLocation other)

public RecordLocation.Builder mergeFrom(RecordLocation other)
Parameter
Name Description
other RecordLocation
Returns
Type Description
RecordLocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RecordLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecordLocation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RecordLocation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RecordLocation.Builder
Overrides

mergeRecordKey(RecordKey value)

public RecordLocation.Builder mergeRecordKey(RecordKey value)

Key of the finding.

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

Parameter
Name Description
value RecordKey
Returns
Type Description
RecordLocation.Builder

mergeTableLocation(TableLocation value)

public RecordLocation.Builder mergeTableLocation(TableLocation value)

Location within a ContentItem.Table.

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

Parameter
Name Description
value TableLocation
Returns
Type Description
RecordLocation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RecordLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RecordLocation.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RecordLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RecordLocation.Builder
Overrides

setFieldId(FieldId value)

public RecordLocation.Builder setFieldId(FieldId value)

Field id of the field containing the finding.

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

Parameter
Name Description
value FieldId
Returns
Type Description
RecordLocation.Builder

setFieldId(FieldId.Builder builderForValue)

public RecordLocation.Builder setFieldId(FieldId.Builder builderForValue)

Field id of the field containing the finding.

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

Parameter
Name Description
builderForValue FieldId.Builder
Returns
Type Description
RecordLocation.Builder

setRecordKey(RecordKey value)

public RecordLocation.Builder setRecordKey(RecordKey value)

Key of the finding.

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

Parameter
Name Description
value RecordKey
Returns
Type Description
RecordLocation.Builder

setRecordKey(RecordKey.Builder builderForValue)

public RecordLocation.Builder setRecordKey(RecordKey.Builder builderForValue)

Key of the finding.

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

Parameter
Name Description
builderForValue RecordKey.Builder
Returns
Type Description
RecordLocation.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RecordLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RecordLocation.Builder
Overrides

setTableLocation(TableLocation value)

public RecordLocation.Builder setTableLocation(TableLocation value)

Location within a ContentItem.Table.

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

Parameter
Name Description
value TableLocation
Returns
Type Description
RecordLocation.Builder

setTableLocation(TableLocation.Builder builderForValue)

public RecordLocation.Builder setTableLocation(TableLocation.Builder builderForValue)

Location within a ContentItem.Table.

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

Parameter
Name Description
builderForValue TableLocation.Builder
Returns
Type Description
RecordLocation.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final RecordLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RecordLocation.Builder
Overrides