Class Entitlement.AdditionalNotificationTargets (0.12.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
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

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

getDescriptor()

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

newBuilder()

public static Entitlement.AdditionalNotificationTargets.Builder newBuilder()

newBuilder(Entitlement.AdditionalNotificationTargets prototype)

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

parseDelimitedFrom(InputStream input)

public static Entitlement.AdditionalNotificationTargets parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
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
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Entitlement.AdditionalNotificationTargets parseFrom(byte[] data)
Parameter
Name Description
data byte[]
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
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Entitlement.AdditionalNotificationTargets parseFrom(ByteString data)
Parameter
Name Description
data ByteString
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
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Entitlement.AdditionalNotificationTargets parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
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
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Entitlement.AdditionalNotificationTargets parseFrom(InputStream input)
Parameter
Name Description
input InputStream
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
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Entitlement.AdditionalNotificationTargets parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
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
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()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Entitlement.AdditionalNotificationTargets.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
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()

writeTo(CodedOutputStream output)

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