Package com.google.cloud.aiplatform.v1
Class ModelMonitoringAlertConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig
- All Implemented Interfaces:
ModelMonitoringAlertConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class ModelMonitoringAlertConfig
extends com.google.protobuf.GeneratedMessage
implements ModelMonitoringAlertConfigOrBuilder
The alert config for model monitoring.Protobuf type
google.cloud.aiplatform.v1.ModelMonitoringAlertConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic final classThe alert config for model monitoring.static final classThe config for email alert.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ModelMonitoringAlertConfigstatic final com.google.protobuf.Descriptors.DescriptorEmail alert config.Email alert config.booleanDump the anomalies to Cloud Logging.getNotificationChannels(int index) Resource names of the NotificationChannels to send alert.com.google.protobuf.ByteStringgetNotificationChannelsBytes(int index) Resource names of the NotificationChannels to send alert.intResource names of the NotificationChannels to send alert.com.google.protobuf.ProtocolStringListResource names of the NotificationChannels to send alert.com.google.protobuf.Parser<ModelMonitoringAlertConfig>intbooleanEmail alert config.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(ModelMonitoringAlertConfig prototype) protected ModelMonitoringAlertConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ModelMonitoringAlertConfigparseDelimitedFrom(InputStream input) static ModelMonitoringAlertConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ModelMonitoringAlertConfigparseFrom(byte[] data) static ModelMonitoringAlertConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ModelMonitoringAlertConfigparseFrom(com.google.protobuf.ByteString data) static ModelMonitoringAlertConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ModelMonitoringAlertConfigparseFrom(com.google.protobuf.CodedInputStream input) static ModelMonitoringAlertConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ModelMonitoringAlertConfigparseFrom(InputStream input) static ModelMonitoringAlertConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ModelMonitoringAlertConfigparseFrom(ByteBuffer data) static ModelMonitoringAlertConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ModelMonitoringAlertConfig>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
EMAIL_ALERT_CONFIG_FIELD_NUMBER
public static final int EMAIL_ALERT_CONFIG_FIELD_NUMBER- See Also:
-
ENABLE_LOGGING_FIELD_NUMBER
public static final int ENABLE_LOGGING_FIELD_NUMBER- See Also:
-
NOTIFICATION_CHANNELS_FIELD_NUMBER
public static final int NOTIFICATION_CHANNELS_FIELD_NUMBER- See Also:
-
-
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
-
getAlertCase
- Specified by:
getAlertCasein interfaceModelMonitoringAlertConfigOrBuilder
-
hasEmailAlertConfig
public boolean hasEmailAlertConfig()Email alert config.
.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;- Specified by:
hasEmailAlertConfigin interfaceModelMonitoringAlertConfigOrBuilder- Returns:
- Whether the emailAlertConfig field is set.
-
getEmailAlertConfig
Email alert config.
.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;- Specified by:
getEmailAlertConfigin interfaceModelMonitoringAlertConfigOrBuilder- Returns:
- The emailAlertConfig.
-
getEmailAlertConfigOrBuilder
Email alert config.
.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;- Specified by:
getEmailAlertConfigOrBuilderin interfaceModelMonitoringAlertConfigOrBuilder
-
getEnableLogging
public boolean getEnableLogging()Dump the anomalies to Cloud Logging. The anomalies will be put to json payload encoded from proto [ModelMonitoringStatsAnomalies][google.cloud.aiplatform.v1.ModelMonitoringStatsAnomalies]. This can be further synced to Pub/Sub or any other services supported by Cloud Logging.
bool enable_logging = 2;- Specified by:
getEnableLoggingin interfaceModelMonitoringAlertConfigOrBuilder- Returns:
- The enableLogging.
-
getNotificationChannelsList
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) = { ... }- Specified by:
getNotificationChannelsListin interfaceModelMonitoringAlertConfigOrBuilder- Returns:
- A list containing the notificationChannels.
-
getNotificationChannelsCount
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) = { ... }- Specified by:
getNotificationChannelsCountin interfaceModelMonitoringAlertConfigOrBuilder- Returns:
- The count of notificationChannels.
-
getNotificationChannels
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) = { ... }- Specified by:
getNotificationChannelsin interfaceModelMonitoringAlertConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The notificationChannels at the given index.
-
getNotificationChannelsBytes
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) = { ... }- Specified by:
getNotificationChannelsBytesin interfaceModelMonitoringAlertConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the notificationChannels at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ModelMonitoringAlertConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelMonitoringAlertConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelMonitoringAlertConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelMonitoringAlertConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelMonitoringAlertConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelMonitoringAlertConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ModelMonitoringAlertConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ModelMonitoringAlertConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ModelMonitoringAlertConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ModelMonitoringAlertConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ModelMonitoringAlertConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-