Class InfoTypeStats.Builder (3.59.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InfoTypeStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InfoTypeStats.Builder
Overrides

build()

public InfoTypeStats build()
Returns
Type Description
InfoTypeStats

buildPartial()

public InfoTypeStats buildPartial()
Returns
Type Description
InfoTypeStats

clear()

public InfoTypeStats.Builder clear()
Returns
Type Description
InfoTypeStats.Builder
Overrides

clearCount()

public InfoTypeStats.Builder clearCount()

Number of findings for this infoType.

int64 count = 2;

Returns
Type Description
InfoTypeStats.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public InfoTypeStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InfoTypeStats.Builder
Overrides

clearInfoType()

public InfoTypeStats.Builder clearInfoType()

The type of finding this stat is for.

.google.privacy.dlp.v2.InfoType info_type = 1;

Returns
Type Description
InfoTypeStats.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public InfoTypeStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InfoTypeStats.Builder
Overrides

clone()

public InfoTypeStats.Builder clone()
Returns
Type Description
InfoTypeStats.Builder
Overrides

getCount()

public long getCount()

Number of findings for this infoType.

int64 count = 2;

Returns
Type Description
long

The count.

getDefaultInstanceForType()

public InfoTypeStats getDefaultInstanceForType()
Returns
Type Description
InfoTypeStats

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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;

Returns
Type Description
InfoType.Builder

getInfoTypeOrBuilder()

public InfoTypeOrBuilder getInfoTypeOrBuilder()

The type of finding this stat is for.

.google.privacy.dlp.v2.InfoType info_type = 1;

Returns
Type Description
InfoTypeOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InfoTypeStats other)

public InfoTypeStats.Builder mergeFrom(InfoTypeStats other)
Parameter
Name Description
other InfoTypeStats
Returns
Type Description
InfoTypeStats.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InfoTypeStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InfoTypeStats.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public InfoTypeStats.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InfoTypeStats.Builder
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
Returns
Type Description
InfoTypeStats.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InfoTypeStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InfoTypeStats.Builder
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
Type Description
InfoTypeStats.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public InfoTypeStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InfoTypeStats.Builder
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
Returns
Type Description
InfoTypeStats.Builder

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
Name Description
builderForValue InfoType.Builder
Returns
Type Description
InfoTypeStats.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public InfoTypeStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InfoTypeStats.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InfoTypeStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InfoTypeStats.Builder
Overrides