Class AlertConfig.AlertPolicy.Recipient.Builder (2.56.0)

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

Recipient contact information.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AlertConfig.AlertPolicy.Recipient.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AlertConfig.AlertPolicy.Recipient.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public AlertConfig.AlertPolicy.Recipient.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AlertConfig.AlertPolicy.Recipient.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AlertConfig.AlertPolicy.Recipient.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AlertConfig.AlertPolicy.Recipient.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AlertConfig.AlertPolicy.Recipient.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public AlertConfig.AlertPolicy.Recipient.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AlertConfig.AlertPolicy.Recipient.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AlertConfig.AlertPolicy.Recipient.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AlertConfig.AlertPolicy.Recipient.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AlertConfig.AlertPolicy.Recipient.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AlertConfig.AlertPolicy.Recipient.Builder
Overrides