# Interface SingleTenantHsmInstanceProposalOrBuilder (2.96.0)

2.96.0 (latest) 2.94.0 2.91.0 2.90.0 2.88.0 2.86.0 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 interface SingleTenantHsmInstanceProposalOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getAddQuorumMember()

    public abstract SingleTenantHsmInstanceProposal.AddQuorumMember getAddQuorumMember()

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.

`
.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.AddQuorumMember add_quorum_member = 12;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-kms/latest/com.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.AddQuorumMember` | The addQuorumMember. |

### getAddQuorumMemberOrBuilder()

    public abstract SingleTenantHsmInstanceProposal.AddQuorumMemberOrBuilder getAddQuorumMemberOrBuilder()

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.

`
.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.AddQuorumMember add_quorum_member = 12;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-kms/latest/com.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.AddQuorumMemberOrBuilder` |   |

### getApprovalParametersCase()

    public abstract SingleTenantHsmInstanceProposal.ApprovalParametersCase getApprovalParametersCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-kms/latest/com.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.ApprovalParametersCase` |   |

### getCreateTime()

    public abstract Timestamp getCreateTime()

Output only. The time at which the
SingleTenantHsmInstanceProposal
was created.

`.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The createTime. |

### getCreateTimeOrBuilder()

    public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time at which the
SingleTenantHsmInstanceProposal
was created.

`.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getDeleteSingleTenantHsmInstance()

    public abstract SingleTenantHsmInstanceProposal.DeleteSingleTenantHsmInstance getDeleteSingleTenantHsmInstance()

Delete the
SingleTenantHsmInstance.
Deleting a
SingleTenantHsmInstance
will make all CryptoKeys attached to the
SingleTenantHsmInstance
unusable. The
SingleTenantHsmInstance
must be in the
DISABLED or
PENDING_TWO_FACTOR_AUTH_REGISTRATION
state to perform this operation.

`
.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.DeleteSingleTenantHsmInstance delete_single_tenant_hsm_instance = 11;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-kms/latest/com.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.DeleteSingleTenantHsmInstance` | The deleteSingleTenantHsmInstance. |

### getDeleteSingleTenantHsmInstanceOrBuilder()

    public abstract SingleTenantHsmInstanceProposal.DeleteSingleTenantHsmInstanceOrBuilder getDeleteSingleTenantHsmInstanceOrBuilder()

Delete the
SingleTenantHsmInstance.
Deleting a
SingleTenantHsmInstance
will make all CryptoKeys attached to the
SingleTenantHsmInstance
unusable. The
SingleTenantHsmInstance
must be in the
DISABLED or
PENDING_TWO_FACTOR_AUTH_REGISTRATION
state to perform this operation.

`
.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.DeleteSingleTenantHsmInstance delete_single_tenant_hsm_instance = 11;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-kms/latest/com.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.DeleteSingleTenantHsmInstanceOrBuilder` |   |

### getDeleteTime()

    public abstract Timestamp getDeleteTime()

Output only. The time at which the
SingleTenantHsmInstanceProposal
was deleted.

`.google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The deleteTime. |

### getDeleteTimeOrBuilder()

    public abstract TimestampOrBuilder getDeleteTimeOrBuilder()

Output only. The time at which the
SingleTenantHsmInstanceProposal
was deleted.

`.google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getDisableSingleTenantHsmInstance()

    public abstract SingleTenantHsmInstanceProposal.DisableSingleTenantHsmInstance getDisableSingleTenantHsmInstance()

Disable the
SingleTenantHsmInstance.
The
SingleTenantHsmInstance
must be in the
ACTIVE state
to perform this operation.

`
.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.DisableSingleTenantHsmInstance disable_single_tenant_hsm_instance = 9;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-kms/latest/com.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.DisableSingleTenantHsmInstance` | The disableSingleTenantHsmInstance. |

### getDisableSingleTenantHsmInstanceOrBuilder()

    public abstract SingleTenantHsmInstanceProposal.DisableSingleTenantHsmInstanceOrBuilder getDisableSingleTenantHsmInstanceOrBuilder()

Disable the
SingleTenantHsmInstance.
The
SingleTenantHsmInstance
must be in the
ACTIVE state
to perform this operation.

`
.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.DisableSingleTenantHsmInstance disable_single_tenant_hsm_instance = 9;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-kms/latest/com.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.DisableSingleTenantHsmInstanceOrBuilder` |   |

### getEnableSingleTenantHsmInstance()

    public abstract SingleTenantHsmInstanceProposal.EnableSingleTenantHsmInstance getEnableSingleTenantHsmInstance()

Enable the
SingleTenantHsmInstance.
The
SingleTenantHsmInstance
must be in the
DISABLED
state to perform this operation.

`
.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.EnableSingleTenantHsmInstance enable_single_tenant_hsm_instance = 10;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-kms/latest/com.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.EnableSingleTenantHsmInstance` | The enableSingleTenantHsmInstance. |

### getEnableSingleTenantHsmInstanceOrBuilder()

    public abstract SingleTenantHsmInstanceProposal.EnableSingleTenantHsmInstanceOrBuilder getEnableSingleTenantHsmInstanceOrBuilder()

Enable the
SingleTenantHsmInstance.
The
SingleTenantHsmInstance
must be in the
DISABLED
state to perform this operation.

`
.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.EnableSingleTenantHsmInstance enable_single_tenant_hsm_instance = 10;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-kms/latest/com.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.EnableSingleTenantHsmInstanceOrBuilder` |   |

### getExpirationCase()

    public abstract SingleTenantHsmInstanceProposal.ExpirationCase getExpirationCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-kms/latest/com.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.ExpirationCase` |   |

