Package com.google.cloud.kms.v1
Class SingleTenantHsmInstance.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SingleTenantHsmInstance.Builder>
com.google.cloud.kms.v1.SingleTenantHsmInstance.Builder
- All Implemented Interfaces:
SingleTenantHsmInstanceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SingleTenantHsmInstance
public static final class SingleTenantHsmInstance.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SingleTenantHsmInstance.Builder>
implements SingleTenantHsmInstanceOrBuilder
A [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] represents a single-tenant HSM instance. It can be used for creating [CryptoKeys][google.cloud.kms.v1.CryptoKey] with a [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of [HSM_SINGLE_TENANT][CryptoKeyVersion.ProtectionLevel.HSM_SINGLE_TENANT], as well as performing cryptographic operations using keys created within the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance].Protobuf type
google.cloud.kms.v1.SingleTenantHsmInstance-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Optional.Identifier.Required.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOptional.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Required.Required.Required.getState()Output only.intOutput only.com.google.protobuf.DurationOutput only.com.google.protobuf.Duration.BuilderOutput only.com.google.protobuf.DurationOrBuilderOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanRequired.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeDeleteTime(com.google.protobuf.Timestamp value) Output only.mergeDisableTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(SingleTenantHsmInstance other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Required.mergeUnrefreshedDurationUntilDisable(com.google.protobuf.Duration value) Output only.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDeleteTime(com.google.protobuf.Timestamp value) Output only.setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDisableTime(com.google.protobuf.Timestamp value) Output only.setDisableTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setKeyPortabilityEnabled(boolean value) Optional.Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.Required.setQuorumAuth(SingleTenantHsmInstance.QuorumAuth.Builder builderForValue) Required.Output only.setStateValue(int value) Output only.setUnrefreshedDurationUntilDisable(com.google.protobuf.Duration value) Output only.setUnrefreshedDurationUntilDisable(com.google.protobuf.Duration.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SingleTenantHsmInstance.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SingleTenantHsmInstance.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SingleTenantHsmInstance.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SingleTenantHsmInstance.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SingleTenantHsmInstance.Builder>
-
mergeFrom
public SingleTenantHsmInstance.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SingleTenantHsmInstance.Builder>- Throws:
IOException
-
getName
Identifier. The resource name for this [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] in the format `projects/*/locations/*/singleTenantHsmInstances/*`.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceSingleTenantHsmInstanceOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. The resource name for this [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] in the format `projects/*/locations/*/singleTenantHsmInstances/*`.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceSingleTenantHsmInstanceOrBuilder- Returns:
- The bytes for name.
-
setName
Identifier. The resource name for this [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] in the format `projects/*/locations/*/singleTenantHsmInstances/*`.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Identifier. The resource name for this [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] in the format `projects/*/locations/*/singleTenantHsmInstances/*`.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- This builder for chaining.
-
setNameBytes
Identifier. The resource name for this [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] in the format `projects/*/locations/*/singleTenantHsmInstances/*`.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. The time at which the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceSingleTenantHsmInstanceOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The time at which the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceSingleTenantHsmInstanceOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The time at which the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
public SingleTenantHsmInstance.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The time at which the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The time at which the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The time at which the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The time at which the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time at which the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceSingleTenantHsmInstanceOrBuilder
-
getStateValue
public int getStateValue()Output only. The state of the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance].
.google.cloud.kms.v1.SingleTenantHsmInstance.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceSingleTenantHsmInstanceOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. The state of the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance].
.google.cloud.kms.v1.SingleTenantHsmInstance.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. The state of the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance].
.google.cloud.kms.v1.SingleTenantHsmInstance.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceSingleTenantHsmInstanceOrBuilder- Returns:
- The state.
-
setState
Output only. The state of the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance].
.google.cloud.kms.v1.SingleTenantHsmInstance.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. The state of the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance].
.google.cloud.kms.v1.SingleTenantHsmInstance.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasQuorumAuth
public boolean hasQuorumAuth()Required. The quorum auth configuration for the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance].
.google.cloud.kms.v1.SingleTenantHsmInstance.QuorumAuth quorum_auth = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasQuorumAuthin interfaceSingleTenantHsmInstanceOrBuilder- Returns:
- Whether the quorumAuth field is set.
-
getQuorumAuth
Required. The quorum auth configuration for the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance].
.google.cloud.kms.v1.SingleTenantHsmInstance.QuorumAuth quorum_auth = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getQuorumAuthin interfaceSingleTenantHsmInstanceOrBuilder- Returns:
- The quorumAuth.
-
setQuorumAuth
Required. The quorum auth configuration for the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance].
.google.cloud.kms.v1.SingleTenantHsmInstance.QuorumAuth quorum_auth = 4 [(.google.api.field_behavior) = REQUIRED]; -
setQuorumAuth
public SingleTenantHsmInstance.Builder setQuorumAuth(SingleTenantHsmInstance.QuorumAuth.Builder builderForValue) Required. The quorum auth configuration for the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance].
.google.cloud.kms.v1.SingleTenantHsmInstance.QuorumAuth quorum_auth = 4 [(.google.api.field_behavior) = REQUIRED]; -
mergeQuorumAuth
Required. The quorum auth configuration for the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance].
.google.cloud.kms.v1.SingleTenantHsmInstance.QuorumAuth quorum_auth = 4 [(.google.api.field_behavior) = REQUIRED]; -
clearQuorumAuth
Required. The quorum auth configuration for the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance].
.google.cloud.kms.v1.SingleTenantHsmInstance.QuorumAuth quorum_auth = 4 [(.google.api.field_behavior) = REQUIRED]; -
getQuorumAuthBuilder
Required. The quorum auth configuration for the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance].
.google.cloud.kms.v1.SingleTenantHsmInstance.QuorumAuth quorum_auth = 4 [(.google.api.field_behavior) = REQUIRED]; -
getQuorumAuthOrBuilder
Required. The quorum auth configuration for the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance].
.google.cloud.kms.v1.SingleTenantHsmInstance.QuorumAuth quorum_auth = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getQuorumAuthOrBuilderin interfaceSingleTenantHsmInstanceOrBuilder
-
hasDeleteTime
public boolean hasDeleteTime()Output only. The time at which the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] was deleted.
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDeleteTimein interfaceSingleTenantHsmInstanceOrBuilder- Returns:
- Whether the deleteTime field is set.
-
getDeleteTime
public com.google.protobuf.Timestamp getDeleteTime()Output only. The time at which the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] was deleted.
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteTimein interfaceSingleTenantHsmInstanceOrBuilder- Returns:
- The deleteTime.
-
setDeleteTime
Output only. The time at which the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] was deleted.
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setDeleteTime
public SingleTenantHsmInstance.Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The time at which the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] was deleted.
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeDeleteTime
Output only. The time at which the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] was deleted.
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearDeleteTime
Output only. The time at which the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] was deleted.
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeleteTimeBuilder
public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder()Output only. The time at which the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] was deleted.
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()Output only. The time at which the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] was deleted.
.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteTimeOrBuilderin interfaceSingleTenantHsmInstanceOrBuilder
-
hasUnrefreshedDurationUntilDisable
public boolean hasUnrefreshedDurationUntilDisable()Output only. The system-defined duration that an instance can remain unrefreshed until it is automatically disabled. This will have a value of 730 days.
.google.protobuf.Duration unrefreshed_duration_until_disable = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUnrefreshedDurationUntilDisablein interfaceSingleTenantHsmInstanceOrBuilder- Returns:
- Whether the unrefreshedDurationUntilDisable field is set.
-
getUnrefreshedDurationUntilDisable
public com.google.protobuf.Duration getUnrefreshedDurationUntilDisable()Output only. The system-defined duration that an instance can remain unrefreshed until it is automatically disabled. This will have a value of 730 days.
.google.protobuf.Duration unrefreshed_duration_until_disable = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUnrefreshedDurationUntilDisablein interfaceSingleTenantHsmInstanceOrBuilder- Returns:
- The unrefreshedDurationUntilDisable.
-
setUnrefreshedDurationUntilDisable
public SingleTenantHsmInstance.Builder setUnrefreshedDurationUntilDisable(com.google.protobuf.Duration value) Output only. The system-defined duration that an instance can remain unrefreshed until it is automatically disabled. This will have a value of 730 days.
.google.protobuf.Duration unrefreshed_duration_until_disable = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUnrefreshedDurationUntilDisable
public SingleTenantHsmInstance.Builder setUnrefreshedDurationUntilDisable(com.google.protobuf.Duration.Builder builderForValue) Output only. The system-defined duration that an instance can remain unrefreshed until it is automatically disabled. This will have a value of 730 days.
.google.protobuf.Duration unrefreshed_duration_until_disable = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUnrefreshedDurationUntilDisable
public SingleTenantHsmInstance.Builder mergeUnrefreshedDurationUntilDisable(com.google.protobuf.Duration value) Output only. The system-defined duration that an instance can remain unrefreshed until it is automatically disabled. This will have a value of 730 days.
.google.protobuf.Duration unrefreshed_duration_until_disable = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUnrefreshedDurationUntilDisable
Output only. The system-defined duration that an instance can remain unrefreshed until it is automatically disabled. This will have a value of 730 days.
.google.protobuf.Duration unrefreshed_duration_until_disable = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUnrefreshedDurationUntilDisableBuilder
public com.google.protobuf.Duration.Builder getUnrefreshedDurationUntilDisableBuilder()Output only. The system-defined duration that an instance can remain unrefreshed until it is automatically disabled. This will have a value of 730 days.
.google.protobuf.Duration unrefreshed_duration_until_disable = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUnrefreshedDurationUntilDisableOrBuilder
public com.google.protobuf.DurationOrBuilder getUnrefreshedDurationUntilDisableOrBuilder()Output only. The system-defined duration that an instance can remain unrefreshed until it is automatically disabled. This will have a value of 730 days.
.google.protobuf.Duration unrefreshed_duration_until_disable = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUnrefreshedDurationUntilDisableOrBuilderin interfaceSingleTenantHsmInstanceOrBuilder
-
hasDisableTime
public boolean hasDisableTime()Output only. The time at which the instance will be automatically disabled if not refreshed. This field is updated upon creation and after each successful refresh operation and enable. A [RefreshSingleTenantHsmInstance][] operation must be made via a [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal] before this time otherwise the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] will become disabled.
.google.protobuf.Timestamp disable_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDisableTimein interfaceSingleTenantHsmInstanceOrBuilder- Returns:
- Whether the disableTime field is set.
-
getDisableTime
public com.google.protobuf.Timestamp getDisableTime()Output only. The time at which the instance will be automatically disabled if not refreshed. This field is updated upon creation and after each successful refresh operation and enable. A [RefreshSingleTenantHsmInstance][] operation must be made via a [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal] before this time otherwise the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] will become disabled.
.google.protobuf.Timestamp disable_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDisableTimein interfaceSingleTenantHsmInstanceOrBuilder- Returns:
- The disableTime.
-
setDisableTime
Output only. The time at which the instance will be automatically disabled if not refreshed. This field is updated upon creation and after each successful refresh operation and enable. A [RefreshSingleTenantHsmInstance][] operation must be made via a [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal] before this time otherwise the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] will become disabled.
.google.protobuf.Timestamp disable_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setDisableTime
public SingleTenantHsmInstance.Builder setDisableTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The time at which the instance will be automatically disabled if not refreshed. This field is updated upon creation and after each successful refresh operation and enable. A [RefreshSingleTenantHsmInstance][] operation must be made via a [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal] before this time otherwise the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] will become disabled.
.google.protobuf.Timestamp disable_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeDisableTime
Output only. The time at which the instance will be automatically disabled if not refreshed. This field is updated upon creation and after each successful refresh operation and enable. A [RefreshSingleTenantHsmInstance][] operation must be made via a [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal] before this time otherwise the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] will become disabled.
.google.protobuf.Timestamp disable_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearDisableTime
Output only. The time at which the instance will be automatically disabled if not refreshed. This field is updated upon creation and after each successful refresh operation and enable. A [RefreshSingleTenantHsmInstance][] operation must be made via a [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal] before this time otherwise the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] will become disabled.
.google.protobuf.Timestamp disable_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDisableTimeBuilder
public com.google.protobuf.Timestamp.Builder getDisableTimeBuilder()Output only. The time at which the instance will be automatically disabled if not refreshed. This field is updated upon creation and after each successful refresh operation and enable. A [RefreshSingleTenantHsmInstance][] operation must be made via a [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal] before this time otherwise the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] will become disabled.
.google.protobuf.Timestamp disable_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDisableTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDisableTimeOrBuilder()Output only. The time at which the instance will be automatically disabled if not refreshed. This field is updated upon creation and after each successful refresh operation and enable. A [RefreshSingleTenantHsmInstance][] operation must be made via a [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal] before this time otherwise the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] will become disabled.
.google.protobuf.Timestamp disable_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDisableTimeOrBuilderin interfaceSingleTenantHsmInstanceOrBuilder
-
getKeyPortabilityEnabled
public boolean getKeyPortabilityEnabled()Optional. Immutable. Indicates whether key portability is enabled for the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance]. This can only be set at creation time. Key portability features are disabled by default.
bool key_portability_enabled = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getKeyPortabilityEnabledin interfaceSingleTenantHsmInstanceOrBuilder- Returns:
- The keyPortabilityEnabled.
-
setKeyPortabilityEnabled
Optional. Immutable. Indicates whether key portability is enabled for the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance]. This can only be set at creation time. Key portability features are disabled by default.
bool key_portability_enabled = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The keyPortabilityEnabled to set.- Returns:
- This builder for chaining.
-
clearKeyPortabilityEnabled
Optional. Immutable. Indicates whether key portability is enabled for the [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance]. This can only be set at creation time. Key portability features are disabled by default.
bool key_portability_enabled = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-