Class RecordLocation.Builder (3.23.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 3.23.0keyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RecordLocation . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public RecordLocation build ()
buildPartial()
public RecordLocation buildPartial ()
clear()
public RecordLocation . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public RecordLocation . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearFieldId()
public RecordLocation . Builder clearFieldId ()
Field id of the field containing the finding.
.google.privacy.dlp.v2.FieldId field_id = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public RecordLocation . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearRecordKey()
public RecordLocation . Builder clearRecordKey ()
Key of the finding.
.google.privacy.dlp.v2.RecordKey record_key = 1;
clearTableLocation()
public RecordLocation . Builder clearTableLocation ()
Location within a ContentItem.Table
.
.google.privacy.dlp.v2.TableLocation table_location = 3;
clone()
public RecordLocation . Builder clone ()
Overrides
getDefaultInstanceForType()
public RecordLocation getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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;
getFieldIdOrBuilder()
public FieldIdOrBuilder getFieldIdOrBuilder ()
Field id of the field containing the finding.
.google.privacy.dlp.v2.FieldId field_id = 2;
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;
getRecordKeyOrBuilder()
public RecordKeyOrBuilder getRecordKeyOrBuilder ()
Key of the finding.
.google.privacy.dlp.v2.RecordKey record_key = 1;
getTableLocation()
public TableLocation getTableLocation ()
Location within a ContentItem.Table
.
.google.privacy.dlp.v2.TableLocation table_location = 3;
getTableLocationBuilder()
public TableLocation . Builder getTableLocationBuilder ()
Location within a ContentItem.Table
.
.google.privacy.dlp.v2.TableLocation table_location = 3;
getTableLocationOrBuilder()
public TableLocationOrBuilder getTableLocationOrBuilder ()
Location within a ContentItem.Table
.
.google.privacy.dlp.v2.TableLocation table_location = 3;
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 ()
Overrides
isInitialized()
public final boolean isInitialized ()
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
mergeFrom(RecordLocation other)
public RecordLocation . Builder mergeFrom ( RecordLocation other )
public RecordLocation . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public RecordLocation . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeRecordKey(RecordKey value)
public RecordLocation . Builder mergeRecordKey ( RecordKey value )
Key of the finding.
.google.privacy.dlp.v2.RecordKey record_key = 1;
mergeTableLocation(TableLocation value)
public RecordLocation . Builder mergeTableLocation ( TableLocation value )
Location within a ContentItem.Table
.
.google.privacy.dlp.v2.TableLocation table_location = 3;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RecordLocation . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RecordLocation . Builder setField ( Descriptors . FieldDescriptor field , Object value )
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
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;
setRecordKey(RecordKey value)
public RecordLocation . Builder setRecordKey ( RecordKey value )
Key of the finding.
.google.privacy.dlp.v2.RecordKey record_key = 1;
setRecordKey(RecordKey.Builder builderForValue)
public RecordLocation . Builder setRecordKey ( RecordKey . Builder builderForValue )
Key of the finding.
.google.privacy.dlp.v2.RecordKey record_key = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RecordLocation . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setTableLocation(TableLocation value)
public RecordLocation . Builder setTableLocation ( TableLocation value )
Location within a ContentItem.Table
.
.google.privacy.dlp.v2.TableLocation table_location = 3;
setTableLocation(TableLocation.Builder builderForValue)
public RecordLocation . Builder setTableLocation ( TableLocation . Builder builderForValue )
Location within a ContentItem.Table
.
.google.privacy.dlp.v2.TableLocation table_location = 3;
setUnknownFields(UnknownFieldSet unknownFields)
public final RecordLocation . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-18 UTC."],[],[],null,[]]