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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InfoTypeStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public InfoTypeStats build()
Returns
buildPartial()
public InfoTypeStats buildPartial()
Returns
clear()
public InfoTypeStats.Builder clear()
Returns
Overrides
clearCount()
public InfoTypeStats.Builder clearCount()
Number of findings for this infoType.
int64 count = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public InfoTypeStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearInfoType()
public InfoTypeStats.Builder clearInfoType()
The type of finding this stat is for.
.google.privacy.dlp.v2.InfoType info_type = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public InfoTypeStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public InfoTypeStats.Builder clone()
Returns
Overrides
getCount()
Number of findings for this infoType.
int64 count = 2;
Returns
Type | Description |
long | The count.
|
getDefaultInstanceForType()
public InfoTypeStats getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getInfoType()
public InfoType getInfoType()
The type of finding this stat is for.
.google.privacy.dlp.v2.InfoType info_type = 1;
Returns
getInfoTypeBuilder()
public InfoType.Builder getInfoTypeBuilder()
The type of finding this stat is for.
.google.privacy.dlp.v2.InfoType info_type = 1;
Returns
getInfoTypeOrBuilder()
public InfoTypeOrBuilder getInfoTypeOrBuilder()
The type of finding this stat is for.
.google.privacy.dlp.v2.InfoType info_type = 1;
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(InfoTypeStats other)
public InfoTypeStats.Builder mergeFrom(InfoTypeStats other)
Parameter
Returns
public InfoTypeStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public InfoTypeStats.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InfoTypeStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public InfoTypeStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InfoTypeStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InfoTypeStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides