Package com.google.privacy.dlp.v2
Class InspectDataSourceDetails.Result.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InspectDataSourceDetails.Result.Builder>
com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.Builder
- All Implemented Interfaces:
InspectDataSourceDetails.ResultOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- InspectDataSourceDetails.Result
public static final class InspectDataSourceDetails.Result.Builder
extends com.google.protobuf.GeneratedMessage.Builder<InspectDataSourceDetails.Result.Builder>
implements InspectDataSourceDetails.ResultOrBuilder
All Result fields are updated while the job is processing.Protobuf type
google.privacy.dlp.v2.InspectDataSourceDetails.Result-
Method Summary
Modifier and TypeMethodDescriptionaddAllInfoTypeStats(Iterable<? extends InfoTypeStats> values) Statistics of how many instances of each info type were found during inspect job.addInfoTypeStats(int index, InfoTypeStats value) Statistics of how many instances of each info type were found during inspect job.addInfoTypeStats(int index, InfoTypeStats.Builder builderForValue) Statistics of how many instances of each info type were found during inspect job.addInfoTypeStats(InfoTypeStats value) Statistics of how many instances of each info type were found during inspect job.addInfoTypeStats(InfoTypeStats.Builder builderForValue) Statistics of how many instances of each info type were found during inspect job.Statistics of how many instances of each info type were found during inspect job.addInfoTypeStatsBuilder(int index) Statistics of how many instances of each info type were found during inspect job.build()clear()Statistics related to the processing of hybrid inspect.Statistics of how many instances of each info type were found during inspect job.Number of rows scanned after sampling and time filtering (applicable for row based stores such as BigQuery).Total size in bytes that were processed.Estimate of the number of bytes to process.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorStatistics related to the processing of hybrid inspect.Statistics related to the processing of hybrid inspect.Statistics related to the processing of hybrid inspect.getInfoTypeStats(int index) Statistics of how many instances of each info type were found during inspect job.getInfoTypeStatsBuilder(int index) Statistics of how many instances of each info type were found during inspect job.Statistics of how many instances of each info type were found during inspect job.intStatistics of how many instances of each info type were found during inspect job.Statistics of how many instances of each info type were found during inspect job.getInfoTypeStatsOrBuilder(int index) Statistics of how many instances of each info type were found during inspect job.List<? extends InfoTypeStatsOrBuilder>Statistics of how many instances of each info type were found during inspect job.longNumber of rows scanned after sampling and time filtering (applicable for row based stores such as BigQuery).longTotal size in bytes that were processed.longEstimate of the number of bytes to process.booleanStatistics related to the processing of hybrid inspect.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Statistics related to the processing of hybrid inspect.removeInfoTypeStats(int index) Statistics of how many instances of each info type were found during inspect job.Statistics related to the processing of hybrid inspect.setHybridStats(HybridInspectStatistics.Builder builderForValue) Statistics related to the processing of hybrid inspect.setInfoTypeStats(int index, InfoTypeStats value) Statistics of how many instances of each info type were found during inspect job.setInfoTypeStats(int index, InfoTypeStats.Builder builderForValue) Statistics of how many instances of each info type were found during inspect job.setNumRowsProcessed(long value) Number of rows scanned after sampling and time filtering (applicable for row based stores such as BigQuery).setProcessedBytes(long value) Total size in bytes that were processed.setTotalEstimatedBytes(long value) Estimate of the number of bytes to process.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<InspectDataSourceDetails.Result.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<InspectDataSourceDetails.Result.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<InspectDataSourceDetails.Result.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InspectDataSourceDetails.Result.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InspectDataSourceDetails.Result.Builder>
-
mergeFrom
public InspectDataSourceDetails.Result.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InspectDataSourceDetails.Result.Builder>- Throws:
IOException
-
getProcessedBytes
public long getProcessedBytes()Total size in bytes that were processed.
int64 processed_bytes = 1;- Specified by:
getProcessedBytesin interfaceInspectDataSourceDetails.ResultOrBuilder- Returns:
- The processedBytes.
-
setProcessedBytes
Total size in bytes that were processed.
int64 processed_bytes = 1;- Parameters:
value- The processedBytes to set.- Returns:
- This builder for chaining.
-
clearProcessedBytes
Total size in bytes that were processed.
int64 processed_bytes = 1;- Returns:
- This builder for chaining.
-
getTotalEstimatedBytes
public long getTotalEstimatedBytes()Estimate of the number of bytes to process.
int64 total_estimated_bytes = 2;- Specified by:
getTotalEstimatedBytesin interfaceInspectDataSourceDetails.ResultOrBuilder- Returns:
- The totalEstimatedBytes.
-
setTotalEstimatedBytes
Estimate of the number of bytes to process.
int64 total_estimated_bytes = 2;- Parameters:
value- The totalEstimatedBytes to set.- Returns:
- This builder for chaining.
-
clearTotalEstimatedBytes
Estimate of the number of bytes to process.
int64 total_estimated_bytes = 2;- Returns:
- This builder for chaining.
-
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;- Specified by:
getInfoTypeStatsListin interfaceInspectDataSourceDetails.ResultOrBuilder
-
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;- Specified by:
getInfoTypeStatsCountin interfaceInspectDataSourceDetails.ResultOrBuilder
-
getInfoTypeStats
Statistics of how many instances of each info type were found during inspect job.
repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;- Specified by:
getInfoTypeStatsin interfaceInspectDataSourceDetails.ResultOrBuilder
-
setInfoTypeStats
Statistics of how many instances of each info type were found during inspect job.
repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3; -
setInfoTypeStats
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; -
addInfoTypeStats
Statistics of how many instances of each info type were found during inspect job.
repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3; -
addInfoTypeStats
Statistics of how many instances of each info type were found during inspect job.
repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3; -
addInfoTypeStats
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; -
addInfoTypeStats
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; -
addAllInfoTypeStats
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; -
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; -
removeInfoTypeStats
Statistics of how many instances of each info type were found during inspect job.
repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3; -
getInfoTypeStatsBuilder
Statistics of how many instances of each info type were found during inspect job.
repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3; -
getInfoTypeStatsOrBuilder
Statistics of how many instances of each info type were found during inspect job.
repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;- Specified by:
getInfoTypeStatsOrBuilderin interfaceInspectDataSourceDetails.ResultOrBuilder
-
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;- Specified by:
getInfoTypeStatsOrBuilderListin interfaceInspectDataSourceDetails.ResultOrBuilder
-
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; -
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; -
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; -
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;- Specified by:
getNumRowsProcessedin interfaceInspectDataSourceDetails.ResultOrBuilder- Returns:
- The numRowsProcessed.
-
setNumRowsProcessed
Number of rows scanned after sampling and time filtering (applicable for row based stores such as BigQuery).
int64 num_rows_processed = 5;- Parameters:
value- The numRowsProcessed to set.- Returns:
- This builder for chaining.
-
clearNumRowsProcessed
Number of rows scanned after sampling and time filtering (applicable for row based stores such as BigQuery).
int64 num_rows_processed = 5;- Returns:
- This builder for chaining.
-
hasHybridStats
public boolean hasHybridStats()Statistics related to the processing of hybrid inspect.
.google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7;- Specified by:
hasHybridStatsin interfaceInspectDataSourceDetails.ResultOrBuilder- Returns:
- Whether the hybridStats field is set.
-
getHybridStats
Statistics related to the processing of hybrid inspect.
.google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7;- Specified by:
getHybridStatsin interfaceInspectDataSourceDetails.ResultOrBuilder- Returns:
- The hybridStats.
-
setHybridStats
Statistics related to the processing of hybrid inspect.
.google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; -
setHybridStats
public InspectDataSourceDetails.Result.Builder setHybridStats(HybridInspectStatistics.Builder builderForValue) Statistics related to the processing of hybrid inspect.
.google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; -
mergeHybridStats
Statistics related to the processing of hybrid inspect.
.google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; -
clearHybridStats
Statistics related to the processing of hybrid inspect.
.google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; -
getHybridStatsBuilder
Statistics related to the processing of hybrid inspect.
.google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; -
getHybridStatsOrBuilder
Statistics related to the processing of hybrid inspect.
.google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7;- Specified by:
getHybridStatsOrBuilderin interfaceInspectDataSourceDetails.ResultOrBuilder
-