public final class ModelMonitoringAlertConfig extends GeneratedMessageV3 implements ModelMonitoringAlertConfigOrBuilder
Protobuf type google.cloud.aiplatform.v1.ModelMonitoringAlertConfig
Static Fields
public static final int EMAIL_ALERT_CONFIG_FIELD_NUMBER
Field Value
public static final int ENABLE_LOGGING_FIELD_NUMBER
Field Value
Static Methods
public static ModelMonitoringAlertConfig getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static ModelMonitoringAlertConfig.Builder newBuilder()
Returns
public static ModelMonitoringAlertConfig.Builder newBuilder(ModelMonitoringAlertConfig prototype)
Parameter
Returns
public static ModelMonitoringAlertConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ModelMonitoringAlertConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringAlertConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ModelMonitoringAlertConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringAlertConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ModelMonitoringAlertConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringAlertConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ModelMonitoringAlertConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringAlertConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ModelMonitoringAlertConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringAlertConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ModelMonitoringAlertConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ModelMonitoringAlertConfig> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public ModelMonitoringAlertConfig.AlertCase getAlertCase()
Returns
public ModelMonitoringAlertConfig getDefaultInstanceForType()
Returns
public ModelMonitoringAlertConfig.EmailAlertConfig getEmailAlertConfig()
Email alert config.
.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
Returns
public ModelMonitoringAlertConfig.EmailAlertConfigOrBuilder getEmailAlertConfigOrBuilder()
Email alert config.
.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
Returns
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 Parser<ModelMonitoringAlertConfig> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasEmailAlertConfig()
Email alert config.
.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
Returns
Type | Description |
boolean | Whether the emailAlertConfig field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ModelMonitoringAlertConfig.Builder newBuilderForType()
Returns
protected ModelMonitoringAlertConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public ModelMonitoringAlertConfig.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions