Class ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply.Builder (2.86.0)

public static final class ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply.Builder extends GeneratedMessage.Builder<ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply.Builder> implements ApproveSingleTenantHsmInstanceProposalRequest.QuorumReplyOrBuilder

The reply to QuorumParameters for approving the proposal.

Protobuf type google.cloud.kms.v1.ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply.Builder

Static Methods

getDescriptor()

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

Methods

addAllChallengeReplies(Iterable<? extends ChallengeReply> values)

public ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply.Builder addAllChallengeReplies(Iterable<? extends ChallengeReply> values)

Required. The challenge replies to approve the proposal. Challenge replies can be sent across multiple requests. The proposal will be approved when required_approver_count challenge replies are provided.

repeated .google.cloud.kms.v1.ChallengeReply challenge_replies = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.kms.v1.ChallengeReply>
Returns
Type Description
ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply.Builder

addChallengeReplies(ChallengeReply value)

public ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply.Builder addChallengeReplies(ChallengeReply value)

Required. The challenge replies to approve the proposal. Challenge replies can be sent across multiple requests. The proposal will be approved when required_approver_count challenge replies are provided.

repeated .google.cloud.kms.v1.ChallengeReply challenge_replies = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ChallengeReply
Returns
Type Description
ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply.Builder

addChallengeReplies(ChallengeReply.Builder builderForValue)

public ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply.Builder addChallengeReplies(ChallengeReply.Builder builderForValue)

Required. The challenge replies to approve the proposal. Challenge replies can be sent across multiple requests. The proposal will be approved when required_approver_count challenge replies are provided.

repeated .google.cloud.kms.v1.ChallengeReply challenge_replies = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ChallengeReply.Builder
Returns
Type Description
ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply.Builder

addChallengeReplies(int index, ChallengeReply value)

public ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply.Builder addChallengeReplies(int index, ChallengeReply value)

Required. The challenge replies to approve the proposal. Challenge replies can be sent across multiple requests. The proposal will be approved when required_approver_count challenge replies are provided.

repeated .google.cloud.kms.v1.ChallengeReply challenge_replies = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value ChallengeReply
Returns
Type Description
ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply.Builder

addChallengeReplies(int index, ChallengeReply.Builder builderForValue)

public ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply.Builder addChallengeReplies(int index, ChallengeReply.Builder builderForValue)

Required. The challenge replies to approve the proposal. Challenge replies can be sent across multiple requests. The proposal will be approved when required_approver_count challenge replies are provided.

repeated .google.cloud.kms.v1.ChallengeReply challenge_replies = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue ChallengeReply.Builder
Returns
Type Description
ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply.Builder

addChallengeRepliesBuilder()

public ChallengeReply.Builder addChallengeRepliesBuilder()

Required. The challenge replies to approve the proposal. Challenge replies can be sent across multiple requests. The proposal will be approved when required_approver_count challenge replies are provided.

repeated .google.cloud.kms.v1.ChallengeReply challenge_replies = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ChallengeReply.Builder

addChallengeRepliesBuilder(int index)

public ChallengeReply.Builder addChallengeRepliesBuilder(int index)

Required. The challenge replies to approve the proposal. Challenge replies can be sent across multiple requests. The proposal will be approved when required_approver_count challenge replies are provided.

repeated .google.cloud.kms.v1.ChallengeReply challenge_replies = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ChallengeReply.Builder

build()

public ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply build()
Returns
Type Description
ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply

buildPartial()

public ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply buildPartial()
Returns
Type Description
ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply

clear()

public ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply.Builder clear()
Returns
Type Description
ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply.Builder
Overrides

clearChallengeReplies()

public ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply.Builder clearChallengeReplies()

Required. The challenge replies to approve the proposal. Challenge replies can be sent across multiple requests. The proposal will be approved when required_approver_count challenge replies are provided.

repeated .google.cloud.kms.v1.ChallengeReply challenge_replies = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply.Builder

getChallengeReplies(int index)

public ChallengeReply getChallengeReplies(int index)

