public final class ThresholdConfig extends GeneratedMessageV3 implements ThresholdConfigOrBuilder
The config for feature monitoring threshold.
Next ID: 3
Protobuf type google.cloud.aiplatform.v1beta1.ThresholdConfig
Static Fields
public static final int VALUE_FIELD_NUMBER
Field Value
Static Methods
public static ThresholdConfig getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static ThresholdConfig.Builder newBuilder()
Returns
public static ThresholdConfig.Builder newBuilder(ThresholdConfig prototype)
Parameter
Returns
public static ThresholdConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ThresholdConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ThresholdConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ThresholdConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ThresholdConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ThresholdConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ThresholdConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ThresholdConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ThresholdConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ThresholdConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ThresholdConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ThresholdConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ThresholdConfig> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public ThresholdConfig getDefaultInstanceForType()
Returns
public Parser<ThresholdConfig> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public ThresholdConfig.ThresholdCase getThresholdCase()
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ThresholdConfig.Builder newBuilderForType()
Returns
protected ThresholdConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public ThresholdConfig.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions