Class AlertConfig.AlertPolicy.Recipient.Builder (2.85.0)

public static final class AlertConfig.AlertPolicy.Recipient.Builder extends GeneratedMessage.Builder<AlertConfig.AlertPolicy.Recipient.Builder> implements AlertConfig.AlertPolicy.RecipientOrBuilder

Recipient contact information.

Protobuf type google.cloud.retail.v2beta.AlertConfig.AlertPolicy.Recipient

Static Methods

getDescriptor()

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

Methods

build()

public AlertConfig.AlertPolicy.Recipient build()
Returns
Type Description
AlertConfig.AlertPolicy.Recipient

buildPartial()

public AlertConfig.AlertPolicy.Recipient buildPartial()
Returns
Type Description
AlertConfig.AlertPolicy.Recipient

clear()

public AlertConfig.AlertPolicy.Recipient.Builder clear()
Returns
Type Description
AlertConfig.AlertPolicy.Recipient.Builder
Overrides

clearEmailAddress()

public AlertConfig.AlertPolicy.Recipient.Builder clearEmailAddress()

Email address of the recipient.

string email_address = 1;

Returns
Type Description
AlertConfig.AlertPolicy.Recipient.Builder

This builder for chaining.

getDefaultInstanceForType()

public AlertConfig.AlertPolicy.Recipient getDefaultInstanceForType()
Returns
Type Description
AlertConfig.AlertPolicy.Recipient

getDescriptorForType()

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

getEmailAddress()

public String getEmailAddress()

Email address of the recipient.

string email_address = 1;

Returns
Type Description
String

The emailAddress.

getEmailAddressBytes()

public ByteString getEmailAddressBytes()

Email address of the recipient.

string email_address = 1;

Returns
Type Description
ByteString

The bytes for emailAddress.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AlertConfig.AlertPolicy.Recipient other)

public AlertConfig.AlertPolicy.Recipient.Builder mergeFrom(AlertConfig.AlertPolicy.Recipient other)
Parameter
Name Description
other AlertConfig.AlertPolicy.Recipient
Returns
Type Description
AlertConfig.AlertPolicy.Recipient.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AlertConfig.AlertPolicy.Recipient.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AlertConfig.AlertPolicy.Recipient.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AlertConfig.AlertPolicy.Recipient.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AlertConfig.AlertPolicy.Recipient.Builder
Overrides

setEmailAddress(String value)

public AlertConfig.AlertPolicy.Recipient.Builder setEmailAddress(String value)

Email address of the recipient.

string email_address = 1;

Parameter
Name Description
value String

The emailAddress to set.

Returns
Type Description
AlertConfig.AlertPolicy.Recipient.Builder

This builder for chaining.

setEmailAddressBytes(ByteString value)

public AlertConfig.AlertPolicy.Recipient.Builder setEmailAddressBytes(ByteString value)

Email address of the recipient.

string email_address = 1;

Parameter
Name Description
value ByteString

The bytes for emailAddress to set.

Returns
Type Description
AlertConfig.AlertPolicy.Recipient.Builder

This builder for chaining.