Interface SingleTenantHsmInstance.QuorumAuthOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SingleTenantHsmInstance.QuorumAuth, SingleTenantHsmInstance.QuorumAuth.Builder
Enclosing class:
SingleTenantHsmInstance

public static interface SingleTenantHsmInstance.QuorumAuthOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getTotalApproverCount

      int getTotalApproverCount()
       Required. The total number of approvers. This is the N value used
       for M of N quorum auth. Must be greater than or equal to 3 and less than
       or equal to 16.
       
      int32 total_approver_count = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The totalApproverCount.
    • getRequiredApproverCount

      int getRequiredApproverCount()
       Output only. The required numbers of approvers. The M value used for M of
       N quorum auth. Must be greater than or equal to 2 and less than or equal
       to
       [total_approver_count][google.cloud.kms.v1.SingleTenantHsmInstance.QuorumAuth.total_approver_count]
       - 1.
       
      int32 required_approver_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The requiredApproverCount.
    • getTwoFactorPublicKeyPemsList

      List<String> getTwoFactorPublicKeyPemsList()
       Output only. The public keys associated with the 2FA keys for M of N
       quorum auth.
       
      repeated string two_factor_public_key_pems = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      A list containing the twoFactorPublicKeyPems.
    • getTwoFactorPublicKeyPemsCount

      int getTwoFactorPublicKeyPemsCount()
       Output only. The public keys associated with the 2FA keys for M of N
       quorum auth.
       
      repeated string two_factor_public_key_pems = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The count of twoFactorPublicKeyPems.
    • getTwoFactorPublicKeyPems

      String getTwoFactorPublicKeyPems(int index)
       Output only. The public keys associated with the 2FA keys for M of N
       quorum auth.
       
      repeated string two_factor_public_key_pems = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index of the element to return.
      Returns:
      The twoFactorPublicKeyPems at the given index.
    • getTwoFactorPublicKeyPemsBytes

      com.google.protobuf.ByteString getTwoFactorPublicKeyPemsBytes(int index)
       Output only. The public keys associated with the 2FA keys for M of N
       quorum auth.
       
      repeated string two_factor_public_key_pems = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the twoFactorPublicKeyPems at the given index.