Send feedback
Class InfoTypeStats.Builder (3.24.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.24.0 keyboard_arrow_down
public static final class InfoTypeStats . Builder extends GeneratedMessageV3 . Builder<InfoTypeStats . Builder > implements InfoTypeStatsOrBuilder
Statistics regarding a specific InfoType.
Protobuf type google.privacy.dlp.v2.InfoTypeStats
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InfoTypeStats . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public InfoTypeStats build ()
buildPartial()
public InfoTypeStats buildPartial ()
clear()
public InfoTypeStats . Builder clear ()
Overrides
clearCount()
public InfoTypeStats . Builder clearCount ()
Number of findings for this infoType.
int64 count = 2;
clearField(Descriptors.FieldDescriptor field)
public InfoTypeStats . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearInfoType()
public InfoTypeStats . Builder clearInfoType ()
The type of finding this stat is for.
.google.privacy.dlp.v2.InfoType info_type = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public InfoTypeStats . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public InfoTypeStats . Builder clone ()
Overrides
getCount()
Number of findings for this infoType.
int64 count = 2;
Returns Type Description long
The count.
getDefaultInstanceForType()
public InfoTypeStats getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getInfoType()
public InfoType getInfoType ()
The type of finding this stat is for.
.google.privacy.dlp.v2.InfoType info_type = 1;
Returns Type Description InfoType
The infoType.
getInfoTypeBuilder()
public InfoType . Builder getInfoTypeBuilder ()
The type of finding this stat is for.
.google.privacy.dlp.v2.InfoType info_type = 1;
getInfoTypeOrBuilder()
public InfoTypeOrBuilder getInfoTypeOrBuilder ()
The type of finding this stat is for.
.google.privacy.dlp.v2.InfoType info_type = 1;
hasInfoType()
public boolean hasInfoType ()
The type of finding this stat is for.
.google.privacy.dlp.v2.InfoType info_type = 1;
Returns Type Description boolean
Whether the infoType field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(InfoTypeStats other)
public InfoTypeStats . Builder mergeFrom ( InfoTypeStats other )
public InfoTypeStats . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public InfoTypeStats . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeInfoType(InfoType value)
public InfoTypeStats . Builder mergeInfoType ( InfoType value )
The type of finding this stat is for.
.google.privacy.dlp.v2.InfoType info_type = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InfoTypeStats . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setCount(long value)
public InfoTypeStats . Builder setCount ( long value )
Number of findings for this infoType.
int64 count = 2;
Parameter Name Description value
long
The count to set.
setField(Descriptors.FieldDescriptor field, Object value)
public InfoTypeStats . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setInfoType(InfoType value)
public InfoTypeStats . Builder setInfoType ( InfoType value )
The type of finding this stat is for.
.google.privacy.dlp.v2.InfoType info_type = 1;
setInfoType(InfoType.Builder builderForValue)
public InfoTypeStats . Builder setInfoType ( InfoType . Builder builderForValue )
The type of finding this stat is for.
.google.privacy.dlp.v2.InfoType info_type = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InfoTypeStats . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InfoTypeStats . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]