public static final class ModelMonitoringAlertConfig.Builder extends GeneratedMessageV3.Builder<ModelMonitoringAlertConfig.Builder> implements ModelMonitoringAlertConfigOrBuilder
Next ID: 3
Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig
Methods
public ModelMonitoringAlertConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ModelMonitoringAlertConfig build()
Returns
public ModelMonitoringAlertConfig buildPartial()
Returns
public ModelMonitoringAlertConfig.Builder clear()
Returns
Overrides
public ModelMonitoringAlertConfig.Builder clearAlert()
Returns
public ModelMonitoringAlertConfig.Builder clearEmailAlertConfig()
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
Returns
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;
Returns
public ModelMonitoringAlertConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ModelMonitoringAlertConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ModelMonitoringAlertConfig.Builder clone()
Returns
Overrides
public ModelMonitoringAlertConfig.AlertCase getAlertCase()
Returns
public ModelMonitoringAlertConfig getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public ModelMonitoringAlertConfig.EmailAlertConfig getEmailAlertConfig()
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
Returns
public ModelMonitoringAlertConfig.EmailAlertConfig.Builder getEmailAlertConfigBuilder()
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
Returns
public ModelMonitoringAlertConfig.EmailAlertConfigOrBuilder getEmailAlertConfigOrBuilder()
Email alert config.
.google.cloud.aiplatform.v1beta1.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 boolean hasEmailAlertConfig()
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
Returns
Type | Description |
boolean | Whether the emailAlertConfig field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ModelMonitoringAlertConfig.Builder mergeEmailAlertConfig(ModelMonitoringAlertConfig.EmailAlertConfig value)
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
Parameter
Returns
public ModelMonitoringAlertConfig.Builder mergeFrom(ModelMonitoringAlertConfig other)
Parameter
Returns
public ModelMonitoringAlertConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ModelMonitoringAlertConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ModelMonitoringAlertConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ModelMonitoringAlertConfig.Builder setEmailAlertConfig(ModelMonitoringAlertConfig.EmailAlertConfig value)
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
Parameter
Returns
public ModelMonitoringAlertConfig.Builder setEmailAlertConfig(ModelMonitoringAlertConfig.EmailAlertConfig.Builder builderForValue)
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
Parameter
Returns
public 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;
Parameter
Name | Description |
value | boolean
The enableLogging to set.
|
Returns
public ModelMonitoringAlertConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ModelMonitoringAlertConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ModelMonitoringAlertConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides