public static final class ModelMonitoringAlertConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringAlertConfig.Builder> implements ModelMonitoringAlertConfigOrBuilder
google.cloud.aiplatform.v1.ModelMonitoringAlertConfiggetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringAlertConfig.Builder>public ModelMonitoringAlertConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringAlertConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringAlertConfig.Builder>public ModelMonitoringAlertConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ModelMonitoringAlertConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ModelMonitoringAlertConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ModelMonitoringAlertConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringAlertConfig.Builder>public ModelMonitoringAlertConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringAlertConfig.Builder>public ModelMonitoringAlertConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringAlertConfig.Builder>public ModelMonitoringAlertConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringAlertConfig.Builder>public ModelMonitoringAlertConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringAlertConfig.Builder>public ModelMonitoringAlertConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringAlertConfig.Builder>public ModelMonitoringAlertConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ModelMonitoringAlertConfig.Builder>public ModelMonitoringAlertConfig.Builder mergeFrom(ModelMonitoringAlertConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringAlertConfig.Builder>public ModelMonitoringAlertConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ModelMonitoringAlertConfig.Builder>IOExceptionpublic ModelMonitoringAlertConfig.AlertCase getAlertCase()
getAlertCase in interface ModelMonitoringAlertConfigOrBuilderpublic ModelMonitoringAlertConfig.Builder clearAlert()
public boolean hasEmailAlertConfig()
Email alert config.
.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
hasEmailAlertConfig in interface ModelMonitoringAlertConfigOrBuilderpublic ModelMonitoringAlertConfig.EmailAlertConfig getEmailAlertConfig()
Email alert config.
.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
getEmailAlertConfig in interface ModelMonitoringAlertConfigOrBuilderpublic ModelMonitoringAlertConfig.Builder setEmailAlertConfig(ModelMonitoringAlertConfig.EmailAlertConfig value)
Email alert config.
.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
public ModelMonitoringAlertConfig.Builder setEmailAlertConfig(ModelMonitoringAlertConfig.EmailAlertConfig.Builder builderForValue)
Email alert config.
.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
public ModelMonitoringAlertConfig.Builder mergeEmailAlertConfig(ModelMonitoringAlertConfig.EmailAlertConfig value)
Email alert config.
.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
public ModelMonitoringAlertConfig.Builder clearEmailAlertConfig()
Email alert config.
.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
public ModelMonitoringAlertConfig.EmailAlertConfig.Builder getEmailAlertConfigBuilder()
Email alert config.
.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
public ModelMonitoringAlertConfig.EmailAlertConfigOrBuilder getEmailAlertConfigOrBuilder()
Email alert config.
.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
getEmailAlertConfigOrBuilder in interface ModelMonitoringAlertConfigOrBuilderpublic 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;getEnableLogging in interface ModelMonitoringAlertConfigOrBuilderpublic ModelMonitoringAlertConfig.Builder setEnableLogging(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_logging = 2;value - The enableLogging to set.public ModelMonitoringAlertConfig.Builder clearEnableLogging()
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;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) = { ... }
getNotificationChannelsList in interface ModelMonitoringAlertConfigOrBuilderpublic 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) = { ... }
getNotificationChannelsCount in interface ModelMonitoringAlertConfigOrBuilderpublic 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) = { ... }
getNotificationChannels in interface ModelMonitoringAlertConfigOrBuilderindex - The index of the element to return.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) = { ... }
getNotificationChannelsBytes in interface ModelMonitoringAlertConfigOrBuilderindex - The index of the value to return.public ModelMonitoringAlertConfig.Builder setNotificationChannels(int index, String value)
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) = { ... }
index - The index to set the value at.value - The notificationChannels to set.public ModelMonitoringAlertConfig.Builder addNotificationChannels(String value)
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) = { ... }
value - The notificationChannels to add.public ModelMonitoringAlertConfig.Builder addAllNotificationChannels(Iterable<String> values)
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) = { ... }
values - The notificationChannels to add.public ModelMonitoringAlertConfig.Builder clearNotificationChannels()
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 ModelMonitoringAlertConfig.Builder addNotificationChannelsBytes(com.google.protobuf.ByteString value)
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) = { ... }
value - The bytes of the notificationChannels to add.public final ModelMonitoringAlertConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringAlertConfig.Builder>public final ModelMonitoringAlertConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringAlertConfig.Builder>Copyright © 2023 Google LLC. All rights reserved.