Class ApprovalWorkflow.Builder (0.6.0)

public static final class ApprovalWorkflow.Builder extends GeneratedMessageV3.Builder<ApprovalWorkflow.Builder> implements ApprovalWorkflowOrBuilder

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

Protobuf type google.cloud.privilegedaccessmanager.v1.ApprovalWorkflow

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ApprovalWorkflow build()
Returns
Type Description
ApprovalWorkflow

buildPartial()

public ApprovalWorkflow buildPartial()
Returns
Type Description
ApprovalWorkflow

clear()

public ApprovalWorkflow.Builder clear()
Returns
Type Description
ApprovalWorkflow.Builder
Overrides

clearApprovalWorkflow()

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

clearField(Descriptors.FieldDescriptor field)

public ApprovalWorkflow.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ApprovalWorkflow.Builder
Overrides

clearManualApprovals()

public ApprovalWorkflow.Builder clearManualApprovals()

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
ApprovalWorkflow.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ApprovalWorkflow.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ApprovalWorkflow.Builder
Overrides

clone()

public ApprovalWorkflow.Builder clone()
Returns
Type Description
ApprovalWorkflow.Builder
Overrides

getApprovalWorkflowCase()

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

getDefaultInstanceForType()

public ApprovalWorkflow getDefaultInstanceForType()
Returns
Type Description
ApprovalWorkflow

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getManualApprovalsBuilder()

public ManualApprovals.Builder getManualApprovalsBuilder()

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

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ApprovalWorkflow other)

public ApprovalWorkflow.Builder mergeFrom(ApprovalWorkflow other)
Parameter
Name Description
other ApprovalWorkflow
Returns
Type Description
ApprovalWorkflow.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ApprovalWorkflow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApprovalWorkflow.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ApprovalWorkflow.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ApprovalWorkflow.Builder
Overrides

mergeManualApprovals(ManualApprovals value)

public ApprovalWorkflow.Builder mergeManualApprovals(ManualApprovals value)

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

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

Parameter
Name Description
value ManualApprovals
Returns
Type Description
ApprovalWorkflow.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ApprovalWorkflow.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ApprovalWorkflow.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setManualApprovals(ManualApprovals value)

public ApprovalWorkflow.Builder setManualApprovals(ManualApprovals value)

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

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

Parameter
Name Description
value ManualApprovals
Returns
Type Description
ApprovalWorkflow.Builder

setManualApprovals(ManualApprovals.Builder builderForValue)

public ApprovalWorkflow.Builder setManualApprovals(ManualApprovals.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue ManualApprovals.Builder
Returns
Type Description
ApprovalWorkflow.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ApprovalWorkflow.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ApprovalWorkflow.Builder
Overrides