Class ModelMonitoringNotificationSpec.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ModelMonitoringNotificationSpec.Builder>
com.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.Builder
- All Implemented Interfaces:
ModelMonitoringNotificationSpecOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ModelMonitoringNotificationSpec
public static final class ModelMonitoringNotificationSpec.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ModelMonitoringNotificationSpec.Builder>
implements ModelMonitoringNotificationSpecOrBuilder
Notification spec(email, notification channel) for model monitoring statistics/alerts.Protobuf type
google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec-
Method Summary
Modifier and TypeMethodDescriptionaddAllNotificationChannelConfigs(Iterable<? extends ModelMonitoringNotificationSpec.NotificationChannelConfig> values) Notification channel config.addNotificationChannelConfigs(int index, ModelMonitoringNotificationSpec.NotificationChannelConfig value) Notification channel config.addNotificationChannelConfigs(int index, ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder builderForValue) Notification channel config.Notification channel config.addNotificationChannelConfigs(ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder builderForValue) Notification channel config.Notification channel config.addNotificationChannelConfigsBuilder(int index) Notification channel config.build()clear()Email alert config.Dump the anomalies to Cloud Logging.Notification channel config.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorEmail alert config.Email alert config.Email alert config.booleanDump the anomalies to Cloud Logging.getNotificationChannelConfigs(int index) Notification channel config.getNotificationChannelConfigsBuilder(int index) Notification channel config.Notification channel config.intNotification channel config.Notification channel config.getNotificationChannelConfigsOrBuilder(int index) Notification channel config.Notification channel config.booleanEmail alert config.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanEmail alert config.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeNotificationChannelConfigs(int index) Notification channel config.Email alert config.setEmailConfig(ModelMonitoringNotificationSpec.EmailConfig.Builder builderForValue) Email alert config.setEnableCloudLogging(boolean value) Dump the anomalies to Cloud Logging.setNotificationChannelConfigs(int index, ModelMonitoringNotificationSpec.NotificationChannelConfig value) Notification channel config.setNotificationChannelConfigs(int index, ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder builderForValue) Notification channel config.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ModelMonitoringNotificationSpec.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ModelMonitoringNotificationSpec.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ModelMonitoringNotificationSpec.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ModelMonitoringNotificationSpec.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ModelMonitoringNotificationSpec.Builder>
-
mergeFrom
public ModelMonitoringNotificationSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ModelMonitoringNotificationSpec.Builder>- Throws:
IOException
-
hasEmailConfig
public boolean hasEmailConfig()Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.EmailConfig email_config = 1;- Specified by:
hasEmailConfigin interfaceModelMonitoringNotificationSpecOrBuilder- Returns:
- Whether the emailConfig field is set.
-
getEmailConfig
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.EmailConfig email_config = 1;- Specified by:
getEmailConfigin interfaceModelMonitoringNotificationSpecOrBuilder- Returns:
- The emailConfig.
-
setEmailConfig
public ModelMonitoringNotificationSpec.Builder setEmailConfig(ModelMonitoringNotificationSpec.EmailConfig value) Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.EmailConfig email_config = 1; -
setEmailConfig
public ModelMonitoringNotificationSpec.Builder setEmailConfig(ModelMonitoringNotificationSpec.EmailConfig.Builder builderForValue) Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.EmailConfig email_config = 1; -
mergeEmailConfig
public ModelMonitoringNotificationSpec.Builder mergeEmailConfig(ModelMonitoringNotificationSpec.EmailConfig value) Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.EmailConfig email_config = 1; -
clearEmailConfig
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.EmailConfig email_config = 1; -
getEmailConfigBuilder
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.EmailConfig email_config = 1; -
getEmailConfigOrBuilder
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.EmailConfig email_config = 1;- Specified by:
getEmailConfigOrBuilderin interfaceModelMonitoringNotificationSpecOrBuilder
-
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;- Specified by:
getEnableCloudLoggingin interfaceModelMonitoringNotificationSpecOrBuilder- Returns:
- The enableCloudLogging.
-
setEnableCloudLogging
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;- Parameters:
value- The enableCloudLogging to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
getNotificationChannelConfigsList
public List<ModelMonitoringNotificationSpec.NotificationChannelConfig> getNotificationChannelConfigsList()Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3;- Specified by:
getNotificationChannelConfigsListin interfaceModelMonitoringNotificationSpecOrBuilder
-
getNotificationChannelConfigsCount
public int getNotificationChannelConfigsCount()Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3;- Specified by:
getNotificationChannelConfigsCountin interfaceModelMonitoringNotificationSpecOrBuilder
-
getNotificationChannelConfigs
public ModelMonitoringNotificationSpec.NotificationChannelConfig getNotificationChannelConfigs(int index) Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3;- Specified by:
getNotificationChannelConfigsin interfaceModelMonitoringNotificationSpecOrBuilder
-
setNotificationChannelConfigs
public ModelMonitoringNotificationSpec.Builder setNotificationChannelConfigs(int index, ModelMonitoringNotificationSpec.NotificationChannelConfig value) Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3; -
setNotificationChannelConfigs
public ModelMonitoringNotificationSpec.Builder setNotificationChannelConfigs(int index, ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder builderForValue) Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3; -
addNotificationChannelConfigs
public ModelMonitoringNotificationSpec.Builder addNotificationChannelConfigs(ModelMonitoringNotificationSpec.NotificationChannelConfig value) Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3; -
addNotificationChannelConfigs
public ModelMonitoringNotificationSpec.Builder addNotificationChannelConfigs(int index, ModelMonitoringNotificationSpec.NotificationChannelConfig value) Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3; -
addNotificationChannelConfigs
public ModelMonitoringNotificationSpec.Builder addNotificationChannelConfigs(ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder builderForValue) Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3; -
addNotificationChannelConfigs
public ModelMonitoringNotificationSpec.Builder addNotificationChannelConfigs(int index, ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder builderForValue) Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3; -
addAllNotificationChannelConfigs
public ModelMonitoringNotificationSpec.Builder addAllNotificationChannelConfigs(Iterable<? extends ModelMonitoringNotificationSpec.NotificationChannelConfig> values) Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3; -
clearNotificationChannelConfigs
Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3; -
removeNotificationChannelConfigs
Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3; -
getNotificationChannelConfigsBuilder
public ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder getNotificationChannelConfigsBuilder(int index) Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3; -
getNotificationChannelConfigsOrBuilder
public ModelMonitoringNotificationSpec.NotificationChannelConfigOrBuilder getNotificationChannelConfigsOrBuilder(int index) Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3;- Specified by:
getNotificationChannelConfigsOrBuilderin interfaceModelMonitoringNotificationSpecOrBuilder
-
getNotificationChannelConfigsOrBuilderList
public List<? extends ModelMonitoringNotificationSpec.NotificationChannelConfigOrBuilder> getNotificationChannelConfigsOrBuilderList()Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3;- Specified by:
getNotificationChannelConfigsOrBuilderListin interfaceModelMonitoringNotificationSpecOrBuilder
-
addNotificationChannelConfigsBuilder
public ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder addNotificationChannelConfigsBuilder()Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3; -
addNotificationChannelConfigsBuilder
public ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder addNotificationChannelConfigsBuilder(int index) Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3; -
getNotificationChannelConfigsBuilderList
public List<ModelMonitoringNotificationSpec.NotificationChannelConfig.Builder> getNotificationChannelConfigsBuilderList()Notification channel config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.NotificationChannelConfig notification_channel_configs = 3;
-