- 2.86.0 (latest)
- 2.85.0
- 2.84.0
- 2.83.0
- 2.81.0
- 2.79.0
- 2.78.0
- 2.77.0
- 2.76.0
- 2.75.0
- 2.73.0
- 2.71.0
- 2.70.0
- 2.67.0
- 2.66.0
- 2.65.0
- 2.63.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.8
- 2.5.3
- 2.4.4
- 2.3.1
public static final class SingleTenantHsmInstance.QuorumAuth.Builder extends GeneratedMessage.Builder<SingleTenantHsmInstance.QuorumAuth.Builder> implements SingleTenantHsmInstance.QuorumAuthOrBuilderConfiguration for M of N quorum auth.
Protobuf type google.cloud.kms.v1.SingleTenantHsmInstance.QuorumAuth
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SingleTenantHsmInstance.QuorumAuth.BuilderImplements
SingleTenantHsmInstance.QuorumAuthOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllTwoFactorPublicKeyPems(Iterable<String> values)
public SingleTenantHsmInstance.QuorumAuth.Builder addAllTwoFactorPublicKeyPems(Iterable<String> values)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];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The twoFactorPublicKeyPems to add. |
| Returns | |
|---|---|
| Type | Description |
SingleTenantHsmInstance.QuorumAuth.Builder |
This builder for chaining. |
addTwoFactorPublicKeyPems(String value)
public SingleTenantHsmInstance.QuorumAuth.Builder addTwoFactorPublicKeyPems(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe twoFactorPublicKeyPems to add. |
| Returns | |
|---|---|
| Type | Description |
SingleTenantHsmInstance.QuorumAuth.Builder |
This builder for chaining. |
addTwoFactorPublicKeyPemsBytes(ByteString value)
public SingleTenantHsmInstance.QuorumAuth.Builder addTwoFactorPublicKeyPemsBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the twoFactorPublicKeyPems to add. |
| Returns | |
|---|---|
| Type | Description |
SingleTenantHsmInstance.QuorumAuth.Builder |
This builder for chaining. |
build()
public SingleTenantHsmInstance.QuorumAuth build()| Returns | |
|---|---|
| Type | Description |
SingleTenantHsmInstance.QuorumAuth |
|
buildPartial()
public SingleTenantHsmInstance.QuorumAuth buildPartial()| Returns | |
|---|---|
| Type | Description |
SingleTenantHsmInstance.QuorumAuth |
|
clear()
public SingleTenantHsmInstance.QuorumAuth.Builder clear()| Returns | |
|---|---|
| Type | Description |
SingleTenantHsmInstance.QuorumAuth.Builder |
|
clearRequiredApproverCount()
public SingleTenantHsmInstance.QuorumAuth.Builder clearRequiredApproverCount()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
- 1.
int32 required_approver_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SingleTenantHsmInstance.QuorumAuth.Builder |
This builder for chaining. |
clearTotalApproverCount()
public SingleTenantHsmInstance.QuorumAuth.Builder clearTotalApproverCount()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 | |
|---|---|
| Type | Description |
SingleTenantHsmInstance.QuorumAuth.Builder |
This builder for chaining. |
clearTwoFactorPublicKeyPems()
public SingleTenantHsmInstance.QuorumAuth.Builder clearTwoFactorPublicKeyPems()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 | |
|---|---|
| Type | Description |
SingleTenantHsmInstance.QuorumAuth.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public SingleTenantHsmInstance.QuorumAuth getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SingleTenantHsmInstance.QuorumAuth |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getRequiredApproverCount()
public 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
- 1.
int32 required_approver_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The requiredApproverCount. |
getTotalApproverCount()
public 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 | |
|---|---|
| Type | Description |
int |
The totalApproverCount. |
getTwoFactorPublicKeyPems(int index)
public 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];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The twoFactorPublicKeyPems at the given index. |
getTwoFactorPublicKeyPemsBytes(int index)
public 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];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the twoFactorPublicKeyPems at the given index. |
getTwoFactorPublicKeyPemsCount()
public 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 | |
|---|---|
| Type | Description |
int |
The count of twoFactorPublicKeyPems. |
getTwoFactorPublicKeyPemsList()
public ProtocolStringList 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 | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the twoFactorPublicKeyPems. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SingleTenantHsmInstance.QuorumAuth other)
public SingleTenantHsmInstance.QuorumAuth.Builder mergeFrom(SingleTenantHsmInstance.QuorumAuth other)| Parameter | |
|---|---|
| Name | Description |
other |
SingleTenantHsmInstance.QuorumAuth |
| Returns | |
|---|---|
| Type | Description |
SingleTenantHsmInstance.QuorumAuth.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SingleTenantHsmInstance.QuorumAuth.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SingleTenantHsmInstance.QuorumAuth.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SingleTenantHsmInstance.QuorumAuth.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SingleTenantHsmInstance.QuorumAuth.Builder |
|
setRequiredApproverCount(int value)
public SingleTenantHsmInstance.QuorumAuth.Builder setRequiredApproverCount(int value)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
- 1.
int32 required_approver_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe requiredApproverCount to set. |
| Returns | |
|---|---|
| Type | Description |
SingleTenantHsmInstance.QuorumAuth.Builder |
This builder for chaining. |
setTotalApproverCount(int value)
public SingleTenantHsmInstance.QuorumAuth.Builder setTotalApproverCount(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe totalApproverCount to set. |
| Returns | |
|---|---|
| Type | Description |
SingleTenantHsmInstance.QuorumAuth.Builder |
This builder for chaining. |
setTwoFactorPublicKeyPems(int index, String value)
public SingleTenantHsmInstance.QuorumAuth.Builder setTwoFactorPublicKeyPems(int index, String value)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 | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe twoFactorPublicKeyPems to set. |
| Returns | |
|---|---|
| Type | Description |
SingleTenantHsmInstance.QuorumAuth.Builder |
This builder for chaining. |