Interface ModelMonitoringAlertConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ModelMonitoringAlertConfig,ModelMonitoringAlertConfig.Builder
public interface ModelMonitoringAlertConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModelMonitoringAlertConfig.AlertCasegetAlertCase()ModelMonitoringAlertConfig.EmailAlertConfiggetEmailAlertConfig()Email alert config.ModelMonitoringAlertConfig.EmailAlertConfigOrBuildergetEmailAlertConfigOrBuilder()Email alert config.booleangetEnableLogging()Dump the anomalies to Cloud Logging.StringgetNotificationChannels(int index)Resource names of the NotificationChannels to send alert.com.google.protobuf.ByteStringgetNotificationChannelsBytes(int index)Resource names of the NotificationChannels to send alert.intgetNotificationChannelsCount()Resource names of the NotificationChannels to send alert.List<String>getNotificationChannelsList()Resource names of the NotificationChannels to send alert.booleanhasEmailAlertConfig()Email alert config.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasEmailAlertConfig
boolean hasEmailAlertConfig()
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;- Returns:
- Whether the emailAlertConfig field is set.
-
getEmailAlertConfig
ModelMonitoringAlertConfig.EmailAlertConfig getEmailAlertConfig()
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;- Returns:
- The emailAlertConfig.
-
getEmailAlertConfigOrBuilder
ModelMonitoringAlertConfig.EmailAlertConfigOrBuilder getEmailAlertConfigOrBuilder()
Email alert config.
.google.cloud.aiplatform.v1beta1.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 [google.cloud.aiplatform.logging.ModelMonitoringAnomaliesLogEntry][]. This can be further sinked to Pub/Sub or any other services supported by Cloud Logging.
bool enable_logging = 2;- Returns:
- The enableLogging.
-
getNotificationChannelsList
List<String> 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
String getNotificationChannels(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 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()
-
-