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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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;
Parameter |
Name |
Description |
value |
InfoType
|
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;
Parameter |
Name |
Description |
value |
InfoType
|
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