Class RecordLocation.Builder (3.33.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RecordLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RecordLocation.Builder
Overrides

build()

public RecordLocation build()
Returns
TypeDescription
RecordLocation

buildPartial()

public RecordLocation buildPartial()
Returns
TypeDescription
RecordLocation

clear()

public RecordLocation.Builder clear()
Returns
TypeDescription
RecordLocation.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RecordLocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
RecordLocation.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public RecordLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RecordLocation.Builder
Overrides

clearRecordKey()

public RecordLocation.Builder clearRecordKey()

Key of the finding.

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

Returns
TypeDescription
RecordLocation.Builder

clearTableLocation()

public RecordLocation.Builder clearTableLocation()

Location within a ContentItem.Table.

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

Returns
TypeDescription
RecordLocation.Builder

clone()

public RecordLocation.Builder clone()
Returns
TypeDescription
RecordLocation.Builder
Overrides

getDefaultInstanceForType()

public RecordLocation getDefaultInstanceForType()
Returns
TypeDescription
RecordLocation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getFieldIdBuilder()

public FieldId.Builder getFieldIdBuilder()

Field id of the field containing the finding.

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

Returns
TypeDescription
FieldId.Builder

getFieldIdOrBuilder()

public FieldIdOrBuilder getFieldIdOrBuilder()

Field id of the field containing the finding.

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

Returns
TypeDescription
FieldIdOrBuilder

getRecordKey()

public RecordKey getRecordKey()

Key of the finding.

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

Returns
TypeDescription
RecordKey

The recordKey.

getRecordKeyBuilder()

public RecordKey.Builder getRecordKeyBuilder()

Key of the finding.

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

Returns
TypeDescription
RecordKey.Builder

getRecordKeyOrBuilder()

public RecordKeyOrBuilder getRecordKeyOrBuilder()

Key of the finding.

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

Returns
TypeDescription
RecordKeyOrBuilder

getTableLocation()

public TableLocation getTableLocation()

Location within a ContentItem.Table.

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

Returns
TypeDescription
TableLocation

The tableLocation.

getTableLocationBuilder()

public TableLocation.Builder getTableLocationBuilder()

Location within a ContentItem.Table.

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

Returns
TypeDescription
TableLocation.Builder

getTableLocationOrBuilder()

public TableLocationOrBuilder getTableLocationOrBuilder()

Location within a ContentItem.Table.

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

Returns
TypeDescription
TableLocationOrBuilder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueFieldId
Returns
TypeDescription
RecordLocation.Builder

mergeFrom(RecordLocation other)

public RecordLocation.Builder mergeFrom(RecordLocation other)
Parameter
NameDescription
otherRecordLocation
Returns
TypeDescription
RecordLocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RecordLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RecordLocation.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RecordLocation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueRecordKey
Returns
TypeDescription
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
NameDescription
valueTableLocation
Returns
TypeDescription
RecordLocation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RecordLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RecordLocation.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RecordLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueFieldId
Returns
TypeDescription
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
NameDescription
builderForValueFieldId.Builder
Returns
TypeDescription
RecordLocation.Builder

setRecordKey(RecordKey value)

public RecordLocation.Builder setRecordKey(RecordKey value)

Key of the finding.

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

Parameter
NameDescription
valueRecordKey
Returns
TypeDescription
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
NameDescription
builderForValueRecordKey.Builder
Returns
TypeDescription
RecordLocation.Builder

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

public RecordLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTableLocation
Returns
TypeDescription
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
NameDescription
builderForValueTableLocation.Builder
Returns
TypeDescription
RecordLocation.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final RecordLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RecordLocation.Builder
Overrides