Package com.google.cloud.aiplatform.v1
Interface ModelMonitoringAlertConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ModelMonitoringAlertConfig,ModelMonitoringAlertConfig.Builder
@Generated
public interface ModelMonitoringAlertConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionEmail alert config.Email alert config.booleanDump the anomalies to Cloud Logging.getNotificationChannels(int index) Resource names of the NotificationChannels to send alert.com.google.protobuf.ByteStringgetNotificationChannelsBytes(int index) Resource names of the NotificationChannels to send alert.intResource names of the NotificationChannels to send alert.Resource names of the NotificationChannels to send alert.booleanEmail alert config.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasEmailAlertConfig
boolean hasEmailAlertConfig()Email alert config.
.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;- Returns:
- Whether the emailAlertConfig field is set.
-
getEmailAlertConfig
ModelMonitoringAlertConfig.EmailAlertConfig getEmailAlertConfig()Email alert config.
.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;- Returns:
- The emailAlertConfig.
-
getEmailAlertConfigOrBuilder
ModelMonitoringAlertConfig.EmailAlertConfigOrBuilder getEmailAlertConfigOrBuilder()Email alert config.
.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1; -
getEnableLogging
boolean getEnableLogging()Dump the anomalies to Cloud Logging. The anomalies will be put to json payload encoded from proto [ModelMonitoringStatsAnomalies][google.cloud.aiplatform.v1.ModelMonitoringStatsAnomalies]. This can be further synced to Pub/Sub or any other services supported by Cloud Logging.
bool enable_logging = 2;- Returns:
- The enableLogging.
-
getNotificationChannelsList
Resource names of the NotificationChannels to send alert. Must be of the format `projects/<project_id_or_number>/notificationChannels/<channel_id>`
repeated string notification_channels = 3 [(.google.api.resource_reference) = { ... }- Returns:
- A list containing the notificationChannels.
-
getNotificationChannelsCount
int getNotificationChannelsCount()Resource names of the NotificationChannels to send alert. Must be of the format `projects/<project_id_or_number>/notificationChannels/<channel_id>`
repeated string notification_channels = 3 [(.google.api.resource_reference) = { ... }- Returns:
- The count of notificationChannels.
-
getNotificationChannels
Resource names of the NotificationChannels to send alert. Must be of the format `projects/<project_id_or_number>/notificationChannels/<channel_id>`
repeated string notification_channels = 3 [(.google.api.resource_reference) = { ... }- Parameters:
index- The index of the element to return.- Returns:
- The notificationChannels at the given index.
-
getNotificationChannelsBytes
com.google.protobuf.ByteString getNotificationChannelsBytes(int index) Resource names of the NotificationChannels to send alert. Must be of the format `projects/<project_id_or_number>/notificationChannels/<channel_id>`
repeated string notification_channels = 3 [(.google.api.resource_reference) = { ... }- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the notificationChannels at the given index.
-
getAlertCase
ModelMonitoringAlertConfig.AlertCase getAlertCase()
-