### getExpireTime()

    public abstract Timestamp getExpireTime()

The time at which the
SingleTenantHsmInstanceProposal
will expire if not approved and executed.

`.google.protobuf.Timestamp expire_time = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The expireTime. |

### getExpireTimeOrBuilder()

    public abstract TimestampOrBuilder getExpireTimeOrBuilder()

The time at which the
SingleTenantHsmInstanceProposal
will expire if not approved and executed.

`.google.protobuf.Timestamp expire_time = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getFailureReason()

    public abstract String getFailureReason()

Output only. The root cause of the most recent failure. Only present if
state is
FAILED.

`string failure_reason = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The failureReason. |

### getFailureReasonBytes()

    public abstract ByteString getFailureReasonBytes()

Output only. The root cause of the most recent failure. Only present if
state is
FAILED.

`string failure_reason = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for failureReason. |

### getName()

    public abstract String getName()

Identifier. The resource name for this
SingleTenantHsmInstance in
the format `projects/*/locations/*/singleTenantHsmInstances/*/proposals/*`.

`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The name. |

### getNameBytes()

    public abstract ByteString getNameBytes()

Identifier. The resource name for this
SingleTenantHsmInstance in
the format `projects/*/locations/*/singleTenantHsmInstances/*/proposals/*`.

`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for name. |

### getOperationCase()

    public abstract SingleTenantHsmInstanceProposal.OperationCase getOperationCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-kms/latest/com.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.OperationCase` |   |

### getPurgeTime()

    public abstract Timestamp getPurgeTime()

Output only. The time at which the soft-deleted
SingleTenantHsmInstanceProposal
will be permanently purged. This field is only populated
when the state is DELETED and will be set a time after expiration of the
proposal, i.e. \>= expire_time or (create_time + ttl).

`.google.protobuf.Timestamp purge_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The purgeTime. |

### getPurgeTimeOrBuilder()

    public abstract TimestampOrBuilder getPurgeTimeOrBuilder()

Output only. The time at which the soft-deleted
SingleTenantHsmInstanceProposal
will be permanently purged. This field is only populated
when the state is DELETED and will be set a time after expiration of the
proposal, i.e. \>= expire_time or (create_time + ttl).

`.google.protobuf.Timestamp purge_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getQuorumParameters()

    public abstract SingleTenantHsmInstanceProposal.QuorumParameters getQuorumParameters()

Output only. The quorum approval parameters for the
SingleTenantHsmInstanceProposal.

`
.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.QuorumParameters quorum_parameters = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-kms/latest/com.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.QuorumParameters` | The quorumParameters. |

### getQuorumParametersOrBuilder()

    public abstract SingleTenantHsmInstanceProposal.QuorumParametersOrBuilder getQuorumParametersOrBuilder()

Output only. The quorum approval parameters for the
SingleTenantHsmInstanceProposal.

`
.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.QuorumParameters quorum_parameters = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-kms/latest/com.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.QuorumParametersOrBuilder` |   |

### getRefreshSingleTenantHsmInstance()

    public abstract SingleTenantHsmInstanceProposal.RefreshSingleTenantHsmInstance getRefreshSingleTenantHsmInstance()

Refreshes the
SingleTenantHsmInstance.
This operation must be performed periodically to keep the
SingleTenantHsmInstance
active. This operation must be performed before
unrefreshed_duration_until_disable
has passed. The
SingleTenantHsmInstance
must be in the
ACTIVE state
to perform this operation.

`
.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.RefreshSingleTenantHsmInstance refresh_single_tenant_hsm_instance = 17;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-kms/latest/com.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.RefreshSingleTenantHsmInstance` | The refreshSingleTenantHsmInstance. |

### getRefreshSingleTenantHsmInstanceOrBuilder()

    public abstract SingleTenantHsmInstanceProposal.RefreshSingleTenantHsmInstanceOrBuilder getRefreshSingleTenantHsmInstanceOrBuilder()

Refreshes the
SingleTenantHsmInstance.
This operation must be performed periodically to keep the
SingleTenantHsmInstance
active. This operation must be performed before
unrefreshed_duration_until_disable
has passed. The
SingleTenantHsmInstance
must be in the
ACTIVE state
to perform this operation.

`
.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.RefreshSingleTenantHsmInstance refresh_single_tenant_hsm_instance = 17;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-kms/latest/com.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.RefreshSingleTenantHsmInstanceOrBuilder` |   |

### getRegisterTwoFactorAuthKeys()

    public abstract SingleTenantHsmInstanceProposal.RegisterTwoFactorAuthKeys getRegisterTwoFactorAuthKeys()

Register 2FA keys for the
SingleTenantHsmInstance.
This operation requires all N Challenges to be signed by 2FA keys. The
SingleTenantHsmInstance
must be in the
PENDING_TWO_FACTOR_AUTH_REGISTRATION
state to perform this operation.

`
.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.RegisterTwoFactorAuthKeys register_two_factor_auth_keys = 8;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-kms/latest/com.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.RegisterTwoFactorAuthKeys` | The registerTwoFactorAuthKeys. |

### getRegisterTwoFactorAuthKeysOrBuilder()

    public abstract SingleTenantHsmInstanceProposal.RegisterTwoFactorAuthKeysOrBuilder getRegisterTwoFactorAuthKeysOrBuilder()

Register 2FA keys for the
SingleTenantHsmInstance.
This operation requires all N Challenges to be signed by 2FA keys. The
SingleTenantHsmInstance
must be in the
PENDING_TWO_FACTOR_AUTH_REGISTRATION
state to perform this operation.

`
.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.RegisterTwoFactorAuthKeys register_two_factor_auth_keys = 8;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-kms/latest/com.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.RegisterTwoFactorAuthKeysOrBuilder` |   |

### getRemoveQuorumMember()

    public abstract SingleTenantHsmInstanceProposal.RemoveQuorumMember getRemoveQuorumMember()

Remove a quorum member from the
SingleTenantHsmInstance.
This will reduce
total_approver_count
by 1. The
SingleTenantHsmInstance
must be in the
ACTIVE state
to perform this operation.

`
.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.RemoveQuorumMember remove_quorum_member = 13;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-kms/latest/com.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.RemoveQuorumMember` | The removeQuorumMember. |

### getRemoveQuorumMemberOrBuilder()

    public abstract SingleTenantHsmInstanceProposal.RemoveQuorumMemberOrBuilder getRemoveQuorumMemberOrBuilder()

Remove a quorum member from the
SingleTenantHsmInstance.
This will reduce
total_approver_count
by 1. The
SingleTenantHsmInstance
must be in the
ACTIVE state
to perform this operation.

`
.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.RemoveQuorumMember remove_quorum_member = 13;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-kms/latest/com.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.RemoveQuorumMemberOrBuilder` |   |

### getRequiredActionQuorumParameters()

    public abstract SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters getRequiredActionQuorumParameters()

Output only. Parameters for an approval of a
SingleTenantHsmInstanceProposal
that has both required challenges and a quorum.

`
.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters required_action_quorum_parameters = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-kms/latest/com.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters` | The requiredActionQuorumParameters. |

### getRequiredActionQuorumParametersOrBuilder()

    public abstract SingleTenantHsmInstanceProposal.RequiredActionQuorumParametersOrBuilder getRequiredActionQuorumParametersOrBuilder()

Output only. Parameters for an approval of a
SingleTenantHsmInstanceProposal
that has both required challenges and a quorum.

`
.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters required_action_quorum_parameters = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-kms/latest/com.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.RequiredActionQuorumParametersOrBuilder` |   |

### getState()

    public abstract SingleTenantHsmInstanceProposal.State getState()

Output only. The state of the
SingleTenantHsmInstanceProposal.

`
.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-kms/latest/com.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.State` | The state. |

### getStateValue()

    public abstract int getStateValue()

Output only. The state of the
SingleTenantHsmInstanceProposal.

`
.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for state. |

### getTtl()

    public abstract Duration getTtl()

Input only. The TTL for the
SingleTenantHsmInstanceProposal.
Proposals will expire after this duration.

`.google.protobuf.Duration ttl = 7 [(.google.api.field_behavior) = INPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Duration.html` | The ttl. |

### getTtlOrBuilder()

    public abstract DurationOrBuilder getTtlOrBuilder()

Input only. The TTL for the
SingleTenantHsmInstanceProposal.
Proposals will expire after this duration.

`.google.protobuf.Duration ttl = 7 [(.google.api.field_behavior) = INPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.DurationOrBuilder.html` |   |

### hasAddQuorumMember()

    public abstract boolean hasAddQuorumMember()

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.

`
.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.AddQuorumMember add_quorum_member = 12;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the addQuorumMember field is set. |

### hasCreateTime()

    public abstract boolean hasCreateTime()

Output only. The time at which the
SingleTenantHsmInstanceProposal
was created.

`.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the createTime field is set. |

### hasDeleteSingleTenantHsmInstance()

    public abstract boolean hasDeleteSingleTenantHsmInstance()

Delete the
SingleTenantHsmInstance.
Deleting a
SingleTenantHsmInstance
will make all CryptoKeys attached to the
SingleTenantHsmInstance
unusable. The
SingleTenantHsmInstance
must be in the
DISABLED or
PENDING_TWO_FACTOR_AUTH_REGISTRATION
state to perform this operation.

`
.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.DeleteSingleTenantHsmInstance delete_single_tenant_hsm_instance = 11;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the deleteSingleTenantHsmInstance field is set. |

### hasDeleteTime()

    public abstract boolean hasDeleteTime()

Output only. The time at which the
SingleTenantHsmInstanceProposal
was deleted.

`.google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the deleteTime field is set. |

### hasDisableSingleTenantHsmInstance()

    public abstract boolean hasDisableSingleTenantHsmInstance()

Disable the
SingleTenantHsmInstance.
The
SingleTenantHsmInstance
must be in the
ACTIVE state
to perform this operation.

`
.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.DisableSingleTenantHsmInstance disable_single_tenant_hsm_instance = 9;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the disableSingleTenantHsmInstance field is set. |

### hasEnableSingleTenantHsmInstance()

    public abstract boolean hasEnableSingleTenantHsmInstance()

Enable the
SingleTenantHsmInstance.
The
SingleTenantHsmInstance
must be in the
DISABLED
state to perform this operation.

`
.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.EnableSingleTenantHsmInstance enable_single_tenant_hsm_instance = 10;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the enableSingleTenantHsmInstance field is set. |

### hasExpireTime()

    public abstract boolean hasExpireTime()

The time at which the
SingleTenantHsmInstanceProposal
will expire if not approved and executed.

`.google.protobuf.Timestamp expire_time = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the expireTime field is set. |

### hasPurgeTime()

    public abstract boolean hasPurgeTime()

Output only. The time at which the soft-deleted
SingleTenantHsmInstanceProposal
will be permanently purged. This field is only populated
when the state is DELETED and will be set a time after expiration of the
proposal, i.e. \>= expire_time or (create_time + ttl).

`.google.protobuf.Timestamp purge_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the purgeTime field is set. |

### hasQuorumParameters()

    public abstract boolean hasQuorumParameters()

Output only. The quorum approval parameters for the
SingleTenantHsmInstanceProposal.

`
.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.QuorumParameters quorum_parameters = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the quorumParameters field is set. |

### hasRefreshSingleTenantHsmInstance()

    public abstract boolean hasRefreshSingleTenantHsmInstance()

Refreshes the
SingleTenantHsmInstance.
This operation must be performed periodically to keep the
SingleTenantHsmInstance
active. This operation must be performed before
unrefreshed_duration_until_disable
has passed. The
SingleTenantHsmInstance
must be in the
ACTIVE state
to perform this operation.

`
.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.RefreshSingleTenantHsmInstance refresh_single_tenant_hsm_instance = 17;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the refreshSingleTenantHsmInstance field is set. |

### hasRegisterTwoFactorAuthKeys()

    public abstract boolean hasRegisterTwoFactorAuthKeys()

Register 2FA keys for the
SingleTenantHsmInstance.
This operation requires all N Challenges to be signed by 2FA keys. The
SingleTenantHsmInstance
must be in the
PENDING_TWO_FACTOR_AUTH_REGISTRATION
state to perform this operation.

`
.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.RegisterTwoFactorAuthKeys register_two_factor_auth_keys = 8;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the registerTwoFactorAuthKeys field is set. |

### hasRemoveQuorumMember()

    public abstract boolean hasRemoveQuorumMember()

Remove a quorum member from the
SingleTenantHsmInstance.
This will reduce
total_approver_count
by 1. The
SingleTenantHsmInstance
must be in the
ACTIVE state
to perform this operation.

`
.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.RemoveQuorumMember remove_quorum_member = 13;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the removeQuorumMember field is set. |

### hasRequiredActionQuorumParameters()

    public abstract boolean hasRequiredActionQuorumParameters()

Output only. Parameters for an approval of a
SingleTenantHsmInstanceProposal
that has both required challenges and a quorum.

`
.google.cloud.kms.v1.SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters required_action_quorum_parameters = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the requiredActionQuorumParameters field is set. |

### hasTtl()

    public abstract boolean hasTtl()

Input only. The TTL for the
SingleTenantHsmInstanceProposal.
Proposals will expire after this duration.

`.google.protobuf.Duration ttl = 7 [(.google.api.field_behavior) = INPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the ttl field is set. |