Class InspectDataSourceDetails.Result.Builder (3.50.0)

public static final class InspectDataSourceDetails.Result.Builder extends GeneratedMessageV3.Builder<InspectDataSourceDetails.Result.Builder> implements InspectDataSourceDetails.ResultOrBuilder

All result fields mentioned below are updated while the job is processing.

Protobuf type google.privacy.dlp.v2.InspectDataSourceDetails.Result

Static Methods

getDescriptor()

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

Methods

addAllInfoTypeStats(Iterable<? extends InfoTypeStats> values)

public InspectDataSourceDetails.Result.Builder addAllInfoTypeStats(Iterable<? extends InfoTypeStats> values)

Statistics of how many instances of each info type were found during inspect job.

repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.InfoTypeStats>
Returns
Type Description
InspectDataSourceDetails.Result.Builder

addInfoTypeStats(InfoTypeStats value)

public InspectDataSourceDetails.Result.Builder addInfoTypeStats(InfoTypeStats value)

Statistics of how many instances of each info type were found during inspect job.

repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;

Parameter
Name Description
value InfoTypeStats
Returns
Type Description
InspectDataSourceDetails.Result.Builder

addInfoTypeStats(InfoTypeStats.Builder builderForValue)

public InspectDataSourceDetails.Result.Builder addInfoTypeStats(InfoTypeStats.Builder builderForValue)

Statistics of how many instances of each info type were found during inspect job.

repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;

Parameter
Name Description
builderForValue InfoTypeStats.Builder
Returns
Type Description
InspectDataSourceDetails.Result.Builder

addInfoTypeStats(int index, InfoTypeStats value)

public InspectDataSourceDetails.Result.Builder addInfoTypeStats(int index, InfoTypeStats value)

Statistics of how many instances of each info type were found during inspect job.

repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;

Parameters
Name Description
index int
value InfoTypeStats
Returns
Type Description
InspectDataSourceDetails.Result.Builder

addInfoTypeStats(int index, InfoTypeStats.Builder builderForValue)

public InspectDataSourceDetails.Result.Builder addInfoTypeStats(int index, InfoTypeStats.Builder builderForValue)

Statistics of how many instances of each info type were found during inspect job.

repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;

Parameters
Name Description
index int
builderForValue InfoTypeStats.Builder
Returns
Type Description
InspectDataSourceDetails.Result.Builder

addInfoTypeStatsBuilder()

public InfoTypeStats.Builder addInfoTypeStatsBuilder()

Statistics of how many instances of each info type were found during inspect job.

repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;

Returns
Type Description
InfoTypeStats.Builder

addInfoTypeStatsBuilder(int index)

public InfoTypeStats.Builder addInfoTypeStatsBuilder(int index)

Statistics of how many instances of each info type were found during inspect job.

repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;

Parameter
Name Description
index int
Returns
Type Description
InfoTypeStats.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InspectDataSourceDetails.Result build()
Returns
Type Description
InspectDataSourceDetails.Result

buildPartial()

public InspectDataSourceDetails.Result buildPartial()
Returns
Type Description
InspectDataSourceDetails.Result

clear()

public InspectDataSourceDetails.Result.Builder clear()
Returns
Type Description
InspectDataSourceDetails.Result.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearHybridStats()

public InspectDataSourceDetails.Result.Builder clearHybridStats()

Statistics related to the processing of hybrid inspect.

.google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7;

Returns
Type Description
InspectDataSourceDetails.Result.Builder

clearInfoTypeStats()

public InspectDataSourceDetails.Result.Builder clearInfoTypeStats()

Statistics of how many instances of each info type were found during inspect job.

repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;

Returns
Type Description
InspectDataSourceDetails.Result.Builder

clearNumRowsProcessed()

public InspectDataSourceDetails.Result.Builder clearNumRowsProcessed()

Number of rows scanned after sampling and time filtering (applicable for row based stores such as BigQuery).

int64 num_rows_processed = 5;

Returns
Type Description
InspectDataSourceDetails.Result.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProcessedBytes()

public InspectDataSourceDetails.Result.Builder clearProcessedBytes()

Total size in bytes that were processed.

int64 processed_bytes = 1;

Returns
Type Description
InspectDataSourceDetails.Result.Builder

This builder for chaining.

clearTotalEstimatedBytes()

public InspectDataSourceDetails.Result.Builder clearTotalEstimatedBytes()

Estimate of the number of bytes to process.

int64 total_estimated_bytes = 2;

Returns
Type Description
InspectDataSourceDetails.Result.Builder

This builder for chaining.

clone()

public InspectDataSourceDetails.Result.Builder clone()
Returns
Type Description
InspectDataSourceDetails.Result.Builder
Overrides

getDefaultInstanceForType()

public InspectDataSourceDetails.Result getDefaultInstanceForType()
Returns
Type Description
InspectDataSourceDetails.Result

getDescriptorForType()

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

getHybridStats()

public HybridInspectStatistics getHybridStats()

Statistics related to the processing of hybrid inspect.

.google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7;

Returns
Type Description
HybridInspectStatistics

The hybridStats.

getHybridStatsBuilder()

public HybridInspectStatistics.Builder getHybridStatsBuilder()

Statistics related to the processing of hybrid inspect.

.google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7;

Returns
Type Description
HybridInspectStatistics.Builder

getHybridStatsOrBuilder()

public HybridInspectStatisticsOrBuilder getHybridStatsOrBuilder()

Statistics related to the processing of hybrid inspect.

.google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7;

Returns
Type Description
HybridInspectStatisticsOrBuilder

getInfoTypeStats(int index)

public InfoTypeStats getInfoTypeStats(int index)

Statistics of how many instances of each info type were found during inspect job.

repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;

Parameter
Name Description
index int
Returns
Type Description
InfoTypeStats

getInfoTypeStatsBuilder(int index)

public InfoTypeStats.Builder getInfoTypeStatsBuilder(int index)

Statistics of how many instances of each info type were found during inspect job.

repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;

Parameter
Name Description
index int
Returns
Type Description
InfoTypeStats.Builder

getInfoTypeStatsBuilderList()

public List<InfoTypeStats.Builder> getInfoTypeStatsBuilderList()

Statistics of how many instances of each info type were found during inspect job.

repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;

Returns
Type Description
List<Builder>

getInfoTypeStatsCount()

public int getInfoTypeStatsCount()

Statistics of how many instances of each info type were found during inspect job.

repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;

Returns
Type Description
int

getInfoTypeStatsList()

public List<InfoTypeStats> getInfoTypeStatsList()

Statistics of how many instances of each info type were found during inspect job.

repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;

Returns
Type Description
List<InfoTypeStats>

getInfoTypeStatsOrBuilder(int index)

public InfoTypeStatsOrBuilder getInfoTypeStatsOrBuilder(int index)

Statistics of how many instances of each info type were found during inspect job.

repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;

Parameter
Name Description
index int
Returns
Type Description
InfoTypeStatsOrBuilder

getInfoTypeStatsOrBuilderList()

public List<? extends InfoTypeStatsOrBuilder> getInfoTypeStatsOrBuilderList()

Statistics of how many instances of each info type were found during inspect job.

repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder>

getNumRowsProcessed()

public long getNumRowsProcessed()

Number of rows scanned after sampling and time filtering (applicable for row based stores such as BigQuery).

int64 num_rows_processed = 5;

Returns
Type Description
long

The numRowsProcessed.

getProcessedBytes()

public long getProcessedBytes()

Total size in bytes that were processed.

int64 processed_bytes = 1;

Returns
Type Description
long

The processedBytes.

getTotalEstimatedBytes()

public long getTotalEstimatedBytes()

Estimate of the number of bytes to process.

int64 total_estimated_bytes = 2;

Returns
Type Description
long

The totalEstimatedBytes.

hasHybridStats()

public boolean hasHybridStats()

Statistics related to the processing of hybrid inspect.

.google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7;

Returns
Type Description
boolean

Whether the hybridStats field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InspectDataSourceDetails.Result other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeHybridStats(HybridInspectStatistics value)

public InspectDataSourceDetails.Result.Builder mergeHybridStats(HybridInspectStatistics value)

Statistics related to the processing of hybrid inspect.

.google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7;

Parameter
Name Description
value HybridInspectStatistics
Returns
Type Description
InspectDataSourceDetails.Result.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeInfoTypeStats(int index)

public InspectDataSourceDetails.Result.Builder removeInfoTypeStats(int index)

Statistics of how many instances of each info type were found during inspect job.

repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;

Parameter
Name Description
index int
Returns
Type Description
InspectDataSourceDetails.Result.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setHybridStats(HybridInspectStatistics value)

public InspectDataSourceDetails.Result.Builder setHybridStats(HybridInspectStatistics value)

Statistics related to the processing of hybrid inspect.

.google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7;

Parameter
Name Description
value HybridInspectStatistics
Returns
Type Description
InspectDataSourceDetails.Result.Builder

setHybridStats(HybridInspectStatistics.Builder builderForValue)

public InspectDataSourceDetails.Result.Builder setHybridStats(HybridInspectStatistics.Builder builderForValue)

Statistics related to the processing of hybrid inspect.

.google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7;

Parameter
Name Description
builderForValue HybridInspectStatistics.Builder
Returns
Type Description
InspectDataSourceDetails.Result.Builder

setInfoTypeStats(int index, InfoTypeStats value)

public InspectDataSourceDetails.Result.Builder setInfoTypeStats(int index, InfoTypeStats value)

Statistics of how many instances of each info type were found during inspect job.

repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;

Parameters
Name Description
index int
value InfoTypeStats
Returns
Type Description
InspectDataSourceDetails.Result.Builder

setInfoTypeStats(int index, InfoTypeStats.Builder builderForValue)

public InspectDataSourceDetails.Result.Builder setInfoTypeStats(int index, InfoTypeStats.Builder builderForValue)

Statistics of how many instances of each info type were found during inspect job.

repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;

Parameters
Name Description
index int
builderForValue InfoTypeStats.Builder
Returns
Type Description
InspectDataSourceDetails.Result.Builder

setNumRowsProcessed(long value)

public InspectDataSourceDetails.Result.Builder setNumRowsProcessed(long value)

Number of rows scanned after sampling and time filtering (applicable for row based stores such as BigQuery).

int64 num_rows_processed = 5;

Parameter
Name Description
value long

The numRowsProcessed to set.

Returns
Type Description
InspectDataSourceDetails.Result.Builder

This builder for chaining.

setProcessedBytes(long value)

public InspectDataSourceDetails.Result.Builder setProcessedBytes(long value)

Total size in bytes that were processed.

int64 processed_bytes = 1;

Parameter
Name Description
value long

The processedBytes to set.

Returns
Type Description
InspectDataSourceDetails.Result.Builder

This builder for chaining.

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

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

setTotalEstimatedBytes(long value)

public InspectDataSourceDetails.Result.Builder setTotalEstimatedBytes(long value)

Estimate of the number of bytes to process.

int64 total_estimated_bytes = 2;

Parameter
Name Description
value long

The totalEstimatedBytes to set.

Returns
Type Description
InspectDataSourceDetails.Result.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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