Class ModelMonitoringAlertConfig.EmailAlertConfig.Builder (3.35.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.v1beta1.ModelMonitoringAlertConfig.EmailAlertConfig

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

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
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()

buildPartial()

public ModelMonitoringAlertConfig.EmailAlertConfig buildPartial()

clear()

public ModelMonitoringAlertConfig.EmailAlertConfig.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ModelMonitoringAlertConfig.EmailAlertConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
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()
Overrides

getDefaultInstanceForType()

public ModelMonitoringAlertConfig.EmailAlertConfig getDefaultInstanceForType()

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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