Required. The challenge replies to approve the proposal. Challenge replies can be sent across multiple requests. The proposal will be approved when required_approver_count challenge replies are provided.

repeated .google.cloud.kms.v1.ChallengeReply challenge_replies = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ChallengeReply

getChallengeRepliesBuilder(int index)

public ChallengeReply.Builder getChallengeRepliesBuilder(int index)

Required. The challenge replies to approve the proposal. Challenge replies can be sent across multiple requests. The proposal will be approved when required_approver_count challenge replies are provided.

repeated .google.cloud.kms.v1.ChallengeReply challenge_replies = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ChallengeReply.Builder

getChallengeRepliesBuilderList()

public List<ChallengeReply.Builder> getChallengeRepliesBuilderList()

Required. The challenge replies to approve the proposal. Challenge replies can be sent across multiple requests. The proposal will be approved when required_approver_count challenge replies are provided.

repeated .google.cloud.kms.v1.ChallengeReply challenge_replies = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getChallengeRepliesCount()

public int getChallengeRepliesCount()

Required. The challenge replies to approve the proposal. Challenge replies can be sent across multiple requests. The proposal will be approved when required_approver_count challenge replies are provided.

repeated .google.cloud.kms.v1.ChallengeReply challenge_replies = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getChallengeRepliesList()

public List<ChallengeReply> getChallengeRepliesList()

Required. The challenge replies to approve the proposal. Challenge replies can be sent across multiple requests. The proposal will be approved when required_approver_count challenge replies are provided.

repeated .google.cloud.kms.v1.ChallengeReply challenge_replies = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<ChallengeReply>

getChallengeRepliesOrBuilder(int index)

public ChallengeReplyOrBuilder getChallengeRepliesOrBuilder(int index)

Required. The challenge replies to approve the proposal. Challenge replies can be sent across multiple requests. The proposal will be approved when required_approver_count challenge replies are provided.

repeated .google.cloud.kms.v1.ChallengeReply challenge_replies = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ChallengeReplyOrBuilder

getChallengeRepliesOrBuilderList()

public List<? extends ChallengeReplyOrBuilder> getChallengeRepliesOrBuilderList()

Required. The challenge replies to approve the proposal. Challenge replies can be sent across multiple requests. The proposal will be approved when required_approver_count challenge replies are provided.

repeated .google.cloud.kms.v1.ChallengeReply challenge_replies = 1 [(.google.api.field_behavior) = REQUIRED];

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

getDefaultInstanceForType()

public ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply getDefaultInstanceForType()
Returns
Type Description
ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply other)

public ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply.Builder mergeFrom(ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply other)
Parameter
Name Description
other ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply
Returns
Type Description
ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply.Builder
Overrides

removeChallengeReplies(int index)

public ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply.Builder removeChallengeReplies(int index)

Required. The challenge replies to approve the proposal. Challenge replies can be sent across multiple requests. The proposal will be approved when required_approver_count challenge replies are provided.

repeated .google.cloud.kms.v1.ChallengeReply challenge_replies = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply.Builder

setChallengeReplies(int index, ChallengeReply value)

public ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply.Builder setChallengeReplies(int index, ChallengeReply value)

Required. The challenge replies to approve the proposal. Challenge replies can be sent across multiple requests. The proposal will be approved when required_approver_count challenge replies are provided.

repeated .google.cloud.kms.v1.ChallengeReply challenge_replies = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value ChallengeReply
Returns
Type Description
ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply.Builder

setChallengeReplies(int index, ChallengeReply.Builder builderForValue)

public ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply.Builder setChallengeReplies(int index, ChallengeReply.Builder builderForValue)

Required. The challenge replies to approve the proposal. Challenge replies can be sent across multiple requests. The proposal will be approved when required_approver_count challenge replies are provided.

repeated .google.cloud.kms.v1.ChallengeReply challenge_replies = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue ChallengeReply.Builder
Returns
Type Description
ApproveSingleTenantHsmInstanceProposalRequest.QuorumReply.Builder