public static final class ManualApprovals.Step.Builder extends GeneratedMessageV3.Builder<ManualApprovals.Step.Builder> implements ManualApprovals.StepOrBuilder
Step represents a logical step in a manual approval workflow.
Protobuf type google.cloud.privilegedaccessmanager.v1.ManualApprovals.Step
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ManualApprovals.Step.BuilderImplements
ManualApprovals.StepOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllApproverEmailRecipients(Iterable<String> values)
public ManualApprovals.Step.Builder addAllApproverEmailRecipients(Iterable<String> values)
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 |
values |
Iterable<String> The approverEmailRecipients to add. |
Returns | |
---|---|
Type | Description |
ManualApprovals.Step.Builder |
This builder for chaining. |
addAllApprovers(Iterable<? extends AccessControlEntry> values)
public ManualApprovals.Step.Builder addAllApprovers(Iterable<? extends AccessControlEntry> values)
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 |
values |
Iterable<? extends com.google.cloud.privilegedaccessmanager.v1.AccessControlEntry> |
Returns | |
---|---|
Type | Description |
ManualApprovals.Step.Builder |
addApproverEmailRecipients(String value)
public ManualApprovals.Step.Builder addApproverEmailRecipients(String value)
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 |
value |
String The approverEmailRecipients to add. |
Returns | |
---|---|
Type | Description |
ManualApprovals.Step.Builder |
This builder for chaining. |
addApproverEmailRecipientsBytes(ByteString value)
public ManualApprovals.Step.Builder addApproverEmailRecipientsBytes(ByteString value)
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 |
value |
ByteString The bytes of the approverEmailRecipients to add. |
Returns | |
---|---|
Type | Description |
ManualApprovals.Step.Builder |
This builder for chaining. |
addApprovers(AccessControlEntry value)
public ManualApprovals.Step.Builder addApprovers(AccessControlEntry value)
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 |
value |
AccessControlEntry |
Returns | |
---|---|
Type | Description |
ManualApprovals.Step.Builder |
addApprovers(AccessControlEntry.Builder builderForValue)
public ManualApprovals.Step.Builder addApprovers(AccessControlEntry.Builder builderForValue)
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 |
builderForValue |
AccessControlEntry.Builder |
Returns | |
---|---|
Type | Description |
ManualApprovals.Step.Builder |
addApprovers(int index, AccessControlEntry value)
public ManualApprovals.Step.Builder addApprovers(int index, AccessControlEntry value)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
AccessControlEntry |
Returns | |
---|---|
Type | Description |
ManualApprovals.Step.Builder |
addApprovers(int index, AccessControlEntry.Builder builderForValue)
public ManualApprovals.Step.Builder addApprovers(int index, AccessControlEntry.Builder builderForValue)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
AccessControlEntry.Builder |
Returns | |
---|---|
Type | Description |
ManualApprovals.Step.Builder |
addApproversBuilder()
public AccessControlEntry.Builder addApproversBuilder()
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 |
AccessControlEntry.Builder |
addApproversBuilder(int index)
public AccessControlEntry.Builder addApproversBuilder(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 |
Returns | |
---|---|
Type | Description |
AccessControlEntry.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ManualApprovals.Step.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ManualApprovals.Step.Builder |
build()
public ManualApprovals.Step build()
Returns | |
---|---|
Type | Description |
ManualApprovals.Step |
buildPartial()
public ManualApprovals.Step buildPartial()
Returns | |
---|---|
Type | Description |
ManualApprovals.Step |
clear()
public ManualApprovals.Step.Builder clear()
Returns | |
---|---|
Type | Description |
ManualApprovals.Step.Builder |
clearApprovalsNeeded()
public ManualApprovals.Step.Builder clearApprovalsNeeded()
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 |
ManualApprovals.Step.Builder |
This builder for chaining. |
clearApproverEmailRecipients()
public ManualApprovals.Step.Builder clearApproverEmailRecipients()
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 |
ManualApprovals.Step.Builder |
This builder for chaining. |
clearApprovers()
public ManualApprovals.Step.Builder clearApprovers()
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 |
ManualApprovals.Step.Builder |
clearField(Descriptors.FieldDescriptor field)
public ManualApprovals.Step.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ManualApprovals.Step.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ManualApprovals.Step.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ManualApprovals.Step.Builder |
clone()
public ManualApprovals.Step.Builder clone()
Returns | |
---|---|
Type | Description |
ManualApprovals.Step.Builder |
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 |
Returns | |
---|---|
Type | Description |
AccessControlEntry |
getApproversBuilder(int index)
public AccessControlEntry.Builder getApproversBuilder(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 |
Returns | |
---|---|
Type | Description |
AccessControlEntry.Builder |
getApproversBuilderList()
public List<AccessControlEntry.Builder> getApproversBuilderList()
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<Builder> |
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];
Returns | |
---|---|
Type | Description |
List<AccessControlEntry> |
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 |
Returns | |
---|---|
Type | Description |
AccessControlEntryOrBuilder |
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()
Returns | |
---|---|
Type | Description |
ManualApprovals.Step |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ManualApprovals.Step other)
public ManualApprovals.Step.Builder mergeFrom(ManualApprovals.Step other)
Parameter | |
---|---|
Name | Description |
other |
ManualApprovals.Step |
Returns | |
---|---|
Type | Description |
ManualApprovals.Step.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ManualApprovals.Step.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ManualApprovals.Step.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ManualApprovals.Step.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ManualApprovals.Step.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ManualApprovals.Step.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ManualApprovals.Step.Builder |
removeApprovers(int index)
public ManualApprovals.Step.Builder removeApprovers(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 |
Returns | |
---|---|
Type | Description |
ManualApprovals.Step.Builder |
setApprovalsNeeded(int value)
public ManualApprovals.Step.Builder setApprovalsNeeded(int value)
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];
Parameter | |
---|---|
Name | Description |
value |
int The approvalsNeeded to set. |
Returns | |
---|---|
Type | Description |
ManualApprovals.Step.Builder |
This builder for chaining. |
setApproverEmailRecipients(int index, String value)
public ManualApprovals.Step.Builder setApproverEmailRecipients(int index, String value)
Optional. Additional email addresses to be notified when a grant is pending approval.
repeated string approver_email_recipients = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The approverEmailRecipients to set. |
Returns | |
---|---|
Type | Description |
ManualApprovals.Step.Builder |
This builder for chaining. |
setApprovers(int index, AccessControlEntry value)
public ManualApprovals.Step.Builder setApprovers(int index, AccessControlEntry value)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
AccessControlEntry |
Returns | |
---|---|
Type | Description |
ManualApprovals.Step.Builder |
setApprovers(int index, AccessControlEntry.Builder builderForValue)
public ManualApprovals.Step.Builder setApprovers(int index, AccessControlEntry.Builder builderForValue)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
AccessControlEntry.Builder |
Returns | |
---|---|
Type | Description |
ManualApprovals.Step.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ManualApprovals.Step.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ManualApprovals.Step.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ManualApprovals.Step.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ManualApprovals.Step.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ManualApprovals.Step.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ManualApprovals.Step.Builder |