Class ModelMonitoringNotificationSpec.EmailConfig.Builder (3.46.0)

public static final class ModelMonitoringNotificationSpec.EmailConfig.Builder extends GeneratedMessageV3.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.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringNotificationSpec.EmailConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ModelMonitoringNotificationSpec.EmailConfig.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public ModelMonitoringNotificationSpec.EmailConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ModelMonitoringNotificationSpec.EmailConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ModelMonitoringNotificationSpec.EmailConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringNotificationSpec.EmailConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ModelMonitoringNotificationSpec.EmailConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringNotificationSpec.EmailConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ModelMonitoringNotificationSpec.EmailConfig.Builder
Overrides

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

public ModelMonitoringNotificationSpec.EmailConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ModelMonitoringNotificationSpec.EmailConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringNotificationSpec.EmailConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.