Class ModelMonitoringAlert (3.47.0)

public final class ModelMonitoringAlert extends GeneratedMessageV3 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 Fields

ALERT_TIME_FIELD_NUMBER

public static final int ALERT_TIME_FIELD_NUMBER
Field Value
Type Description
int

ANOMALY_FIELD_NUMBER

public static final int ANOMALY_FIELD_NUMBER
Field Value
Type Description
int

OBJECTIVE_TYPE_FIELD_NUMBER

public static final int OBJECTIVE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

STATS_NAME_FIELD_NUMBER

public static final int STATS_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ModelMonitoringAlert getDefaultInstance()
Returns
Type Description
ModelMonitoringAlert

getDescriptor()

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

newBuilder()

public static ModelMonitoringAlert.Builder newBuilder()
Returns
Type Description
ModelMonitoringAlert.Builder

newBuilder(ModelMonitoringAlert prototype)

public static ModelMonitoringAlert.Builder newBuilder(ModelMonitoringAlert prototype)
Parameter
Name Description
prototype ModelMonitoringAlert
Returns
Type Description
ModelMonitoringAlert.Builder

parseDelimitedFrom(InputStream input)

public static ModelMonitoringAlert parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ModelMonitoringAlert
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringAlert parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringAlert
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ModelMonitoringAlert parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ModelMonitoringAlert
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringAlert parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringAlert
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ModelMonitoringAlert parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ModelMonitoringAlert
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringAlert parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringAlert
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ModelMonitoringAlert parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ModelMonitoringAlert
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringAlert parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringAlert
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ModelMonitoringAlert parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ModelMonitoringAlert
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringAlert parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringAlert
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ModelMonitoringAlert parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ModelMonitoringAlert
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringAlert parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringAlert
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ModelMonitoringAlert> parser()
Returns
Type Description
Parser<ModelMonitoringAlert>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAlertTime()

public Timestamp getAlertTime()

Alert creation time.

.google.protobuf.Timestamp alert_time = 3;

Returns
Type Description
Timestamp

The alertTime.

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.

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

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.

getParserForType()

public Parser<ModelMonitoringAlert> getParserForType()
Returns
Type Description
Parser<ModelMonitoringAlert>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ModelMonitoringAlert.Builder newBuilderForType()
Returns
Type Description
ModelMonitoringAlert.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ModelMonitoringAlert.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ModelMonitoringAlert.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ModelMonitoringAlert.Builder toBuilder()
Returns
Type Description
ModelMonitoringAlert.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException