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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ApprovalWorkflow.BuilderImplements
ApprovalWorkflowOrBuilderStatic 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 |
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 |
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 |
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 |
clone()
public ApprovalWorkflow.Builder clone()
Returns | |
---|---|
Type | Description |
ApprovalWorkflow.Builder |
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 |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ApprovalWorkflow.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ApprovalWorkflow.Builder |
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 |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final ApprovalWorkflow.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ApprovalWorkflow.Builder |