Class Entitlement.AdditionalNotificationTargets (0.7.0)

public static final class Entitlement.AdditionalNotificationTargets extends GeneratedMessageV3 implements Entitlement.AdditionalNotificationTargetsOrBuilder

AdditionalNotificationTargets includes email addresses to be notified.

Protobuf type google.cloud.privilegedaccessmanager.v1.Entitlement.AdditionalNotificationTargets

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Entitlement.AdditionalNotificationTargets

Static Fields

ADMIN_EMAIL_RECIPIENTS_FIELD_NUMBER

public static final int ADMIN_EMAIL_RECIPIENTS_FIELD_NUMBER
Field Value
Type Description
int

REQUESTER_EMAIL_RECIPIENTS_FIELD_NUMBER

public static final int REQUESTER_EMAIL_RECIPIENTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Entitlement.AdditionalNotificationTargets getDefaultInstance()
Returns
Type Description
Entitlement.AdditionalNotificationTargets

getDescriptor()

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

newBuilder()

public static Entitlement.AdditionalNotificationTargets.Builder newBuilder()
Returns
Type Description
Entitlement.AdditionalNotificationTargets.Builder

newBuilder(Entitlement.AdditionalNotificationTargets prototype)

public static Entitlement.AdditionalNotificationTargets.Builder newBuilder(Entitlement.AdditionalNotificationTargets prototype)
Parameter
Name Description
prototype Entitlement.AdditionalNotificationTargets
Returns
Type Description
Entitlement.AdditionalNotificationTargets.Builder

parseDelimitedFrom(InputStream input)

public static Entitlement.AdditionalNotificationTargets parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Entitlement.AdditionalNotificationTargets
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Entitlement.AdditionalNotificationTargets parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Entitlement.AdditionalNotificationTargets
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Entitlement.AdditionalNotificationTargets parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Entitlement.AdditionalNotificationTargets
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Entitlement.AdditionalNotificationTargets parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Entitlement.AdditionalNotificationTargets
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Entitlement.AdditionalNotificationTargets parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Entitlement.AdditionalNotificationTargets
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Entitlement.AdditionalNotificationTargets parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Entitlement.AdditionalNotificationTargets
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Entitlement.AdditionalNotificationTargets parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Entitlement.AdditionalNotificationTargets
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Entitlement.AdditionalNotificationTargets parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Entitlement.AdditionalNotificationTargets
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Entitlement.AdditionalNotificationTargets parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Entitlement.AdditionalNotificationTargets
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Entitlement.AdditionalNotificationTargets parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Entitlement.AdditionalNotificationTargets
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Entitlement.AdditionalNotificationTargets parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Entitlement.AdditionalNotificationTargets
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Entitlement.AdditionalNotificationTargets parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Entitlement.AdditionalNotificationTargets
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Entitlement.AdditionalNotificationTargets> parser()
Returns
Type Description
Parser<AdditionalNotificationTargets>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAdminEmailRecipients(int index)

public String getAdminEmailRecipients(int index)

Optional. Additional email addresses to be notified when a principal (requester) is granted access.

repeated string admin_email_recipients = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The adminEmailRecipients at the given index.

getAdminEmailRecipientsBytes(int index)

public ByteString getAdminEmailRecipientsBytes(int index)

Optional. Additional email addresses to be notified when a principal (requester) is granted access.

repeated string admin_email_recipients = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the adminEmailRecipients at the given index.

getAdminEmailRecipientsCount()

public int getAdminEmailRecipientsCount()

Optional. Additional email addresses to be notified when a principal (requester) is granted access.

repeated string admin_email_recipients = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of adminEmailRecipients.

getAdminEmailRecipientsList()

public ProtocolStringList getAdminEmailRecipientsList()

Optional. Additional email addresses to be notified when a principal (requester) is granted access.

repeated string admin_email_recipients = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the adminEmailRecipients.

getDefaultInstanceForType()

public Entitlement.AdditionalNotificationTargets getDefaultInstanceForType()
Returns
Type Description
Entitlement.AdditionalNotificationTargets

getParserForType()

public Parser<Entitlement.AdditionalNotificationTargets> getParserForType()
Returns
Type Description
Parser<AdditionalNotificationTargets>
Overrides

getRequesterEmailRecipients(int index)

public String getRequesterEmailRecipients(int index)

Optional. Additional email address to be notified about an eligible entitlement.

repeated string requester_email_recipients = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The requesterEmailRecipients at the given index.

getRequesterEmailRecipientsBytes(int index)

public ByteString getRequesterEmailRecipientsBytes(int index)

Optional. Additional email address to be notified about an eligible entitlement.

repeated string requester_email_recipients = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the requesterEmailRecipients at the given index.

getRequesterEmailRecipientsCount()

public int getRequesterEmailRecipientsCount()

Optional. Additional email address to be notified about an eligible entitlement.

repeated string requester_email_recipients = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of requesterEmailRecipients.

getRequesterEmailRecipientsList()

public ProtocolStringList getRequesterEmailRecipientsList()

Optional. Additional email address to be notified about an eligible entitlement.

repeated string requester_email_recipients = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the requesterEmailRecipients.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Entitlement.AdditionalNotificationTargets.Builder newBuilderForType()
Returns
Type Description
Entitlement.AdditionalNotificationTargets.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Entitlement.AdditionalNotificationTargets.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Entitlement.AdditionalNotificationTargets.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Entitlement.AdditionalNotificationTargets.Builder toBuilder()
Returns
Type Description
Entitlement.AdditionalNotificationTargets.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException