public static final class ThresholdConfig.Builder extends GeneratedMessageV3.Builder<ThresholdConfig.Builder> implements ThresholdConfigOrBuilder
The config for feature monitoring threshold.
Next ID: 3
Protobuf type google.cloud.aiplatform.v1beta1.ThresholdConfig
Methods
public ThresholdConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ThresholdConfig build()
Returns
public ThresholdConfig buildPartial()
Returns
public ThresholdConfig.Builder clear()
Returns
Overrides
public ThresholdConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ThresholdConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ThresholdConfig.Builder clearThreshold()
Returns
public ThresholdConfig.Builder clearValue()
Specify a threshold value that can trigger the alert.
If this threshold config is for feature distribution distance:
- For categorical feature, the distribution distance is calculated by
L-inifinity norm.
- For numerical feature, the distribution distance is calculated by
Jensen\u2013Shannon 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
public ThresholdConfig.Builder clone()
Returns
Overrides
public ThresholdConfig getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public ThresholdConfig.ThresholdCase getThresholdCase()
Returns
Specify a threshold value that can trigger the alert.
If this threshold config is for feature distribution distance:
- For categorical feature, the distribution distance is calculated by
L-inifinity norm.
- For numerical feature, the distribution distance is calculated by
Jensen\u2013Shannon 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.
|
public boolean hasValue()
Specify a threshold value that can trigger the alert.
If this threshold config is for feature distribution distance:
- For categorical feature, the distribution distance is calculated by
L-inifinity norm.
- For numerical feature, the distribution distance is calculated by
Jensen\u2013Shannon 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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ThresholdConfig.Builder mergeFrom(ThresholdConfig other)
Parameter
Returns
public ThresholdConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ThresholdConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ThresholdConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ThresholdConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ThresholdConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ThresholdConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ThresholdConfig.Builder setValue(double value)
Specify a threshold value that can trigger the alert.
If this threshold config is for feature distribution distance:
- For categorical feature, the distribution distance is calculated by
L-inifinity norm.
- For numerical feature, the distribution distance is calculated by
Jensen\u2013Shannon 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