Class SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder (2.86.0)

public static final class SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder extends GeneratedMessage.Builder<SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder> implements SingleTenantHsmInstanceProposal.RequiredActionQuorumParametersOrBuilder

Parameters for an approval that has both required challenges and a quorum.

Protobuf type google.cloud.kms.v1.SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder

Static Methods

getDescriptor()

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

Methods

addAllApprovedTwoFactorPublicKeyPems(Iterable<String> values)

public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder addAllApprovedTwoFactorPublicKeyPems(Iterable<String> values)

Output only. The public keys associated with the 2FA keys that have already approved the SingleTenantHsmInstanceProposal by signing the challenge.

repeated string approved_two_factor_public_key_pems = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<String>

The approvedTwoFactorPublicKeyPems to add.

Returns
Type Description
SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder

This builder for chaining.

addAllQuorumChallenges(Iterable<? extends Challenge> values)

public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder addAllQuorumChallenges(Iterable<? extends Challenge> values)

Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation.

repeated .google.cloud.kms.v1.Challenge quorum_challenges = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.kms.v1.Challenge>
Returns
Type Description
SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder

addAllRequiredChallenges(Iterable<? extends Challenge> values)

public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder addAllRequiredChallenges(Iterable<? extends Challenge> values)

Output only. A list of specific challenges that must be signed. For some operations, this will contain a single challenge.

repeated .google.cloud.kms.v1.Challenge required_challenges = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.kms.v1.Challenge>
Returns
Type Description
SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder

addApprovedTwoFactorPublicKeyPems(String value)

public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder addApprovedTwoFactorPublicKeyPems(String value)

Output only. The public keys associated with the 2FA keys that have already approved the SingleTenantHsmInstanceProposal by signing the challenge.

repeated string approved_two_factor_public_key_pems = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The approvedTwoFactorPublicKeyPems to add.

Returns
Type Description
SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder

This builder for chaining.

addApprovedTwoFactorPublicKeyPemsBytes(ByteString value)

public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder addApprovedTwoFactorPublicKeyPemsBytes(ByteString value)

Output only. The public keys associated with the 2FA keys that have already approved the SingleTenantHsmInstanceProposal by signing the challenge.

repeated string approved_two_factor_public_key_pems = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes of the approvedTwoFactorPublicKeyPems to add.

Returns
Type Description
SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder

This builder for chaining.

addQuorumChallenges(Challenge value)

public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder addQuorumChallenges(Challenge value)

Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation.

repeated .google.cloud.kms.v1.Challenge quorum_challenges = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Challenge
Returns
Type Description
SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder

addQuorumChallenges(Challenge.Builder builderForValue)

public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder addQuorumChallenges(Challenge.Builder builderForValue)

Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation.

repeated .google.cloud.kms.v1.Challenge quorum_challenges = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Challenge.Builder
Returns
Type Description
SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder

addQuorumChallenges(int index, Challenge value)

public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder addQuorumChallenges(int index, Challenge value)

Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation.

repeated .google.cloud.kms.v1.Challenge quorum_challenges = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value Challenge
Returns
Type Description
SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder

addQuorumChallenges(int index, Challenge.Builder builderForValue)

public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder addQuorumChallenges(int index, Challenge.Builder builderForValue)

Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation.

repeated .google.cloud.kms.v1.Challenge quorum_challenges = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue Challenge.Builder
Returns
Type Description
SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder

addQuorumChallengesBuilder()

public Challenge.Builder addQuorumChallengesBuilder()

Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation.

repeated .google.cloud.kms.v1.Challenge quorum_challenges = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Challenge.Builder

addQuorumChallengesBuilder(int index)

public Challenge.Builder addQuorumChallengesBuilder(int index)

Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation.

repeated .google.cloud.kms.v1.Challenge quorum_challenges = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Challenge.Builder

addRequiredChallenges(Challenge value)

public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder addRequiredChallenges(Challenge value)

Output only. A list of specific challenges that must be signed. For some operations, this will contain a single challenge.

repeated .google.cloud.kms.v1.Challenge required_challenges = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Challenge
Returns
Type Description
SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder

addRequiredChallenges(Challenge.Builder builderForValue)

public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder addRequiredChallenges(Challenge.Builder builderForValue)

Output only. A list of specific challenges that must be signed. For some operations, this will contain a single challenge.

repeated .google.cloud.kms.v1.Challenge required_challenges = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Challenge.Builder
Returns
Type Description
SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder

addRequiredChallenges(int index, Challenge value)

public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder addRequiredChallenges(int index, Challenge value)

Output only. A list of specific challenges that must be signed. For some operations, this will contain a single challenge.

repeated .google.cloud.kms.v1.Challenge required_challenges = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value Challenge
Returns
Type Description
SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder

addRequiredChallenges(int index, Challenge.Builder builderForValue)

