public static final class ThresholdConfig.Builder extends GeneratedMessageV3.Builder<ThresholdConfig.Builder> implements ThresholdConfigOrBuilder
The config for feature monitoring threshold.
Protobuf type google.cloud.aiplatform.v1beta1.ThresholdConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public ThresholdConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ThresholdConfig build()
public ThresholdConfig buildPartial()
public ThresholdConfig.Builder clear()
Overrides
public ThresholdConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ThresholdConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ThresholdConfig.Builder clearThreshold()
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–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;
public ThresholdConfig.Builder clone()
Overrides
public ThresholdConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public ThresholdConfig.ThresholdCase getThresholdCase()
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–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.
|
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–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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ThresholdConfig.Builder mergeFrom(ThresholdConfig other)
public ThresholdConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ThresholdConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final ThresholdConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ThresholdConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ThresholdConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ThresholdConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
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–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.
|