Class FeaturestoreMonitoringConfig.ThresholdConfig.Builder (3.84.0)

public static final class FeaturestoreMonitoringConfig.ThresholdConfig.Builder extends GeneratedMessage.Builder<FeaturestoreMonitoringConfig.ThresholdConfig.Builder> implements FeaturestoreMonitoringConfig.ThresholdConfigOrBuilder

The config for Featurestore Monitoring threshold.

Protobuf type google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig

Static Methods

getDescriptor()

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

Methods

build()

public FeaturestoreMonitoringConfig.ThresholdConfig build()
Returns
Type Description
FeaturestoreMonitoringConfig.ThresholdConfig

buildPartial()

public FeaturestoreMonitoringConfig.ThresholdConfig buildPartial()
Returns
Type Description
FeaturestoreMonitoringConfig.ThresholdConfig

clear()

public FeaturestoreMonitoringConfig.ThresholdConfig.Builder clear()
Returns
Type Description
FeaturestoreMonitoringConfig.ThresholdConfig.Builder
Overrides

clearThreshold()

public FeaturestoreMonitoringConfig.ThresholdConfig.Builder clearThreshold()
Returns
Type Description
FeaturestoreMonitoringConfig.ThresholdConfig.Builder

clearValue()

public FeaturestoreMonitoringConfig.ThresholdConfig.Builder clearValue()

Specify a threshold value that can trigger the alert.

  1. For categorical feature, the distribution distance is calculated by L-inifinity norm.
  2. For numerical feature, the distribution distance is calculated by Jensen–Shannon divergence. Each feature must have a non-zero threshold if they need to be monitored. Otherwise no alert will be triggered for that feature.

double value = 1;

Returns
Type Description
FeaturestoreMonitoringConfig.ThresholdConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public FeaturestoreMonitoringConfig.ThresholdConfig getDefaultInstanceForType()
Returns
Type Description
FeaturestoreMonitoringConfig.ThresholdConfig

getDescriptorForType()

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

getThresholdCase()

public FeaturestoreMonitoringConfig.ThresholdConfig.ThresholdCase getThresholdCase()
Returns
Type Description
FeaturestoreMonitoringConfig.ThresholdConfig.ThresholdCase

getValue()

public double getValue()

Specify a threshold value that can trigger the alert.

  1. For categorical feature, the distribution distance is calculated by L-inifinity norm.
  2. For numerical feature, the distribution distance is calculated by Jensen–Shannon divergence. Each feature must have a non-zero threshold if they need to be monitored. Otherwise no alert will be triggered for that feature.

double value = 1;

Returns
Type Description
double

The value.

hasValue()

public boolean hasValue()

Specify a threshold value that can trigger the alert.

  1. For categorical feature, the distribution distance is calculated by L-inifinity norm.
  2. For numerical feature, the distribution distance is calculated by Jensen–Shannon divergence. Each feature must have a non-zero threshold if they need to be monitored. Otherwise no alert will be triggered for that feature.

double value = 1;

Returns
Type Description
boolean

Whether the value field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FeaturestoreMonitoringConfig.ThresholdConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setValue(double value)

public FeaturestoreMonitoringConfig.ThresholdConfig.Builder setValue(double value)

Specify a threshold value that can trigger the alert.

  1. For categorical feature, the distribution distance is calculated by L-inifinity norm.
  2. For numerical feature, the distribution distance is calculated by Jensen–Shannon divergence. Each feature must have a non-zero threshold if they need to be monitored. Otherwise no alert will be triggered for that feature.

double value = 1;

Parameter
Name Description
value double

The value to set.

Returns
Type Description
FeaturestoreMonitoringConfig.ThresholdConfig.Builder

This builder for chaining.