Class ModelMonitoringAlertConfig.EmailAlertConfig.Builder (3.28.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
TypeDescription
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
NameDescription
valuesIterable<String>

The userEmails to add.

Returns
TypeDescription
ModelMonitoringAlertConfig.EmailAlertConfig.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringAlertConfig.EmailAlertConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The userEmails to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the userEmails to add.

Returns
TypeDescription
ModelMonitoringAlertConfig.EmailAlertConfig.Builder

This builder for chaining.

build()

public ModelMonitoringAlertConfig.EmailAlertConfig build()
Returns
TypeDescription
ModelMonitoringAlertConfig.EmailAlertConfig

buildPartial()

public ModelMonitoringAlertConfig.EmailAlertConfig buildPartial()
Returns
TypeDescription
ModelMonitoringAlertConfig.EmailAlertConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUserEmails()

public ModelMonitoringAlertConfig.EmailAlertConfig.Builder clearUserEmails()

The email addresses to send the alert.

repeated string user_emails = 1;

Returns
TypeDescription
ModelMonitoringAlertConfig.EmailAlertConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ModelMonitoringAlertConfig.EmailAlertConfig getDefaultInstanceForType()
Returns
TypeDescription
ModelMonitoringAlertConfig.EmailAlertConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUserEmails(int index)

public String getUserEmails(int index)

The email addresses to send the alert.

repeated string user_emails = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of userEmails.

getUserEmailsList()

public ProtocolStringList getUserEmailsList()

The email addresses to send the alert.

repeated string user_emails = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the userEmails.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ModelMonitoringAlertConfig.EmailAlertConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringAlertConfig.EmailAlertConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ModelMonitoringAlertConfig.EmailAlertConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringAlertConfig.EmailAlertConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The userEmails to set.

Returns
TypeDescription
ModelMonitoringAlertConfig.EmailAlertConfig.Builder

This builder for chaining.