Class ModelMonitoringNotificationSpec.EmailConfig.Builder (3.84.0)

public static final class ModelMonitoringNotificationSpec.EmailConfig.Builder extends GeneratedMessage.Builder<ModelMonitoringNotificationSpec.EmailConfig.Builder> implements ModelMonitoringNotificationSpec.EmailConfigOrBuilder

The config for email alerts.

Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec.EmailConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllUserEmails(Iterable<String> values)

public ModelMonitoringNotificationSpec.EmailConfig.Builder addAllUserEmails(Iterable<String> values)

The email addresses to send the alerts.

repeated string user_emails = 1;

Parameter
Name Description
values Iterable<String>

The userEmails to add.

Returns
Type Description
ModelMonitoringNotificationSpec.EmailConfig.Builder

This builder for chaining.

addUserEmails(String value)

public ModelMonitoringNotificationSpec.EmailConfig.Builder addUserEmails(String value)

The email addresses to send the alerts.

repeated string user_emails = 1;

Parameter
Name Description
value String

The userEmails to add.

Returns
Type Description
ModelMonitoringNotificationSpec.EmailConfig.Builder

This builder for chaining.

addUserEmailsBytes(ByteString value)

public ModelMonitoringNotificationSpec.EmailConfig.Builder addUserEmailsBytes(ByteString value)

The email addresses to send the alerts.

repeated string user_emails = 1;

Parameter
Name Description
value ByteString

The bytes of the userEmails to add.

Returns
Type Description
ModelMonitoringNotificationSpec.EmailConfig.Builder

This builder for chaining.

build()

public ModelMonitoringNotificationSpec.EmailConfig build()
Returns
Type Description
ModelMonitoringNotificationSpec.EmailConfig

buildPartial()

public ModelMonitoringNotificationSpec.EmailConfig buildPartial()
Returns
Type Description
ModelMonitoringNotificationSpec.EmailConfig

clear()

public ModelMonitoringNotificationSpec.EmailConfig.Builder clear()
Returns
Type Description
ModelMonitoringNotificationSpec.EmailConfig.Builder
Overrides

clearUserEmails()

public ModelMonitoringNotificationSpec.EmailConfig.Builder clearUserEmails()

The email addresses to send the alerts.

repeated string user_emails = 1;

Returns
Type Description
ModelMonitoringNotificationSpec.EmailConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public ModelMonitoringNotificationSpec.EmailConfig getDefaultInstanceForType()
Returns
Type Description
ModelMonitoringNotificationSpec.EmailConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUserEmails(int index)

public String getUserEmails(int index)

The email addresses to send the alerts.

repeated string user_emails = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The userEmails at the given index.

getUserEmailsBytes(int index)

public ByteString getUserEmailsBytes(int index)

The email addresses to send the alerts.

repeated string user_emails = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the userEmails at the given index.

getUserEmailsCount()

public int getUserEmailsCount()

The email addresses to send the alerts.

repeated string user_emails = 1;

Returns
Type Description
int

The count of userEmails.

getUserEmailsList()

public ProtocolStringList getUserEmailsList()

The email addresses to send the alerts.

repeated string user_emails = 1;

Returns
Type Description
ProtocolStringList

A list containing the userEmails.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ModelMonitoringNotificationSpec.EmailConfig other)

public ModelMonitoringNotificationSpec.EmailConfig.Builder mergeFrom(ModelMonitoringNotificationSpec.EmailConfig other)
Parameter
Name Description
other ModelMonitoringNotificationSpec.EmailConfig
Returns
Type Description
ModelMonitoringNotificationSpec.EmailConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ModelMonitoringNotificationSpec.EmailConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringNotificationSpec.EmailConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ModelMonitoringNotificationSpec.EmailConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ModelMonitoringNotificationSpec.EmailConfig.Builder
Overrides

setUserEmails(int index, String value)

public ModelMonitoringNotificationSpec.EmailConfig.Builder setUserEmails(int index, String value)

The email addresses to send the alerts.

repeated string user_emails = 1;

Parameters
Name Description
index int

The index to set the value at.

value String

The userEmails to set.

Returns
Type Description
ModelMonitoringNotificationSpec.EmailConfig.Builder

This builder for chaining.