Class ModelMonitoringAlertConfig.Builder (3.7.0)

public static final class ModelMonitoringAlertConfig.Builder extends GeneratedMessageV3.Builder<ModelMonitoringAlertConfig.Builder> implements ModelMonitoringAlertConfigOrBuilder

Protobuf type google.cloud.aiplatform.v1.ModelMonitoringAlertConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringAlertConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ModelMonitoringAlertConfig.Builder
Overrides

build()

public ModelMonitoringAlertConfig build()
Returns
TypeDescription
ModelMonitoringAlertConfig

buildPartial()

public ModelMonitoringAlertConfig buildPartial()
Returns
TypeDescription
ModelMonitoringAlertConfig

clear()

public ModelMonitoringAlertConfig.Builder clear()
Returns
TypeDescription
ModelMonitoringAlertConfig.Builder
Overrides

clearAlert()

public ModelMonitoringAlertConfig.Builder clearAlert()
Returns
TypeDescription
ModelMonitoringAlertConfig.Builder

clearEmailAlertConfig()

public ModelMonitoringAlertConfig.Builder clearEmailAlertConfig()

Email alert config.

.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;

Returns
TypeDescription
ModelMonitoringAlertConfig.Builder

clearEnableLogging()

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
TypeDescription
ModelMonitoringAlertConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ModelMonitoringAlertConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ModelMonitoringAlertConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ModelMonitoringAlertConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ModelMonitoringAlertConfig.Builder
Overrides

clone()

public ModelMonitoringAlertConfig.Builder clone()
Returns
TypeDescription
ModelMonitoringAlertConfig.Builder
Overrides

getAlertCase()

public ModelMonitoringAlertConfig.AlertCase getAlertCase()
Returns
TypeDescription
ModelMonitoringAlertConfig.AlertCase

getDefaultInstanceForType()

public ModelMonitoringAlertConfig getDefaultInstanceForType()
Returns
TypeDescription
ModelMonitoringAlertConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEmailAlertConfig()

public ModelMonitoringAlertConfig.EmailAlertConfig getEmailAlertConfig()

Email alert config.

.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;

Returns
TypeDescription
ModelMonitoringAlertConfig.EmailAlertConfig

The emailAlertConfig.

getEmailAlertConfigBuilder()

public ModelMonitoringAlertConfig.EmailAlertConfig.Builder getEmailAlertConfigBuilder()

Email alert config.

.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;

Returns
TypeDescription
ModelMonitoringAlertConfig.EmailAlertConfig.Builder

getEmailAlertConfigOrBuilder()

public ModelMonitoringAlertConfig.EmailAlertConfigOrBuilder getEmailAlertConfigOrBuilder()

Email alert config.

.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;

Returns
TypeDescription
ModelMonitoringAlertConfig.EmailAlertConfigOrBuilder

getEnableLogging()

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
TypeDescription
boolean

The enableLogging.

hasEmailAlertConfig()

public boolean hasEmailAlertConfig()

Email alert config.

.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;

Returns
TypeDescription
boolean

Whether the emailAlertConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeEmailAlertConfig(ModelMonitoringAlertConfig.EmailAlertConfig value)

public ModelMonitoringAlertConfig.Builder mergeEmailAlertConfig(ModelMonitoringAlertConfig.EmailAlertConfig value)

Email alert config.

.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;

Parameter
NameDescription
valueModelMonitoringAlertConfig.EmailAlertConfig
Returns
TypeDescription
ModelMonitoringAlertConfig.Builder

mergeFrom(ModelMonitoringAlertConfig other)

public ModelMonitoringAlertConfig.Builder mergeFrom(ModelMonitoringAlertConfig other)
Parameter
NameDescription
otherModelMonitoringAlertConfig
Returns
TypeDescription
ModelMonitoringAlertConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ModelMonitoringAlertConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelMonitoringAlertConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ModelMonitoringAlertConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ModelMonitoringAlertConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringAlertConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ModelMonitoringAlertConfig.Builder
Overrides

setEmailAlertConfig(ModelMonitoringAlertConfig.EmailAlertConfig value)

public ModelMonitoringAlertConfig.Builder setEmailAlertConfig(ModelMonitoringAlertConfig.EmailAlertConfig value)

Email alert config.

.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;

Parameter
NameDescription
valueModelMonitoringAlertConfig.EmailAlertConfig
Returns
TypeDescription
ModelMonitoringAlertConfig.Builder

setEmailAlertConfig(ModelMonitoringAlertConfig.EmailAlertConfig.Builder builderForValue)

public ModelMonitoringAlertConfig.Builder setEmailAlertConfig(ModelMonitoringAlertConfig.EmailAlertConfig.Builder builderForValue)

Email alert config.

.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;

Parameter
NameDescription
builderForValueModelMonitoringAlertConfig.EmailAlertConfig.Builder
Returns
TypeDescription
ModelMonitoringAlertConfig.Builder

setEnableLogging(boolean value)

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
NameDescription
valueboolean

The enableLogging to set.

Returns
TypeDescription
ModelMonitoringAlertConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringAlertConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ModelMonitoringAlertConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ModelMonitoringAlertConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ModelMonitoringAlertConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringAlertConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ModelMonitoringAlertConfig.Builder
Overrides