Class ModelMonitoringAlertConfig.EmailAlertConfig.Builder (3.52.0)

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

The config for email alert.

Protobuf type google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig

Static Methods

getDescriptor()

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

Methods

addAllUserEmails(Iterable<String> values)

public ModelMonitoringAlertConfig.EmailAlertConfig.Builder addAllUserEmails(Iterable<String> values)

The email addresses to send the alert.

repeated string user_emails = 1;

Parameter
Name Description
values Iterable<String>

The userEmails to add.

Returns
Type Description
ModelMonitoringAlertConfig.EmailAlertConfig.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUserEmails(String value)

public ModelMonitoringAlertConfig.EmailAlertConfig.Builder addUserEmails(String value)

The email addresses to send the alert.

repeated string user_emails = 1;

Parameter
Name Description
value String

The userEmails to add.

Returns
Type Description
ModelMonitoringAlertConfig.EmailAlertConfig.Builder

This builder for chaining.

addUserEmailsBytes(ByteString value)

public ModelMonitoringAlertConfig.EmailAlertConfig.Builder addUserEmailsBytes(ByteString value)

The email addresses to send the alert.

repeated string user_emails = 1;

Parameter
Name Description
value ByteString

The bytes of the userEmails to add.

Returns
Type Description
ModelMonitoringAlertConfig.EmailAlertConfig.Builder

This builder for chaining.

build()

public ModelMonitoringAlertConfig.EmailAlertConfig build()
Returns
Type Description
ModelMonitoringAlertConfig.EmailAlertConfig

buildPartial()

public ModelMonitoringAlertConfig.EmailAlertConfig buildPartial()
Returns
Type Description
ModelMonitoringAlertConfig.EmailAlertConfig

clear()

public ModelMonitoringAlertConfig.EmailAlertConfig.Builder clear()
Returns
Type Description
ModelMonitoringAlertConfig.EmailAlertConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ModelMonitoringAlertConfig.EmailAlertConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ModelMonitoringAlertConfig.EmailAlertConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ModelMonitoringAlertConfig.EmailAlertConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ModelMonitoringAlertConfig.EmailAlertConfig.Builder
Overrides

clearUserEmails()

public ModelMonitoringAlertConfig.EmailAlertConfig.Builder clearUserEmails()

The email addresses to send the alert.

repeated string user_emails = 1;

Returns
Type Description
ModelMonitoringAlertConfig.EmailAlertConfig.Builder

This builder for chaining.

clone()

public ModelMonitoringAlertConfig.EmailAlertConfig.Builder clone()
Returns
Type Description
ModelMonitoringAlertConfig.EmailAlertConfig.Builder
Overrides

getDefaultInstanceForType()

public ModelMonitoringAlertConfig.EmailAlertConfig getDefaultInstanceForType()
Returns
Type Description
ModelMonitoringAlertConfig.EmailAlertConfig

getDescriptorForType()

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

getUserEmails(int index)

public String getUserEmails(int index)

The email addresses to send the alert.

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

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

repeated string user_emails = 1;

Returns
Type Description
int

The count of userEmails.

getUserEmailsList()

public ProtocolStringList getUserEmailsList()

The email addresses to send the alert.

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(ModelMonitoringAlertConfig.EmailAlertConfig other)

public ModelMonitoringAlertConfig.EmailAlertConfig.Builder mergeFrom(ModelMonitoringAlertConfig.EmailAlertConfig other)
Parameter
Name Description
other ModelMonitoringAlertConfig.EmailAlertConfig
Returns
Type Description
ModelMonitoringAlertConfig.EmailAlertConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ModelMonitoringAlertConfig.EmailAlertConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ModelMonitoringAlertConfig.EmailAlertConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringAlertConfig.EmailAlertConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ModelMonitoringAlertConfig.EmailAlertConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringAlertConfig.EmailAlertConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ModelMonitoringAlertConfig.EmailAlertConfig.Builder
Overrides

setUserEmails(int index, String value)

public ModelMonitoringAlertConfig.EmailAlertConfig.Builder setUserEmails(int index, String value)

The email addresses to send the alert.

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

This builder for chaining.