Class ModelMonitoringNotificationSpec (3.49.0)

public final class ModelMonitoringNotificationSpec extends GeneratedMessageV3 implements ModelMonitoringNotificationSpecOrBuilder

Notification spec(email, notification channel) for model monitoring statistics/alerts.

Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ModelMonitoringNotificationSpec

Static Fields

EMAIL_CONFIG_FIELD_NUMBER

public static final int EMAIL_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_CLOUD_LOGGING_FIELD_NUMBER

public static final int ENABLE_CLOUD_LOGGING_FIELD_NUMBER
Field Value
Type Description
int

NOTIFICATION_CHANNEL_CONFIGS_FIELD_NUMBER

public static final int NOTIFICATION_CHANNEL_CONFIGS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ModelMonitoringNotificationSpec getDefaultInstance()
Returns
Type Description
ModelMonitoringNotificationSpec

getDescriptor()

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

newBuilder()

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

newBuilder(ModelMonitoringNotificationSpec prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ModelMonitoringNotificationSpec getDefaultInstanceForType()
Returns
Type Description
ModelMonitoringNotificationSpec

getEmailConfig()

public ModelMonitoringNotificationSpec.EmailConfig getEmailConfig()

Email alert config.

.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.EmailConfig email_config = 1;

Returns
Type Description
ModelMonitoringNotificationSpec.EmailConfig

The emailConfig.

getEmailConfigOrBuilder()

public ModelMonitoringNotificationSpec.EmailConfigOrBuilder getEmailConfigOrBuilder()

Email alert config.

.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.EmailConfig email_config = 1;

Returns
Type Description
ModelMonitoringNotificationSpec.EmailConfigOrBuilder

getEnableCloudLogging()

public boolean getEnableCloudLogging()

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_cloud_logging = 2;

Returns
Type Description
boolean

The enableCloudLogging.

getNotificationChannelConfigs(int index)

public ModelMonitoringNotificationSpec.NotificationChannelConfig getNotificationChannelConfigs(int index)

Notification channel config.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3;

Parameter
Name Description
index int
Returns
Type Description
ModelMonitoringNotificationSpec.NotificationChannelConfig

getNotificationChannelConfigsCount()

public int getNotificationChannelConfigsCount()

Notification channel config.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3;

Returns
Type Description
int

getNotificationChannelConfigsList()

public List<ModelMonitoringNotificationSpec.NotificationChannelConfig> getNotificationChannelConfigsList()

Notification channel config.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3;

Returns
Type Description
List<NotificationChannelConfig>

getNotificationChannelConfigsOrBuilder(int index)

public ModelMonitoringNotificationSpec.NotificationChannelConfigOrBuilder getNotificationChannelConfigsOrBuilder(int index)

Notification channel config.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3;

Parameter
Name Description
index int
Returns
Type Description
ModelMonitoringNotificationSpec.NotificationChannelConfigOrBuilder

getNotificationChannelConfigsOrBuilderList()

public List<? extends ModelMonitoringNotificationSpec.NotificationChannelConfigOrBuilder> getNotificationChannelConfigsOrBuilderList()

Notification channel config.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfigOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasEmailConfig()

public boolean hasEmailConfig()

Email alert config.

.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.EmailConfig email_config = 1;

Returns
Type Description
boolean

Whether the emailConfig 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 ModelMonitoringNotificationSpec.Builder newBuilderForType()
Returns
Type Description
ModelMonitoringNotificationSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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