public static final class ManualApprovals.Step extends GeneratedMessageV3 implements ManualApprovals.StepOrBuilder
Step represents a logical step in a manual approval workflow.
Protobuf type google.cloud.privilegedaccessmanager.v1.ManualApprovals.Step
Inherited Members
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
APPROVALS_NEEDED_FIELD_NUMBER
public static final int APPROVALS_NEEDED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
APPROVERS_FIELD_NUMBER
public static final int APPROVERS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
APPROVER_EMAIL_RECIPIENTS_FIELD_NUMBER
public static final int APPROVER_EMAIL_RECIPIENTS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ManualApprovals.Step getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ManualApprovals.Step.Builder newBuilder()
newBuilder(ManualApprovals.Step prototype)
public static ManualApprovals.Step.Builder newBuilder(ManualApprovals.Step prototype)
public static ManualApprovals.Step parseDelimitedFrom(InputStream input)
public static ManualApprovals.Step parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ManualApprovals.Step parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ManualApprovals.Step parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ManualApprovals.Step parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ManualApprovals.Step parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ManualApprovals.Step parseFrom(CodedInputStream input)
public static ManualApprovals.Step parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ManualApprovals.Step parseFrom(InputStream input)
public static ManualApprovals.Step parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ManualApprovals.Step parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ManualApprovals.Step parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ManualApprovals.Step> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getApprovalsNeeded()
public int getApprovalsNeeded()
Required. How many users from the above list need to approve. If there
aren't enough distinct users in the list, then the workflow indefinitely
blocks. Should always be greater than 0. 1 is the only supported value.
int32 approvals_needed = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
The approvalsNeeded.
|
getApproverEmailRecipients(int index)
public String getApproverEmailRecipients(int index)
Optional. Additional email addresses to be notified when a grant is
pending approval.
repeated string approver_email_recipients = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The approverEmailRecipients at the given index.
|
getApproverEmailRecipientsBytes(int index)
public ByteString getApproverEmailRecipientsBytes(int index)
Optional. Additional email addresses to be notified when a grant is
pending approval.
repeated string approver_email_recipients = 3 [(.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 approverEmailRecipients at the given index.
|
getApproverEmailRecipientsCount()
public int getApproverEmailRecipientsCount()
Optional. Additional email addresses to be notified when a grant is
pending approval.
repeated string approver_email_recipients = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The count of approverEmailRecipients.
|
getApproverEmailRecipientsList()
public ProtocolStringList getApproverEmailRecipientsList()
Optional. Additional email addresses to be notified when a grant is
pending approval.
repeated string approver_email_recipients = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ProtocolStringList |
A list containing the approverEmailRecipients.
|
getApprovers(int index)
public AccessControlEntry getApprovers(int index)
Optional. The potential set of approvers in this step. This list must
contain at most one entry.
repeated .google.cloud.privilegedaccessmanager.v1.AccessControlEntry approvers = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getApproversCount()
public int getApproversCount()
Optional. The potential set of approvers in this step. This list must
contain at most one entry.
repeated .google.cloud.privilegedaccessmanager.v1.AccessControlEntry approvers = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
getApproversList()
public List<AccessControlEntry> getApproversList()
Optional. The potential set of approvers in this step. This list must
contain at most one entry.
repeated .google.cloud.privilegedaccessmanager.v1.AccessControlEntry approvers = 1 [(.google.api.field_behavior) = OPTIONAL];
getApproversOrBuilder(int index)
public AccessControlEntryOrBuilder getApproversOrBuilder(int index)
Optional. The potential set of approvers in this step. This list must
contain at most one entry.
repeated .google.cloud.privilegedaccessmanager.v1.AccessControlEntry approvers = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getApproversOrBuilderList()
public List<? extends AccessControlEntryOrBuilder> getApproversOrBuilderList()
Optional. The potential set of approvers in this step. This list must
contain at most one entry.
repeated .google.cloud.privilegedaccessmanager.v1.AccessControlEntry approvers = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
List<? extends com.google.cloud.privilegedaccessmanager.v1.AccessControlEntryOrBuilder> |
|
getDefaultInstanceForType()
public ManualApprovals.Step getDefaultInstanceForType()
getParserForType()
public Parser<ManualApprovals.Step> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ManualApprovals.Step.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ManualApprovals.Step.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ManualApprovals.Step.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides