Class SingleTenantHsmInstanceProposal.AddQuorumMember.Builder (2.86.0)
Version latestkeyboard_arrow_down
public static final class SingleTenantHsmInstanceProposal . AddQuorumMember . Builder extends GeneratedMessage . Builder<SingleTenantHsmInstanceProposal . AddQuorumMember . Builder > implements SingleTenantHsmInstanceProposal . AddQuorumMemberOrBuilder
Add a quorum member to the
SingleTenantHsmInstance .
This will increase the
total_approver_count
by 1. The
SingleTenantHsmInstance must
be in the
ACTIVE state to
perform this operation.
Protobuf type google.cloud.kms.v1.SingleTenantHsmInstanceProposal.AddQuorumMember
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
build()
public SingleTenantHsmInstanceProposal . AddQuorumMember build ()
buildPartial()
public SingleTenantHsmInstanceProposal . AddQuorumMember buildPartial ()
clear()
public SingleTenantHsmInstanceProposal . AddQuorumMember . Builder clear ()
Overrides
clearTwoFactorPublicKeyPem()
public SingleTenantHsmInstanceProposal . AddQuorumMember . Builder clearTwoFactorPublicKeyPem ()
Required. The public key associated with the 2FA key for the new quorum
member to add. Public keys must be associated with RSA 2048 keys.
string two_factor_public_key_pem = 1 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public SingleTenantHsmInstanceProposal . AddQuorumMember getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getTwoFactorPublicKeyPem()
public String getTwoFactorPublicKeyPem ()
Required. The public key associated with the 2FA key for the new quorum
member to add. Public keys must be associated with RSA 2048 keys.
string two_factor_public_key_pem = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
String
The twoFactorPublicKeyPem.
getTwoFactorPublicKeyPemBytes()
public ByteString getTwoFactorPublicKeyPemBytes ()
Required. The public key associated with the 2FA key for the new quorum
member to add. Public keys must be associated with RSA 2048 keys.
string two_factor_public_key_pem = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
ByteString
The bytes for twoFactorPublicKeyPem.
internalGetFieldAccessorTable()
protected GeneratedMessage . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(SingleTenantHsmInstanceProposal.AddQuorumMember other)
public SingleTenantHsmInstanceProposal . AddQuorumMember . Builder mergeFrom ( SingleTenantHsmInstanceProposal . AddQuorumMember other )
public SingleTenantHsmInstanceProposal . AddQuorumMember . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public SingleTenantHsmInstanceProposal . AddQuorumMember . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
setTwoFactorPublicKeyPem(String value)
public SingleTenantHsmInstanceProposal . AddQuorumMember . Builder setTwoFactorPublicKeyPem ( String value )
Required. The public key associated with the 2FA key for the new quorum
member to add. Public keys must be associated with RSA 2048 keys.
string two_factor_public_key_pem = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
String The twoFactorPublicKeyPem to set.
setTwoFactorPublicKeyPemBytes(ByteString value)
public SingleTenantHsmInstanceProposal . AddQuorumMember . Builder setTwoFactorPublicKeyPemBytes ( ByteString value )
Required. The public key associated with the 2FA key for the new quorum
member to add. Public keys must be associated with RSA 2048 keys.
string two_factor_public_key_pem = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
ByteString The bytes for twoFactorPublicKeyPem to set.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-01-31 UTC."],[],[]]