Class ModelMonitoringAlert.Builder (3.50.0)

public static final class ModelMonitoringAlert.Builder extends GeneratedMessageV3.Builder<ModelMonitoringAlert.Builder> implements ModelMonitoringAlertOrBuilder

Represents a single monitoring alert. This is currently used in the SearchModelMonitoringAlerts api, thus the alert wrapped in this message belongs to the resource asked in the request.

Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringAlert

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ModelMonitoringAlert build()
Returns
Type Description
ModelMonitoringAlert

buildPartial()

public ModelMonitoringAlert buildPartial()
Returns
Type Description
ModelMonitoringAlert

clear()

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

clearAlertTime()

public ModelMonitoringAlert.Builder clearAlertTime()

Alert creation time.

.google.protobuf.Timestamp alert_time = 3;

Returns
Type Description
ModelMonitoringAlert.Builder

clearAnomaly()

public ModelMonitoringAlert.Builder clearAnomaly()

Anomaly details.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly anomaly = 4;

Returns
Type Description
ModelMonitoringAlert.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearObjectiveType()

public ModelMonitoringAlert.Builder clearObjectiveType()

One of the supported monitoring objectives: raw-feature-drift prediction-output-drift feature-attribution

string objective_type = 2;

Returns
Type Description
ModelMonitoringAlert.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStatsName()

public ModelMonitoringAlert.Builder clearStatsName()

The stats name.

string stats_name = 1;

Returns
Type Description
ModelMonitoringAlert.Builder

This builder for chaining.

clone()

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

getAlertTime()

public Timestamp getAlertTime()

Alert creation time.

.google.protobuf.Timestamp alert_time = 3;

Returns
Type Description
Timestamp

The alertTime.

getAlertTimeBuilder()

public Timestamp.Builder getAlertTimeBuilder()

Alert creation time.

.google.protobuf.Timestamp alert_time = 3;

Returns
Type Description
Builder

getAlertTimeOrBuilder()

public TimestampOrBuilder getAlertTimeOrBuilder()

Alert creation time.

.google.protobuf.Timestamp alert_time = 3;

Returns
Type Description
TimestampOrBuilder

getAnomaly()

public ModelMonitoringAnomaly getAnomaly()

Anomaly details.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly anomaly = 4;

Returns
Type Description
ModelMonitoringAnomaly

The anomaly.

getAnomalyBuilder()

public ModelMonitoringAnomaly.Builder getAnomalyBuilder()

Anomaly details.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly anomaly = 4;

Returns
Type Description
ModelMonitoringAnomaly.Builder

getAnomalyOrBuilder()

public ModelMonitoringAnomalyOrBuilder getAnomalyOrBuilder()

Anomaly details.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly anomaly = 4;

Returns
Type Description
ModelMonitoringAnomalyOrBuilder

getDefaultInstanceForType()

public ModelMonitoringAlert getDefaultInstanceForType()
Returns
Type Description
ModelMonitoringAlert

getDescriptorForType()

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

getObjectiveType()

public String getObjectiveType()

One of the supported monitoring objectives: raw-feature-drift prediction-output-drift feature-attribution

string objective_type = 2;

Returns
Type Description
String

The objectiveType.

getObjectiveTypeBytes()

public ByteString getObjectiveTypeBytes()

One of the supported monitoring objectives: raw-feature-drift prediction-output-drift feature-attribution

string objective_type = 2;

Returns
Type Description
ByteString

The bytes for objectiveType.

getStatsName()

public String getStatsName()

The stats name.

string stats_name = 1;

Returns
Type Description
String

The statsName.

getStatsNameBytes()

public ByteString getStatsNameBytes()

The stats name.

string stats_name = 1;

Returns
Type Description
ByteString

The bytes for statsName.

hasAlertTime()

public boolean hasAlertTime()

Alert creation time.

.google.protobuf.Timestamp alert_time = 3;

Returns
Type Description
boolean

Whether the alertTime field is set.

hasAnomaly()

public boolean hasAnomaly()

Anomaly details.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly anomaly = 4;

Returns
Type Description
boolean

Whether the anomaly field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAlertTime(Timestamp value)

public ModelMonitoringAlert.Builder mergeAlertTime(Timestamp value)

Alert creation time.

.google.protobuf.Timestamp alert_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
ModelMonitoringAlert.Builder

mergeAnomaly(ModelMonitoringAnomaly value)

public ModelMonitoringAlert.Builder mergeAnomaly(ModelMonitoringAnomaly value)

Anomaly details.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly anomaly = 4;

Parameter
Name Description
value ModelMonitoringAnomaly
Returns
Type Description
ModelMonitoringAlert.Builder

mergeFrom(ModelMonitoringAlert other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAlertTime(Timestamp value)

public ModelMonitoringAlert.Builder setAlertTime(Timestamp value)

Alert creation time.

.google.protobuf.Timestamp alert_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
ModelMonitoringAlert.Builder

setAlertTime(Timestamp.Builder builderForValue)

public ModelMonitoringAlert.Builder setAlertTime(Timestamp.Builder builderForValue)

Alert creation time.

.google.protobuf.Timestamp alert_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ModelMonitoringAlert.Builder

setAnomaly(ModelMonitoringAnomaly value)

public ModelMonitoringAlert.Builder setAnomaly(ModelMonitoringAnomaly value)

Anomaly details.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly anomaly = 4;

Parameter
Name Description
value ModelMonitoringAnomaly
Returns
Type Description
ModelMonitoringAlert.Builder

setAnomaly(ModelMonitoringAnomaly.Builder builderForValue)

public ModelMonitoringAlert.Builder setAnomaly(ModelMonitoringAnomaly.Builder builderForValue)

Anomaly details.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly anomaly = 4;

Parameter
Name Description
builderForValue ModelMonitoringAnomaly.Builder
Returns
Type Description
ModelMonitoringAlert.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setObjectiveType(String value)

public ModelMonitoringAlert.Builder setObjectiveType(String value)

One of the supported monitoring objectives: raw-feature-drift prediction-output-drift feature-attribution

string objective_type = 2;

Parameter
Name Description
value String

The objectiveType to set.

Returns
Type Description
ModelMonitoringAlert.Builder

This builder for chaining.

setObjectiveTypeBytes(ByteString value)

public ModelMonitoringAlert.Builder setObjectiveTypeBytes(ByteString value)

One of the supported monitoring objectives: raw-feature-drift prediction-output-drift feature-attribution

string objective_type = 2;

Parameter
Name Description
value ByteString

The bytes for objectiveType to set.

Returns
Type Description
ModelMonitoringAlert.Builder

This builder for chaining.

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

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

setStatsName(String value)

public ModelMonitoringAlert.Builder setStatsName(String value)

The stats name.

string stats_name = 1;

Parameter
Name Description
value String

The statsName to set.

Returns
Type Description
ModelMonitoringAlert.Builder

This builder for chaining.

setStatsNameBytes(ByteString value)

public ModelMonitoringAlert.Builder setStatsNameBytes(ByteString value)

The stats name.

string stats_name = 1;

Parameter
Name Description
value ByteString

The bytes for statsName to set.

Returns
Type Description
ModelMonitoringAlert.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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