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
Methods
public ModelMonitoringAlertConfig.EmailAlertConfig.Builder addAllUserEmails(Iterable<String> values)
The email addresses to send the alert.
repeated string user_emails = 1;
Parameter
Returns
public ModelMonitoringAlertConfig.EmailAlertConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
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
public ModelMonitoringAlertConfig.EmailAlertConfig build()
Returns
public ModelMonitoringAlertConfig.EmailAlertConfig buildPartial()
Returns
public ModelMonitoringAlertConfig.EmailAlertConfig.Builder clear()
Returns
Overrides
public ModelMonitoringAlertConfig.EmailAlertConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ModelMonitoringAlertConfig.EmailAlertConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ModelMonitoringAlertConfig.EmailAlertConfig.Builder clearUserEmails()
The email addresses to send the alert.
repeated string user_emails = 1;
Returns
public ModelMonitoringAlertConfig.EmailAlertConfig.Builder clone()
Returns
Overrides
public ModelMonitoringAlertConfig.EmailAlertConfig getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
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.
|
public int getUserEmailsCount()
The email addresses to send the alert.
repeated string user_emails = 1;
Returns
Type | Description |
int | The count of userEmails.
|
public ProtocolStringList getUserEmailsList()
The email addresses to send the alert.
repeated string user_emails = 1;
Returns
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ModelMonitoringAlertConfig.EmailAlertConfig.Builder mergeFrom(ModelMonitoringAlertConfig.EmailAlertConfig other)
Parameter
Returns
public ModelMonitoringAlertConfig.EmailAlertConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ModelMonitoringAlertConfig.EmailAlertConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ModelMonitoringAlertConfig.EmailAlertConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ModelMonitoringAlertConfig.EmailAlertConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ModelMonitoringAlertConfig.EmailAlertConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ModelMonitoringAlertConfig.EmailAlertConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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