Package com.google.cloud.kms.v1
Class SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder>
com.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder
- All Implemented Interfaces:
SingleTenantHsmInstanceProposal.RequiredActionQuorumParametersOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters
public static final class SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder
extends com.google.protobuf.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-
Method Summary
Modifier and TypeMethodDescriptionOutput only.addAllQuorumChallenges(Iterable<? extends Challenge> values) Output only.addAllRequiredChallenges(Iterable<? extends Challenge> values) Output only.Output only.addApprovedTwoFactorPublicKeyPemsBytes(com.google.protobuf.ByteString value) Output only.addQuorumChallenges(int index, Challenge value) Output only.addQuorumChallenges(int index, Challenge.Builder builderForValue) Output only.addQuorumChallenges(Challenge value) Output only.addQuorumChallenges(Challenge.Builder builderForValue) Output only.Output only.addQuorumChallengesBuilder(int index) Output only.addRequiredChallenges(int index, Challenge value) Output only.addRequiredChallenges(int index, Challenge.Builder builderForValue) Output only.addRequiredChallenges(Challenge value) Output only.addRequiredChallenges(Challenge.Builder builderForValue) Output only.Output only.addRequiredChallengesBuilder(int index) Output only.build()clear()Output only.Output only.Output only.Output only.getApprovedTwoFactorPublicKeyPems(int index) Output only.com.google.protobuf.ByteStringgetApprovedTwoFactorPublicKeyPemsBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetQuorumChallenges(int index) Output only.getQuorumChallengesBuilder(int index) Output only.Output only.intOutput only.Output only.getQuorumChallengesOrBuilder(int index) Output only.List<? extends ChallengeOrBuilder>Output only.intOutput only.getRequiredChallenges(int index) Output only.getRequiredChallengesBuilder(int index) Output only.Output only.intOutput only.Output only.getRequiredChallengesOrBuilder(int index) Output only.List<? extends ChallengeOrBuilder>Output only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeQuorumChallenges(int index) Output only.removeRequiredChallenges(int index) Output only.setApprovedTwoFactorPublicKeyPems(int index, String value) Output only.setQuorumChallenges(int index, Challenge value) Output only.setQuorumChallenges(int index, Challenge.Builder builderForValue) Output only.setRequiredApproverCount(int value) Output only.setRequiredChallenges(int index, Challenge value) Output only.setRequiredChallenges(int index, Challenge.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder>
-
mergeFrom
public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder>- Throws:
IOException
-
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];- Specified by:
getRequiredChallengesListin interfaceSingleTenantHsmInstanceProposal.RequiredActionQuorumParametersOrBuilder
-
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];- Specified by:
getRequiredChallengesCountin interfaceSingleTenantHsmInstanceProposal.RequiredActionQuorumParametersOrBuilder
-
getRequiredChallenges
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];- Specified by:
getRequiredChallengesin interfaceSingleTenantHsmInstanceProposal.RequiredActionQuorumParametersOrBuilder
-
setRequiredChallenges
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]; -
setRequiredChallenges
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]; -
addRequiredChallenges
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]; -
addRequiredChallenges
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]; -
addRequiredChallenges
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]; -
addRequiredChallenges
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]; -
addAllRequiredChallenges
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]; -
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]; -
removeRequiredChallenges
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]; -
getRequiredChallengesBuilder
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]; -
getRequiredChallengesOrBuilder
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];- Specified by:
getRequiredChallengesOrBuilderin interfaceSingleTenantHsmInstanceProposal.RequiredActionQuorumParametersOrBuilder
-
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];- Specified by:
getRequiredChallengesOrBuilderListin interfaceSingleTenantHsmInstanceProposal.RequiredActionQuorumParametersOrBuilder
-
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]; -
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]; -
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]; -
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];- Specified by:
getRequiredApproverCountin interfaceSingleTenantHsmInstanceProposal.RequiredActionQuorumParametersOrBuilder- Returns:
- The requiredApproverCount.
-
setRequiredApproverCount
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];- Parameters:
value- The requiredApproverCount to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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];- Specified by:
getQuorumChallengesListin interfaceSingleTenantHsmInstanceProposal.RequiredActionQuorumParametersOrBuilder
-
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];- Specified by:
getQuorumChallengesCountin interfaceSingleTenantHsmInstanceProposal.RequiredActionQuorumParametersOrBuilder
-
getQuorumChallenges
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];- Specified by:
getQuorumChallengesin interfaceSingleTenantHsmInstanceProposal.RequiredActionQuorumParametersOrBuilder
-
setQuorumChallenges
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]; -
setQuorumChallenges
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]; -
addQuorumChallenges
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]; -
addQuorumChallenges
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]; -
addQuorumChallenges
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]; -
addQuorumChallenges
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]; -
addAllQuorumChallenges
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]; -
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]; -
removeQuorumChallenges
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]; -
getQuorumChallengesBuilder
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]; -
getQuorumChallengesOrBuilder
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];- Specified by:
getQuorumChallengesOrBuilderin interfaceSingleTenantHsmInstanceProposal.RequiredActionQuorumParametersOrBuilder
-
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];- Specified by:
getQuorumChallengesOrBuilderListin interfaceSingleTenantHsmInstanceProposal.RequiredActionQuorumParametersOrBuilder
-
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]; -
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]; -
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]; -
getApprovedTwoFactorPublicKeyPemsList
public com.google.protobuf.ProtocolStringList getApprovedTwoFactorPublicKeyPemsList()Output only. The public keys associated with the 2FA keys that have already approved the [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal] by signing the challenge.
repeated string approved_two_factor_public_key_pems = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApprovedTwoFactorPublicKeyPemsListin interfaceSingleTenantHsmInstanceProposal.RequiredActionQuorumParametersOrBuilder- Returns:
- A list containing the approvedTwoFactorPublicKeyPems.
-
getApprovedTwoFactorPublicKeyPemsCount
public int getApprovedTwoFactorPublicKeyPemsCount()Output only. The public keys associated with the 2FA keys that have already approved the [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal] by signing the challenge.
repeated string approved_two_factor_public_key_pems = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApprovedTwoFactorPublicKeyPemsCountin interfaceSingleTenantHsmInstanceProposal.RequiredActionQuorumParametersOrBuilder- Returns:
- The count of approvedTwoFactorPublicKeyPems.
-
getApprovedTwoFactorPublicKeyPems
Output only. The public keys associated with the 2FA keys that have already approved the [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal] by signing the challenge.
repeated string approved_two_factor_public_key_pems = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApprovedTwoFactorPublicKeyPemsin interfaceSingleTenantHsmInstanceProposal.RequiredActionQuorumParametersOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The approvedTwoFactorPublicKeyPems at the given index.
-
getApprovedTwoFactorPublicKeyPemsBytes
public com.google.protobuf.ByteString getApprovedTwoFactorPublicKeyPemsBytes(int index) Output only. The public keys associated with the 2FA keys that have already approved the [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal] by signing the challenge.
repeated string approved_two_factor_public_key_pems = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApprovedTwoFactorPublicKeyPemsBytesin interfaceSingleTenantHsmInstanceProposal.RequiredActionQuorumParametersOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the approvedTwoFactorPublicKeyPems at the given index.
-
setApprovedTwoFactorPublicKeyPems
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][google.cloud.kms.v1.SingleTenantHsmInstanceProposal] by signing the challenge.
repeated string approved_two_factor_public_key_pems = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index to set the value at.value- The approvedTwoFactorPublicKeyPems to set.- Returns:
- This builder for chaining.
-
addApprovedTwoFactorPublicKeyPems
public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder addApprovedTwoFactorPublicKeyPems(String value) Output only. The public keys associated with the 2FA keys that have already approved the [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal] by signing the challenge.
repeated string approved_two_factor_public_key_pems = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The approvedTwoFactorPublicKeyPems to add.- Returns:
- This builder for chaining.
-
addAllApprovedTwoFactorPublicKeyPems
public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder addAllApprovedTwoFactorPublicKeyPems(Iterable<String> values) Output only. The public keys associated with the 2FA keys that have already approved the [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal] by signing the challenge.
repeated string approved_two_factor_public_key_pems = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
values- The approvedTwoFactorPublicKeyPems to add.- Returns:
- This builder for chaining.
-
clearApprovedTwoFactorPublicKeyPems
public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder clearApprovedTwoFactorPublicKeyPems()Output only. The public keys associated with the 2FA keys that have already approved the [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal] by signing the challenge.
repeated string approved_two_factor_public_key_pems = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
addApprovedTwoFactorPublicKeyPemsBytes
public SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters.Builder addApprovedTwoFactorPublicKeyPemsBytes(com.google.protobuf.ByteString value) Output only. The public keys associated with the 2FA keys that have already approved the [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal] by signing the challenge.
repeated string approved_two_factor_public_key_pems = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes of the approvedTwoFactorPublicKeyPems to add.- Returns:
- This builder for chaining.
-