Class ApprovalWorkflow (0.6.0)

public final class ApprovalWorkflow extends GeneratedMessageV3 implements ApprovalWorkflowOrBuilder

Different types of approval workflows that can be used to gate privileged access granting.

Protobuf type google.cloud.privilegedaccessmanager.v1.ApprovalWorkflow

Static Fields

MANUAL_APPROVALS_FIELD_NUMBER

public static final int MANUAL_APPROVALS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ApprovalWorkflow getDefaultInstance()
Returns
Type Description
ApprovalWorkflow

getDescriptor()

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

newBuilder()

public static ApprovalWorkflow.Builder newBuilder()
Returns
Type Description
ApprovalWorkflow.Builder

newBuilder(ApprovalWorkflow prototype)

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

parseDelimitedFrom(InputStream input)

public static ApprovalWorkflow parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ApprovalWorkflow
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ApprovalWorkflow parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ApprovalWorkflow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ApprovalWorkflow parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ApprovalWorkflow
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ApprovalWorkflow parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ApprovalWorkflow
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ApprovalWorkflow parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ApprovalWorkflow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ApprovalWorkflow> parser()
Returns
Type Description
Parser<ApprovalWorkflow>

Methods

equals(Object obj)

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

getApprovalWorkflowCase()

public ApprovalWorkflow.ApprovalWorkflowCase getApprovalWorkflowCase()
Returns
Type Description
ApprovalWorkflow.ApprovalWorkflowCase

getDefaultInstanceForType()

public ApprovalWorkflow getDefaultInstanceForType()
Returns
Type Description
ApprovalWorkflow

getManualApprovals()

public ManualApprovals getManualApprovals()

An approval workflow where users designated as approvers review and act on the grants.

.google.cloud.privilegedaccessmanager.v1.ManualApprovals manual_approvals = 1;

Returns
Type Description
ManualApprovals

The manualApprovals.

getManualApprovalsOrBuilder()

public ManualApprovalsOrBuilder getManualApprovalsOrBuilder()

An approval workflow where users designated as approvers review and act on the grants.

.google.cloud.privilegedaccessmanager.v1.ManualApprovals manual_approvals = 1;

Returns
Type Description
ManualApprovalsOrBuilder

getParserForType()

public Parser<ApprovalWorkflow> getParserForType()
Returns
Type Description
Parser<ApprovalWorkflow>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasManualApprovals()

public boolean hasManualApprovals()

An approval workflow where users designated as approvers review and act on the grants.

.google.cloud.privilegedaccessmanager.v1.ManualApprovals manual_approvals = 1;

Returns
Type Description
boolean

Whether the manualApprovals field is set.

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 ApprovalWorkflow.Builder newBuilderForType()
Returns
Type Description
ApprovalWorkflow.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ApprovalWorkflow.Builder toBuilder()
Returns
Type Description
ApprovalWorkflow.Builder

writeTo(CodedOutputStream output)

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