Class InfoTypeSummary.Builder (3.12.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InfoTypeSummary.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InfoTypeSummary.Builder
Overrides

build()

public InfoTypeSummary build()
Returns
TypeDescription
InfoTypeSummary

buildPartial()

public InfoTypeSummary buildPartial()
Returns
TypeDescription
InfoTypeSummary

clear()

public InfoTypeSummary.Builder clear()
Returns
TypeDescription
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=5324

Not populated for predicted infotypes.

int32 estimated_prevalence = 2 [deprecated = true];

Returns
TypeDescription
InfoTypeSummary.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public InfoTypeSummary.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
InfoTypeSummary.Builder
Overrides

clearInfoType()

public InfoTypeSummary.Builder clearInfoType()

The infoType.

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

Returns
TypeDescription
InfoTypeSummary.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public InfoTypeSummary.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
InfoTypeSummary.Builder
Overrides

clone()

public InfoTypeSummary.Builder clone()
Returns
TypeDescription
InfoTypeSummary.Builder
Overrides

getDefaultInstanceForType()

public InfoTypeSummary getDefaultInstanceForType()
Returns
TypeDescription
InfoTypeSummary

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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=5324

Not populated for predicted infotypes.

int32 estimated_prevalence = 2 [deprecated = true];

Returns
TypeDescription
int

The estimatedPrevalence.

getInfoType()

public InfoType getInfoType()

The infoType.

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

Returns
TypeDescription
InfoType

The infoType.

getInfoTypeBuilder()

public InfoType.Builder getInfoTypeBuilder()

The infoType.

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

Returns
TypeDescription
InfoType.Builder

getInfoTypeOrBuilder()

public InfoTypeOrBuilder getInfoTypeOrBuilder()

The infoType.

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

Returns
TypeDescription
InfoTypeOrBuilder

hasInfoType()

public boolean hasInfoType()

The infoType.

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

Returns
TypeDescription
boolean

Whether the infoType field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InfoTypeSummary other)

public InfoTypeSummary.Builder mergeFrom(InfoTypeSummary other)
Parameter
NameDescription
otherInfoTypeSummary
Returns
TypeDescription
InfoTypeSummary.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InfoTypeSummary.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InfoTypeSummary.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public InfoTypeSummary.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
InfoTypeSummary.Builder
Overrides

mergeInfoType(InfoType value)

public InfoTypeSummary.Builder mergeInfoType(InfoType value)

The infoType.

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

Parameter
NameDescription
valueInfoType
Returns
TypeDescription
InfoTypeSummary.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InfoTypeSummary.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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=5324

Not populated for predicted infotypes.

int32 estimated_prevalence = 2 [deprecated = true];

Parameter
NameDescription
valueint

The estimatedPrevalence to set.

Returns
TypeDescription
InfoTypeSummary.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public InfoTypeSummary.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InfoTypeSummary.Builder
Overrides

setInfoType(InfoType value)

public InfoTypeSummary.Builder setInfoType(InfoType value)

The infoType.

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

Parameter
NameDescription
valueInfoType
Returns
TypeDescription
InfoTypeSummary.Builder

setInfoType(InfoType.Builder builderForValue)

public InfoTypeSummary.Builder setInfoType(InfoType.Builder builderForValue)

The infoType.

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

Parameter
NameDescription
builderForValueInfoType.Builder
Returns
TypeDescription
InfoTypeSummary.Builder

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

public InfoTypeSummary.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InfoTypeSummary.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InfoTypeSummary.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InfoTypeSummary.Builder
Overrides