Class InfoTypeSummary.Builder (3.58.0)

public static final class InfoTypeSummary.Builder extends GeneratedMessageV3.Builder<InfoTypeSummary.Builder> implements InfoTypeSummaryOrBuilder

The infoType details for this column.

Protobuf type google.privacy.dlp.v2.InfoTypeSummary

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InfoTypeSummary build()
Returns
Type Description
InfoTypeSummary

buildPartial()

public InfoTypeSummary buildPartial()
Returns
Type Description
InfoTypeSummary

clear()

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

clearEstimatedPrevalence() (deprecated)

public InfoTypeSummary.Builder clearEstimatedPrevalence()

Deprecated. google.privacy.dlp.v2.InfoTypeSummary.estimated_prevalence is deprecated. See google/privacy/dlp/v2/dlp.proto;l=7398

Not populated for predicted infotypes.

int32 estimated_prevalence = 2 [deprecated = true];

Returns
Type Description
InfoTypeSummary.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearInfoType()

public InfoTypeSummary.Builder clearInfoType()

The infoType.

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

Returns
Type Description
InfoTypeSummary.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public InfoTypeSummary getDefaultInstanceForType()
Returns
Type Description
InfoTypeSummary

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEstimatedPrevalence() (deprecated)

public int getEstimatedPrevalence()

Deprecated. google.privacy.dlp.v2.InfoTypeSummary.estimated_prevalence is deprecated. See google/privacy/dlp/v2/dlp.proto;l=7398

Not populated for predicted infotypes.

int32 estimated_prevalence = 2 [deprecated = true];

Returns
Type Description
int

The estimatedPrevalence.

getInfoType()

public InfoType getInfoType()

The infoType.

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

Returns
Type Description
InfoType

The infoType.

getInfoTypeBuilder()

public InfoType.Builder getInfoTypeBuilder()

The infoType.

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

Returns
Type Description
InfoType.Builder

getInfoTypeOrBuilder()

public InfoTypeOrBuilder getInfoTypeOrBuilder()

The infoType.

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

Returns
Type Description
InfoTypeOrBuilder

hasInfoType()

public boolean hasInfoType()

The infoType.

.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(InfoTypeSummary other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public InfoTypeSummary.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InfoTypeSummary.Builder
Overrides

mergeInfoType(InfoType value)

public InfoTypeSummary.Builder mergeInfoType(InfoType value)

The infoType.

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

Parameter
Name Description
value InfoType
Returns
Type Description
InfoTypeSummary.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InfoTypeSummary.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InfoTypeSummary.Builder
Overrides

setEstimatedPrevalence(int value) (deprecated)

public InfoTypeSummary.Builder setEstimatedPrevalence(int value)

Deprecated. google.privacy.dlp.v2.InfoTypeSummary.estimated_prevalence is deprecated. See google/privacy/dlp/v2/dlp.proto;l=7398

Not populated for predicted infotypes.

int32 estimated_prevalence = 2 [deprecated = true];

Parameter
Name Description
value int

The estimatedPrevalence to set.

Returns
Type Description
InfoTypeSummary.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setInfoType(InfoType value)

public InfoTypeSummary.Builder setInfoType(InfoType value)

The infoType.

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

Parameter
Name Description
value InfoType
Returns
Type Description
InfoTypeSummary.Builder

setInfoType(InfoType.Builder builderForValue)

public InfoTypeSummary.Builder setInfoType(InfoType.Builder builderForValue)

The infoType.

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

Parameter
Name Description
builderForValue InfoType.Builder
Returns
Type Description
InfoTypeSummary.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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