public static final class ModelMonitoringNotificationSpec.Builder extends GeneratedMessageV3.Builder<ModelMonitoringNotificationSpec.Builder> implements ModelMonitoringNotificationSpecOrBuilder
Notification spec(email, notification channel) for model monitoring
statistics/alerts.
Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public ModelMonitoringNotificationSpec.Builder addAllNotificationChannelConfigs(Iterable<? extends ModelMonitoringNotificationSpec.NotificationChannelConfig> values)
Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig>
|
public ModelMonitoringNotificationSpec.Builder addNotificationChannelConfigs(ModelMonitoringNotificationSpec.NotificationChannelConfig value)
Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3;
public ModelMonitoringNotificationSpec.Builder addNotificationChannelConfigs(ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder builderForValue)
Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3;
public ModelMonitoringNotificationSpec.Builder addNotificationChannelConfigs(int index, ModelMonitoringNotificationSpec.NotificationChannelConfig value)
Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3;
public ModelMonitoringNotificationSpec.Builder addNotificationChannelConfigs(int index, ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder builderForValue)
Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3;
public ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder addNotificationChannelConfigsBuilder()
Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3;
public ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder addNotificationChannelConfigsBuilder(int index)
Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3;
Parameter |
Name |
Description |
index |
int
|
public ModelMonitoringNotificationSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ModelMonitoringNotificationSpec build()
public ModelMonitoringNotificationSpec buildPartial()
public ModelMonitoringNotificationSpec.Builder clear()
Overrides
public ModelMonitoringNotificationSpec.Builder clearEmailConfig()
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.EmailConfig email_config = 1;
public ModelMonitoringNotificationSpec.Builder clearEnableCloudLogging()
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;
public ModelMonitoringNotificationSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ModelMonitoringNotificationSpec.Builder clearNotificationChannelConfigs()
Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3;
public ModelMonitoringNotificationSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ModelMonitoringNotificationSpec.Builder clone()
Overrides
public ModelMonitoringNotificationSpec getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public ModelMonitoringNotificationSpec.EmailConfig getEmailConfig()
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.EmailConfig email_config = 1;
public ModelMonitoringNotificationSpec.EmailConfig.Builder getEmailConfigBuilder()
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.EmailConfig email_config = 1;
public ModelMonitoringNotificationSpec.EmailConfigOrBuilder getEmailConfigOrBuilder()
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.EmailConfig email_config = 1;
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.
|
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
|
public ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder getNotificationChannelConfigsBuilder(int index)
Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3;
Parameter |
Name |
Description |
index |
int
|
public List<ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder> getNotificationChannelConfigsBuilderList()
Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3;
public int getNotificationChannelConfigsCount()
Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3;
Returns |
Type |
Description |
int |
|
public List<ModelMonitoringNotificationSpec.NotificationChannelConfig> getNotificationChannelConfigsList()
Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3;
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
|
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> |
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ModelMonitoringNotificationSpec.Builder mergeEmailConfig(ModelMonitoringNotificationSpec.EmailConfig value)
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.EmailConfig email_config = 1;
public ModelMonitoringNotificationSpec.Builder mergeFrom(ModelMonitoringNotificationSpec other)
public ModelMonitoringNotificationSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ModelMonitoringNotificationSpec.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final ModelMonitoringNotificationSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ModelMonitoringNotificationSpec.Builder removeNotificationChannelConfigs(int index)
Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3;
Parameter |
Name |
Description |
index |
int
|
public ModelMonitoringNotificationSpec.Builder setEmailConfig(ModelMonitoringNotificationSpec.EmailConfig value)
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.EmailConfig email_config = 1;
public ModelMonitoringNotificationSpec.Builder setEmailConfig(ModelMonitoringNotificationSpec.EmailConfig.Builder builderForValue)
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.EmailConfig email_config = 1;
public ModelMonitoringNotificationSpec.Builder setEnableCloudLogging(boolean value)
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;
Parameter |
Name |
Description |
value |
boolean
The enableCloudLogging to set.
|
public ModelMonitoringNotificationSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ModelMonitoringNotificationSpec.Builder setNotificationChannelConfigs(int index, ModelMonitoringNotificationSpec.NotificationChannelConfig value)
Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3;
public ModelMonitoringNotificationSpec.Builder setNotificationChannelConfigs(int index, ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder builderForValue)
Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3;
public ModelMonitoringNotificationSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ModelMonitoringNotificationSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides