Class TableLocation.Builder (3.41.0)

public static final class TableLocation.Builder extends GeneratedMessageV3.Builder<TableLocation.Builder> implements TableLocationOrBuilder

Location of a finding within a table.

Protobuf type google.privacy.dlp.v2.TableLocation

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TableLocation build()
Returns
TypeDescription
TableLocation

buildPartial()

public TableLocation buildPartial()
Returns
TypeDescription
TableLocation

clear()

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

clearField(Descriptors.FieldDescriptor field)

public TableLocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TableLocation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRowIndex()

public TableLocation.Builder clearRowIndex()

The zero-based index of the row where the finding is located. Only populated for resources that have a natural ordering, not BigQuery. In BigQuery, to identify the row a finding came from, populate BigQueryOptions.identifying_fields with your primary key column names and when you store the findings the value of those columns will be stored inside of Finding.

int64 row_index = 1;

Returns
TypeDescription
TableLocation.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public TableLocation getDefaultInstanceForType()
Returns
TypeDescription
TableLocation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRowIndex()

public long getRowIndex()

The zero-based index of the row where the finding is located. Only populated for resources that have a natural ordering, not BigQuery. In BigQuery, to identify the row a finding came from, populate BigQueryOptions.identifying_fields with your primary key column names and when you store the findings the value of those columns will be stored inside of Finding.

int64 row_index = 1;

Returns
TypeDescription
long

The rowIndex.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TableLocation other)

public TableLocation.Builder mergeFrom(TableLocation other)
Parameter
NameDescription
otherTableLocation
Returns
TypeDescription
TableLocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public TableLocation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TableLocation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public TableLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TableLocation.Builder
Overrides

setRowIndex(long value)

public TableLocation.Builder setRowIndex(long value)

The zero-based index of the row where the finding is located. Only populated for resources that have a natural ordering, not BigQuery. In BigQuery, to identify the row a finding came from, populate BigQueryOptions.identifying_fields with your primary key column names and when you store the findings the value of those columns will be stored inside of Finding.

int64 row_index = 1;

Parameter
NameDescription
valuelong

The rowIndex to set.

Returns
TypeDescription
TableLocation.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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