Class ModelMonitoringAlertConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig
All Implemented Interfaces:
ModelMonitoringAlertConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ModelMonitoringAlertConfig extends com.google.protobuf.GeneratedMessage implements ModelMonitoringAlertConfigOrBuilder
 The alert config for model monitoring.
 
Protobuf type google.cloud.aiplatform.v1.ModelMonitoringAlertConfig
See Also:
  • Field Details

    • EMAIL_ALERT_CONFIG_FIELD_NUMBER

      public static final int EMAIL_ALERT_CONFIG_FIELD_NUMBER
      See Also:
    • ENABLE_LOGGING_FIELD_NUMBER

      public static final int ENABLE_LOGGING_FIELD_NUMBER
      See Also:
    • NOTIFICATION_CHANNELS_FIELD_NUMBER

      public static final int NOTIFICATION_CHANNELS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getAlertCase

      public ModelMonitoringAlertConfig.AlertCase getAlertCase()
      Specified by:
      getAlertCase in interface ModelMonitoringAlertConfigOrBuilder
    • hasEmailAlertConfig

      public boolean hasEmailAlertConfig()
       Email alert config.
       
      .google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
      Specified by:
      hasEmailAlertConfig in interface ModelMonitoringAlertConfigOrBuilder
      Returns:
      Whether the emailAlertConfig field is set.
    • getEmailAlertConfig

      public ModelMonitoringAlertConfig.EmailAlertConfig getEmailAlertConfig()
       Email alert config.
       
      .google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
      Specified by:
      getEmailAlertConfig in interface ModelMonitoringAlertConfigOrBuilder
      Returns:
      The emailAlertConfig.
    • getEmailAlertConfigOrBuilder

      public ModelMonitoringAlertConfig.EmailAlertConfigOrBuilder getEmailAlertConfigOrBuilder()
       Email alert config.
       
      .google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
      Specified by:
      getEmailAlertConfigOrBuilder in interface ModelMonitoringAlertConfigOrBuilder
    • getEnableLogging

      public 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;
      Specified by:
      getEnableLogging in interface ModelMonitoringAlertConfigOrBuilder
      Returns:
      The enableLogging.
    • getNotificationChannelsList

      public com.google.protobuf.ProtocolStringList 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) = { ... }
      Specified by:
      getNotificationChannelsList in interface ModelMonitoringAlertConfigOrBuilder
      Returns:
      A list containing the notificationChannels.
    • getNotificationChannelsCount

      public 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) = { ... }
      Specified by:
      getNotificationChannelsCount in interface ModelMonitoringAlertConfigOrBuilder
      Returns:
      The count of notificationChannels.
    • getNotificationChannels

      public 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) = { ... }
      Specified by:
      getNotificationChannels in interface ModelMonitoringAlertConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The notificationChannels at the given index.
    • getNotificationChannelsBytes

      public 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) = { ... }
      Specified by:
      getNotificationChannelsBytes in interface ModelMonitoringAlertConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the notificationChannels at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ModelMonitoringAlertConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ModelMonitoringAlertConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ModelMonitoringAlertConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ModelMonitoringAlertConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ModelMonitoringAlertConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ModelMonitoringAlertConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ModelMonitoringAlertConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ModelMonitoringAlertConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ModelMonitoringAlertConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ModelMonitoringAlertConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ModelMonitoringAlertConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ModelMonitoringAlertConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ModelMonitoringAlertConfig.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ModelMonitoringAlertConfig.Builder newBuilder()
    • newBuilder

      public static ModelMonitoringAlertConfig.Builder newBuilder(ModelMonitoringAlertConfig prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ModelMonitoringAlertConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ModelMonitoringAlertConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ModelMonitoringAlertConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<ModelMonitoringAlertConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ModelMonitoringAlertConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder