Class ModelMonitoringAlertCondition.Builder (3.45.0)

public static final class ModelMonitoringAlertCondition.Builder extends GeneratedMessageV3.Builder<ModelMonitoringAlertCondition.Builder> implements ModelMonitoringAlertConditionOrBuilder

Monitoring alert triggered condition.

Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringAlertCondition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ModelMonitoringAlertCondition.Builder
Overrides

build()

public ModelMonitoringAlertCondition build()
Returns
Type Description
ModelMonitoringAlertCondition

buildPartial()

public ModelMonitoringAlertCondition buildPartial()
Returns
Type Description
ModelMonitoringAlertCondition

clear()

public ModelMonitoringAlertCondition.Builder clear()
Returns
Type Description
ModelMonitoringAlertCondition.Builder
Overrides

clearCondition()

public ModelMonitoringAlertCondition.Builder clearCondition()
Returns
Type Description
ModelMonitoringAlertCondition.Builder

clearField(Descriptors.FieldDescriptor field)

public ModelMonitoringAlertCondition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ModelMonitoringAlertCondition.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ModelMonitoringAlertCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ModelMonitoringAlertCondition.Builder
Overrides

clearThreshold()

public ModelMonitoringAlertCondition.Builder clearThreshold()

A condition that compares a stats value against a threshold. Alert will be triggered if value above the threshold.

double threshold = 1;

Returns
Type Description
ModelMonitoringAlertCondition.Builder

This builder for chaining.

clone()

public ModelMonitoringAlertCondition.Builder clone()
Returns
Type Description
ModelMonitoringAlertCondition.Builder
Overrides

getConditionCase()

public ModelMonitoringAlertCondition.ConditionCase getConditionCase()
Returns
Type Description
ModelMonitoringAlertCondition.ConditionCase

getDefaultInstanceForType()

public ModelMonitoringAlertCondition getDefaultInstanceForType()
Returns
Type Description
ModelMonitoringAlertCondition

getDescriptorForType()

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

getThreshold()

public double getThreshold()

A condition that compares a stats value against a threshold. Alert will be triggered if value above the threshold.

double threshold = 1;

Returns
Type Description
double

The threshold.

hasThreshold()

public boolean hasThreshold()

A condition that compares a stats value against a threshold. Alert will be triggered if value above the threshold.

double threshold = 1;

Returns
Type Description
boolean

Whether the threshold field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ModelMonitoringAlertCondition other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringAlertCondition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ModelMonitoringAlertCondition.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringAlertCondition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ModelMonitoringAlertCondition.Builder
Overrides

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

public ModelMonitoringAlertCondition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ModelMonitoringAlertCondition.Builder
Overrides

setThreshold(double value)

public ModelMonitoringAlertCondition.Builder setThreshold(double value)

A condition that compares a stats value against a threshold. Alert will be triggered if value above the threshold.

double threshold = 1;

Parameter
Name Description
value double

The threshold to set.

Returns
Type Description
ModelMonitoringAlertCondition.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringAlertCondition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ModelMonitoringAlertCondition.Builder
Overrides