public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder addRequiredChallenges(int index, Challenge.Builder builderForValue)

Output only. A list of specific challenges that must be signed. For some operations, this will contain a single challenge.

repeated .google.cloud.kms.v1.Challenge required_challenges = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue Challenge.Builder
Returns
Type Description
SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder

addRequiredChallengesBuilder()

public Challenge.Builder addRequiredChallengesBuilder()

Output only. A list of specific challenges that must be signed. For some operations, this will contain a single challenge.

repeated .google.cloud.kms.v1.Challenge required_challenges = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Challenge.Builder

addRequiredChallengesBuilder(int index)

public Challenge.Builder addRequiredChallengesBuilder(int index)

Output only. A list of specific challenges that must be signed. For some operations, this will contain a single challenge.

repeated .google.cloud.kms.v1.Challenge required_challenges = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Challenge.Builder

build()

public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters build()
Returns
Type Description
SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters

buildPartial()

public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters buildPartial()
Returns
Type Description
SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters

clear()

public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder clear()
Returns
Type Description
SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder
Overrides

clearApprovedTwoFactorPublicKeyPems()

public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder clearApprovedTwoFactorPublicKeyPems()

Output only. The public keys associated with the 2FA keys that have already approved the SingleTenantHsmInstanceProposal by signing the challenge.

repeated string approved_two_factor_public_key_pems = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder

This builder for chaining.

clearQuorumChallenges()

public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder clearQuorumChallenges()

Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation.

repeated .google.cloud.kms.v1.Challenge quorum_challenges = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder

clearRequiredApproverCount()

public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder clearRequiredApproverCount()

Output only. The required number of quorum approvers. This is the M value used for M of N quorum auth. It is less than the number of public keys.

int32 required_approver_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder

This builder for chaining.

clearRequiredChallenges()

public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder clearRequiredChallenges()

Output only. A list of specific challenges that must be signed. For some operations, this will contain a single challenge.

repeated .google.cloud.kms.v1.Challenge required_challenges = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder

getApprovedTwoFactorPublicKeyPems(int index)

public String getApprovedTwoFactorPublicKeyPems(int index)

Output only. The public keys associated with the 2FA keys that have already approved the SingleTenantHsmInstanceProposal by signing the challenge.

repeated string approved_two_factor_public_key_pems = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The approvedTwoFactorPublicKeyPems at the given index.

getApprovedTwoFactorPublicKeyPemsBytes(int index)

public ByteString getApprovedTwoFactorPublicKeyPemsBytes(int index)

Output only. The public keys associated with the 2FA keys that have already approved the SingleTenantHsmInstanceProposal by signing the challenge.

repeated string approved_two_factor_public_key_pems = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the approvedTwoFactorPublicKeyPems at the given index.

getApprovedTwoFactorPublicKeyPemsCount()

public int getApprovedTwoFactorPublicKeyPemsCount()

Output only. The public keys associated with the 2FA keys that have already approved the SingleTenantHsmInstanceProposal by signing the challenge.

repeated string approved_two_factor_public_key_pems = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of approvedTwoFactorPublicKeyPems.

getApprovedTwoFactorPublicKeyPemsList()

public ProtocolStringList getApprovedTwoFactorPublicKeyPemsList()

Output only. The public keys associated with the 2FA keys that have already approved the SingleTenantHsmInstanceProposal by signing the challenge.

repeated string approved_two_factor_public_key_pems = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the approvedTwoFactorPublicKeyPems.

getDefaultInstanceForType()

public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters getDefaultInstanceForType()
Returns
Type Description
SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters

getDescriptorForType()

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

getQuorumChallenges(int index)

public Challenge getQuorumChallenges(int index)

Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation.

repeated .google.cloud.kms.v1.Challenge quorum_challenges = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Challenge

getQuorumChallengesBuilder(int index)

public Challenge.Builder getQuorumChallengesBuilder(int index)

Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation.

repeated .google.cloud.kms.v1.Challenge quorum_challenges = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Challenge.Builder

getQuorumChallengesBuilderList()

public List<Challenge.Builder> getQuorumChallengesBuilderList()

Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation.

repeated .google.cloud.kms.v1.Challenge quorum_challenges = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getQuorumChallengesCount()

public int getQuorumChallengesCount()

Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation.

repeated .google.cloud.kms.v1.Challenge quorum_challenges = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getQuorumChallengesList()

public List<Challenge> getQuorumChallengesList()

Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation.

repeated .google.cloud.kms.v1.Challenge quorum_challenges = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Challenge>

getQuorumChallengesOrBuilder(int index)

public ChallengeOrBuilder getQuorumChallengesOrBuilder(int index)

Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation.

repeated .google.cloud.kms.v1.Challenge quorum_challenges = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ChallengeOrBuilder

