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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
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.
|
public ModelMonitoringNotificationSpec.EmailConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
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.
|
public ModelMonitoringNotificationSpec.EmailConfig build()
public ModelMonitoringNotificationSpec.EmailConfig buildPartial()
public ModelMonitoringNotificationSpec.EmailConfig.Builder clear()
Overrides
public ModelMonitoringNotificationSpec.EmailConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ModelMonitoringNotificationSpec.EmailConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ModelMonitoringNotificationSpec.EmailConfig.Builder clearUserEmails()
The email addresses to send the alerts.
repeated string user_emails = 1;
public ModelMonitoringNotificationSpec.EmailConfig.Builder clone()
Overrides
public ModelMonitoringNotificationSpec.EmailConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
public int getUserEmailsCount()
The email addresses to send the alerts.
repeated string user_emails = 1;
Returns |
Type |
Description |
int |
The count of userEmails.
|
public ProtocolStringList getUserEmailsList()
The email addresses to send the alerts.
repeated string user_emails = 1;
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ModelMonitoringNotificationSpec.EmailConfig.Builder mergeFrom(ModelMonitoringNotificationSpec.EmailConfig other)
public ModelMonitoringNotificationSpec.EmailConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ModelMonitoringNotificationSpec.EmailConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final ModelMonitoringNotificationSpec.EmailConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ModelMonitoringNotificationSpec.EmailConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ModelMonitoringNotificationSpec.EmailConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ModelMonitoringNotificationSpec.EmailConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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.
|