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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<InspectDataSourceDetails.Result.Builder> implements InspectDataSourceDetails.ResultOrBuilder
All result fields mentioned below are updated while the job is processing.
Protobuf typegoogle.privacy.dlp.v2.InspectDataSourceDetails.Result
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InspectDataSourceDetails.Result.Builder
addAllInfoTypeStats(Iterable<? extends InfoTypeStats> values)
Statistics of how many instances of each info type were found during inspect job.InspectDataSourceDetails.Result.Builder
addInfoTypeStats(int index, InfoTypeStats value)
Statistics of how many instances of each info type were found during inspect job.InspectDataSourceDetails.Result.Builder
addInfoTypeStats(int index, InfoTypeStats.Builder builderForValue)
Statistics of how many instances of each info type were found during inspect job.InspectDataSourceDetails.Result.Builder
addInfoTypeStats(InfoTypeStats value)
Statistics of how many instances of each info type were found during inspect job.InspectDataSourceDetails.Result.Builder
addInfoTypeStats(InfoTypeStats.Builder builderForValue)
Statistics of how many instances of each info type were found during inspect job.InfoTypeStats.Builder
addInfoTypeStatsBuilder()
Statistics of how many instances of each info type were found during inspect job.InfoTypeStats.Builder
addInfoTypeStatsBuilder(int index)
Statistics of how many instances of each info type were found during inspect job.InspectDataSourceDetails.Result.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
InspectDataSourceDetails.Result
build()
InspectDataSourceDetails.Result
buildPartial()
InspectDataSourceDetails.Result.Builder
clear()
InspectDataSourceDetails.Result.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
InspectDataSourceDetails.Result.Builder
clearHybridStats()
Statistics related to the processing of hybrid inspect.InspectDataSourceDetails.Result.Builder
clearInfoTypeStats()
Statistics of how many instances of each info type were found during inspect job.InspectDataSourceDetails.Result.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
InspectDataSourceDetails.Result.Builder
clearProcessedBytes()
Total size in bytes that were processed.InspectDataSourceDetails.Result.Builder
clearTotalEstimatedBytes()
Estimate of the number of bytes to process.InspectDataSourceDetails.Result.Builder
clone()
InspectDataSourceDetails.Result
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
HybridInspectStatistics
getHybridStats()
Statistics related to the processing of hybrid inspect.HybridInspectStatistics.Builder
getHybridStatsBuilder()
Statistics related to the processing of hybrid inspect.HybridInspectStatisticsOrBuilder
getHybridStatsOrBuilder()
Statistics related to the processing of hybrid inspect.InfoTypeStats
getInfoTypeStats(int index)
Statistics of how many instances of each info type were found during inspect job.InfoTypeStats.Builder
getInfoTypeStatsBuilder(int index)
Statistics of how many instances of each info type were found during inspect job.List<InfoTypeStats.Builder>
getInfoTypeStatsBuilderList()
Statistics of how many instances of each info type were found during inspect job.int
getInfoTypeStatsCount()
Statistics of how many instances of each info type were found during inspect job.List<InfoTypeStats>
getInfoTypeStatsList()
Statistics of how many instances of each info type were found during inspect job.InfoTypeStatsOrBuilder
getInfoTypeStatsOrBuilder(int index)
Statistics of how many instances of each info type were found during inspect job.List<? extends InfoTypeStatsOrBuilder>
getInfoTypeStatsOrBuilderList()
Statistics of how many instances of each info type were found during inspect job.long
getProcessedBytes()
Total size in bytes that were processed.long
getTotalEstimatedBytes()
Estimate of the number of bytes to process.boolean
hasHybridStats()
Statistics related to the processing of hybrid inspect.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
InspectDataSourceDetails.Result.Builder
mergeFrom(InspectDataSourceDetails.Result other)
InspectDataSourceDetails.Result.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
InspectDataSourceDetails.Result.Builder
mergeFrom(com.google.protobuf.Message other)
InspectDataSourceDetails.Result.Builder
mergeHybridStats(HybridInspectStatistics value)
Statistics related to the processing of hybrid inspect.InspectDataSourceDetails.Result.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
InspectDataSourceDetails.Result.Builder
removeInfoTypeStats(int index)
Statistics of how many instances of each info type were found during inspect job.InspectDataSourceDetails.Result.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
InspectDataSourceDetails.Result.Builder
setHybridStats(HybridInspectStatistics value)
Statistics related to the processing of hybrid inspect.InspectDataSourceDetails.Result.Builder
setHybridStats(HybridInspectStatistics.Builder builderForValue)
Statistics related to the processing of hybrid inspect.InspectDataSourceDetails.Result.Builder
setInfoTypeStats(int index, InfoTypeStats value)
Statistics of how many instances of each info type were found during inspect job.InspectDataSourceDetails.Result.Builder
setInfoTypeStats(int index, InfoTypeStats.Builder builderForValue)
Statistics of how many instances of each info type were found during inspect job.InspectDataSourceDetails.Result.Builder
setProcessedBytes(long value)
Total size in bytes that were processed.InspectDataSourceDetails.Result.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
InspectDataSourceDetails.Result.Builder
setTotalEstimatedBytes(long value)
Estimate of the number of bytes to process.InspectDataSourceDetails.Result.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<InspectDataSourceDetails.Result.Builder>
-
clear
public InspectDataSourceDetails.Result.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<InspectDataSourceDetails.Result.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<InspectDataSourceDetails.Result.Builder>
-
getDefaultInstanceForType
public InspectDataSourceDetails.Result getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public InspectDataSourceDetails.Result build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public InspectDataSourceDetails.Result buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public InspectDataSourceDetails.Result.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<InspectDataSourceDetails.Result.Builder>
-
setField
public InspectDataSourceDetails.Result.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InspectDataSourceDetails.Result.Builder>
-
clearField
public InspectDataSourceDetails.Result.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InspectDataSourceDetails.Result.Builder>
-
clearOneof
public InspectDataSourceDetails.Result.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<InspectDataSourceDetails.Result.Builder>
-
setRepeatedField
public InspectDataSourceDetails.Result.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InspectDataSourceDetails.Result.Builder>
-
addRepeatedField
public InspectDataSourceDetails.Result.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InspectDataSourceDetails.Result.Builder>
-
mergeFrom
public InspectDataSourceDetails.Result.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<InspectDataSourceDetails.Result.Builder>
-
mergeFrom
public InspectDataSourceDetails.Result.Builder mergeFrom(InspectDataSourceDetails.Result other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<InspectDataSourceDetails.Result.Builder>
-
mergeFrom
public InspectDataSourceDetails.Result.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getProcessedBytes
in interfaceInspectDataSourceDetails.ResultOrBuilder
- Returns:
- The processedBytes.
-
setProcessedBytes
public InspectDataSourceDetails.Result.Builder setProcessedBytes(long value)
Total size in bytes that were processed.
int64 processed_bytes = 1;
- Parameters:
value
- The processedBytes to set.- Returns:
- This builder for chaining.
-
clearProcessedBytes
public InspectDataSourceDetails.Result.Builder 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:
getTotalEstimatedBytes
in interfaceInspectDataSourceDetails.ResultOrBuilder
- Returns:
- The totalEstimatedBytes.
-
setTotalEstimatedBytes
public InspectDataSourceDetails.Result.Builder setTotalEstimatedBytes(long value)
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
public InspectDataSourceDetails.Result.Builder clearTotalEstimatedBytes()
Estimate of the number of bytes to process.
int64 total_estimated_bytes = 2;
- Returns:
- This builder for chaining.
-
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;
- Specified by:
getInfoTypeStatsList
in 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:
getInfoTypeStatsCount
in interfaceInspectDataSourceDetails.ResultOrBuilder
-
getInfoTypeStats
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;
- Specified by:
getInfoTypeStats
in interfaceInspectDataSourceDetails.ResultOrBuilder
-
setInfoTypeStats
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;
-
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
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;
-
addInfoTypeStats
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;
-
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
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;
-
removeInfoTypeStats
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;
-
getInfoTypeStatsBuilder
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;
-
getInfoTypeStatsOrBuilder
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;
- Specified by:
getInfoTypeStatsOrBuilder
in interfaceInspectDataSourceDetails.ResultOrBuilder
-
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;
- Specified by:
getInfoTypeStatsOrBuilderList
in interfaceInspectDataSourceDetails.ResultOrBuilder
-
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;
-
addInfoTypeStatsBuilder
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;
-
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;
-
hasHybridStats
public boolean hasHybridStats()
Statistics related to the processing of hybrid inspect.
.google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7;
- Specified by:
hasHybridStats
in interfaceInspectDataSourceDetails.ResultOrBuilder
- Returns:
- Whether the hybridStats field is set.
-
getHybridStats
public HybridInspectStatistics getHybridStats()
Statistics related to the processing of hybrid inspect.
.google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7;
- Specified by:
getHybridStats
in interfaceInspectDataSourceDetails.ResultOrBuilder
- Returns:
- The hybridStats.
-
setHybridStats
public InspectDataSourceDetails.Result.Builder setHybridStats(HybridInspectStatistics value)
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
public InspectDataSourceDetails.Result.Builder mergeHybridStats(HybridInspectStatistics value)
Statistics related to the processing of hybrid inspect.
.google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7;
-
clearHybridStats
public InspectDataSourceDetails.Result.Builder clearHybridStats()
Statistics related to the processing of hybrid inspect.
.google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7;
-
getHybridStatsBuilder
public HybridInspectStatistics.Builder getHybridStatsBuilder()
Statistics related to the processing of hybrid inspect.
.google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7;
-
getHybridStatsOrBuilder
public HybridInspectStatisticsOrBuilder getHybridStatsOrBuilder()
Statistics related to the processing of hybrid inspect.
.google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7;
- Specified by:
getHybridStatsOrBuilder
in interfaceInspectDataSourceDetails.ResultOrBuilder
-
setUnknownFields
public final InspectDataSourceDetails.Result.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<InspectDataSourceDetails.Result.Builder>
-
mergeUnknownFields
public final InspectDataSourceDetails.Result.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<InspectDataSourceDetails.Result.Builder>
-
-