getQuorumChallengesOrBuilderList()

public List<? extends ChallengeOrBuilder> getQuorumChallengesOrBuilderList()

Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation.

repeated .google.cloud.kms.v1.Challenge quorum_challenges = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.kms.v1.ChallengeOrBuilder>

getRequiredApproverCount()

public int getRequiredApproverCount()

Output only. The required number of quorum approvers. This is the M value used for M of N quorum auth. It is less than the number of public keys.

int32 required_approver_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The requiredApproverCount.

getRequiredChallenges(int index)

public Challenge getRequiredChallenges(int index)

Output only. A list of specific challenges that must be signed. For some operations, this will contain a single challenge.

repeated .google.cloud.kms.v1.Challenge required_challenges = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Challenge

getRequiredChallengesBuilder(int index)

public Challenge.Builder getRequiredChallengesBuilder(int index)

Output only. A list of specific challenges that must be signed. For some operations, this will contain a single challenge.

repeated .google.cloud.kms.v1.Challenge required_challenges = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Challenge.Builder

getRequiredChallengesBuilderList()

public List<Challenge.Builder> getRequiredChallengesBuilderList()

Output only. A list of specific challenges that must be signed. For some operations, this will contain a single challenge.

repeated .google.cloud.kms.v1.Challenge required_challenges = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getRequiredChallengesCount()

public int getRequiredChallengesCount()

Output only. A list of specific challenges that must be signed. For some operations, this will contain a single challenge.

repeated .google.cloud.kms.v1.Challenge required_challenges = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getRequiredChallengesList()

public List<Challenge> getRequiredChallengesList()

Output only. A list of specific challenges that must be signed. For some operations, this will contain a single challenge.

repeated .google.cloud.kms.v1.Challenge required_challenges = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Challenge>

getRequiredChallengesOrBuilder(int index)

public ChallengeOrBuilder getRequiredChallengesOrBuilder(int index)

Output only. A list of specific challenges that must be signed. For some operations, this will contain a single challenge.

repeated .google.cloud.kms.v1.Challenge required_challenges = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ChallengeOrBuilder

getRequiredChallengesOrBuilderList()

public List<? extends ChallengeOrBuilder> getRequiredChallengesOrBuilderList()

Output only. A list of specific challenges that must be signed. For some operations, this will contain a single challenge.

repeated .google.cloud.kms.v1.Challenge required_challenges = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.kms.v1.ChallengeOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeQuorumChallenges(int index)

public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder removeQuorumChallenges(int index)

Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation.

repeated .google.cloud.kms.v1.Challenge quorum_challenges = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder

removeRequiredChallenges(int index)

public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder removeRequiredChallenges(int index)

Output only. A list of specific challenges that must be signed. For some operations, this will contain a single challenge.

repeated .google.cloud.kms.v1.Challenge required_challenges = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder

setApprovedTwoFactorPublicKeyPems(int index, String value)

public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder setApprovedTwoFactorPublicKeyPems(int index, String value)

Output only. The public keys associated with the 2FA keys that have already approved the SingleTenantHsmInstanceProposal by signing the challenge.

repeated string approved_two_factor_public_key_pems = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value String

The approvedTwoFactorPublicKeyPems to set.

Returns
Type Description
SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder

This builder for chaining.

setQuorumChallenges(int index, Challenge value)

public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder setQuorumChallenges(int index, Challenge value)

Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation.

repeated .google.cloud.kms.v1.Challenge quorum_challenges = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value Challenge
Returns
Type Description
SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder

setQuorumChallenges(int index, Challenge.Builder builderForValue)

public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder setQuorumChallenges(int index, Challenge.Builder builderForValue)

Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation.

repeated .google.cloud.kms.v1.Challenge quorum_challenges = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue Challenge.Builder
Returns
Type Description
SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder

setRequiredApproverCount(int value)

public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder setRequiredApproverCount(int value)

Output only. The required number of quorum approvers. This is the M value used for M of N quorum auth. It is less than the number of public keys.

int32 required_approver_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The requiredApproverCount to set.

Returns
Type Description
SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder

This builder for chaining.

setRequiredChallenges(int index, Challenge value)

public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder setRequiredChallenges(int index, Challenge value)

Output only. A list of specific challenges that must be signed. For some operations, this will contain a single challenge.

repeated .google.cloud.kms.v1.Challenge required_challenges = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value Challenge
Returns
Type Description
SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder

setRequiredChallenges(int index, Challenge.Builder builderForValue)

public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder setRequiredChallenges(int index, Challenge.Builder builderForValue)

Output only. A list of specific challenges that must be signed. For some operations, this will contain a single challenge.

repeated .google.cloud.kms.v1.Challenge required_challenges = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue Challenge.Builder
Returns
Type Description
SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder