public final class ModelMonitoringAlertConfig extends GeneratedMessageV3 implements ModelMonitoringAlertConfigOrBuilder
Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
public static final int EMAIL_ALERT_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int ENABLE_LOGGING_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int NOTIFICATION_CHANNELS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static ModelMonitoringAlertConfig getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static ModelMonitoringAlertConfig.Builder newBuilder()
public static ModelMonitoringAlertConfig.Builder newBuilder(ModelMonitoringAlertConfig prototype)
public static ModelMonitoringAlertConfig parseDelimitedFrom(InputStream input)
public static ModelMonitoringAlertConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ModelMonitoringAlertConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static ModelMonitoringAlertConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ModelMonitoringAlertConfig parseFrom(ByteString data)
public static ModelMonitoringAlertConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ModelMonitoringAlertConfig parseFrom(CodedInputStream input)
public static ModelMonitoringAlertConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ModelMonitoringAlertConfig parseFrom(InputStream input)
public static ModelMonitoringAlertConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ModelMonitoringAlertConfig parseFrom(ByteBuffer data)
public static ModelMonitoringAlertConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<ModelMonitoringAlertConfig> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public ModelMonitoringAlertConfig.AlertCase getAlertCase()
public ModelMonitoringAlertConfig getDefaultInstanceForType()
public ModelMonitoringAlertConfig.EmailAlertConfig getEmailAlertConfig()
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
public ModelMonitoringAlertConfig.EmailAlertConfigOrBuilder getEmailAlertConfigOrBuilder()
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
public 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 |
---|
Type | Description |
boolean | The enableLogging.
|
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) = { ... }
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The notificationChannels at the given index.
|
public 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) = { ... }
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the notificationChannels at the given index.
|
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) = { ... }
Returns |
---|
Type | Description |
int | The count of notificationChannels.
|
public 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) = { ... }
public Parser<ModelMonitoringAlertConfig> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public final UnknownFieldSet getUnknownFields()
Overrides
public boolean hasEmailAlertConfig()
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
Returns |
---|
Type | Description |
boolean | Whether the emailAlertConfig field is set.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ModelMonitoringAlertConfig.Builder newBuilderForType()
protected ModelMonitoringAlertConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public ModelMonitoringAlertConfig.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides