Class PrivacyMetric.NumericalStatsConfig.Builder (3.20.0)

public static final class PrivacyMetric.NumericalStatsConfig.Builder extends GeneratedMessageV3.Builder<PrivacyMetric.NumericalStatsConfig.Builder> implements PrivacyMetric.NumericalStatsConfigOrBuilder

Compute numerical stats over an individual column, including min, max, and quantiles.

Protobuf type google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PrivacyMetric.NumericalStatsConfig build()
Returns
TypeDescription
PrivacyMetric.NumericalStatsConfig

buildPartial()

public PrivacyMetric.NumericalStatsConfig buildPartial()
Returns
TypeDescription
PrivacyMetric.NumericalStatsConfig

clear()

public PrivacyMetric.NumericalStatsConfig.Builder clear()
Returns
TypeDescription
PrivacyMetric.NumericalStatsConfig.Builder
Overrides

clearField()

public PrivacyMetric.NumericalStatsConfig.Builder clearField()

Field to compute numerical stats on. Supported types are integer, float, date, datetime, timestamp, time.

.google.privacy.dlp.v2.FieldId field = 1;

Returns
TypeDescription
PrivacyMetric.NumericalStatsConfig.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public PrivacyMetric.NumericalStatsConfig.Builder clone()
Returns
TypeDescription
PrivacyMetric.NumericalStatsConfig.Builder
Overrides

getDefaultInstanceForType()

public PrivacyMetric.NumericalStatsConfig getDefaultInstanceForType()
Returns
TypeDescription
PrivacyMetric.NumericalStatsConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getField()

public FieldId getField()

Field to compute numerical stats on. Supported types are integer, float, date, datetime, timestamp, time.

.google.privacy.dlp.v2.FieldId field = 1;

Returns
TypeDescription
FieldId

The field.

getFieldBuilder()

public FieldId.Builder getFieldBuilder()

Field to compute numerical stats on. Supported types are integer, float, date, datetime, timestamp, time.

.google.privacy.dlp.v2.FieldId field = 1;

Returns
TypeDescription
FieldId.Builder

getFieldOrBuilder()

public FieldIdOrBuilder getFieldOrBuilder()

Field to compute numerical stats on. Supported types are integer, float, date, datetime, timestamp, time.

.google.privacy.dlp.v2.FieldId field = 1;

Returns
TypeDescription
FieldIdOrBuilder

hasField()

public boolean hasField()

Field to compute numerical stats on. Supported types are integer, float, date, datetime, timestamp, time.

.google.privacy.dlp.v2.FieldId field = 1;

Returns
TypeDescription
boolean

Whether the field field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeField(FieldId value)

public PrivacyMetric.NumericalStatsConfig.Builder mergeField(FieldId value)

Field to compute numerical stats on. Supported types are integer, float, date, datetime, timestamp, time.

.google.privacy.dlp.v2.FieldId field = 1;

Parameter
NameDescription
valueFieldId
Returns
TypeDescription
PrivacyMetric.NumericalStatsConfig.Builder

mergeFrom(PrivacyMetric.NumericalStatsConfig other)

public PrivacyMetric.NumericalStatsConfig.Builder mergeFrom(PrivacyMetric.NumericalStatsConfig other)
Parameter
NameDescription
otherPrivacyMetric.NumericalStatsConfig
Returns
TypeDescription
PrivacyMetric.NumericalStatsConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PrivacyMetric.NumericalStatsConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PrivacyMetric.NumericalStatsConfig.Builder
Overrides

setField(FieldId value)

public PrivacyMetric.NumericalStatsConfig.Builder setField(FieldId value)

Field to compute numerical stats on. Supported types are integer, float, date, datetime, timestamp, time.

.google.privacy.dlp.v2.FieldId field = 1;

Parameter
NameDescription
valueFieldId
Returns
TypeDescription
PrivacyMetric.NumericalStatsConfig.Builder

setField(FieldId.Builder builderForValue)

public PrivacyMetric.NumericalStatsConfig.Builder setField(FieldId.Builder builderForValue)

Field to compute numerical stats on. Supported types are integer, float, date, datetime, timestamp, time.

.google.privacy.dlp.v2.FieldId field = 1;

Parameter
NameDescription
builderForValueFieldId.Builder
Returns
TypeDescription
PrivacyMetric.NumericalStatsConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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