public static final class ModelMonitoringAlertConfig.Builder extends GeneratedMessageV3.Builder<ModelMonitoringAlertConfig.Builder> implements ModelMonitoringAlertConfigOrBuilder
Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public ModelMonitoringAlertConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ModelMonitoringAlertConfig build()
public ModelMonitoringAlertConfig buildPartial()
public ModelMonitoringAlertConfig.Builder clear()
Overrides
public ModelMonitoringAlertConfig.Builder clearAlert()
public ModelMonitoringAlertConfig.Builder clearEmailAlertConfig()
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
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 ModelMonitoringAlertConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ModelMonitoringAlertConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ModelMonitoringAlertConfig.Builder clone()
Overrides
public ModelMonitoringAlertConfig.AlertCase getAlertCase()
public ModelMonitoringAlertConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public ModelMonitoringAlertConfig.EmailAlertConfig getEmailAlertConfig()
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
public ModelMonitoringAlertConfig.EmailAlertConfig.Builder getEmailAlertConfigBuilder()
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
public ModelMonitoringAlertConfig.EmailAlertConfigOrBuilder getEmailAlertConfigOrBuilder()
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
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()
Overrides
public final boolean isInitialized()
Overrides
public ModelMonitoringAlertConfig.Builder mergeEmailAlertConfig(ModelMonitoringAlertConfig.EmailAlertConfig value)
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
public ModelMonitoringAlertConfig.Builder mergeFrom(ModelMonitoringAlertConfig other)
public ModelMonitoringAlertConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ModelMonitoringAlertConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final ModelMonitoringAlertConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ModelMonitoringAlertConfig.Builder setEmailAlertConfig(ModelMonitoringAlertConfig.EmailAlertConfig value)
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
public ModelMonitoringAlertConfig.Builder setEmailAlertConfig(ModelMonitoringAlertConfig.EmailAlertConfig.Builder builderForValue)
Email alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;
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.
|
public ModelMonitoringAlertConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ModelMonitoringAlertConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ModelMonitoringAlertConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides