Class InspectDataSourceDetails.Result.Builder (3.35.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.InfoTypeStats>
Returns
TypeDescription
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
NameDescription
valueInfoTypeStats
Returns
TypeDescription
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
NameDescription
builderForValueInfoTypeStats.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueInfoTypeStats
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInfoTypeStats.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
InfoTypeStats.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InspectDataSourceDetails.Result build()
Returns
TypeDescription
InspectDataSourceDetails.Result

buildPartial()

public InspectDataSourceDetails.Result buildPartial()
Returns
TypeDescription
InspectDataSourceDetails.Result

clear()

public InspectDataSourceDetails.Result.Builder clear()
Returns
TypeDescription
InspectDataSourceDetails.Result.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProcessedBytes()

public InspectDataSourceDetails.Result.Builder clearProcessedBytes()

Total size in bytes that were processed.

int64 processed_bytes = 1;

Returns
TypeDescription
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
TypeDescription
InspectDataSourceDetails.Result.Builder

This builder for chaining.

clone()

public InspectDataSourceDetails.Result.Builder clone()
Returns
TypeDescription
InspectDataSourceDetails.Result.Builder
Overrides

getDefaultInstanceForType()

public InspectDataSourceDetails.Result getDefaultInstanceForType()
Returns
TypeDescription
InspectDataSourceDetails.Result

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getHybridStats()

public HybridInspectStatistics getHybridStats()

Statistics related to the processing of hybrid inspect.

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

Returns
TypeDescription
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
TypeDescription
HybridInspectStatistics.Builder

getHybridStatsOrBuilder()

public HybridInspectStatisticsOrBuilder getHybridStatsOrBuilder()

Statistics related to the processing of hybrid inspect.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder>

getProcessedBytes()

public long getProcessedBytes()

Total size in bytes that were processed.

int64 processed_bytes = 1;

Returns
TypeDescription
long

The processedBytes.

getTotalEstimatedBytes()

public long getTotalEstimatedBytes()

Estimate of the number of bytes to process.

int64 total_estimated_bytes = 2;

Returns
TypeDescription
long

The totalEstimatedBytes.

hasHybridStats()

public boolean hasHybridStats()

Statistics related to the processing of hybrid inspect.

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

Returns
TypeDescription
boolean

Whether the hybridStats field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InspectDataSourceDetails.Result other)

public InspectDataSourceDetails.Result.Builder mergeFrom(InspectDataSourceDetails.Result other)
Parameter
NameDescription
otherInspectDataSourceDetails.Result
Returns
TypeDescription
InspectDataSourceDetails.Result.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public InspectDataSourceDetails.Result.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueHybridInspectStatistics
Returns
TypeDescription
InspectDataSourceDetails.Result.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InspectDataSourceDetails.Result.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
InspectDataSourceDetails.Result.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public InspectDataSourceDetails.Result.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueHybridInspectStatistics
Returns
TypeDescription
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
NameDescription
builderForValueHybridInspectStatistics.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueInfoTypeStats
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInfoTypeStats.Builder
Returns
TypeDescription
InspectDataSourceDetails.Result.Builder

setProcessedBytes(long value)

public InspectDataSourceDetails.Result.Builder setProcessedBytes(long value)

Total size in bytes that were processed.

int64 processed_bytes = 1;

Parameter
NameDescription
valuelong

The processedBytes to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The totalEstimatedBytes to set.

Returns
TypeDescription
InspectDataSourceDetails.Result.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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