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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SingleTenantHsmInstance.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<SingleTenantHsmInstance.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SingleTenantHsmInstance.Builder>
    • getDefaultInstanceForType

      public SingleTenantHsmInstance getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public SingleTenantHsmInstance build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public SingleTenantHsmInstance buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SingleTenantHsmInstance.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SingleTenantHsmInstance.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SingleTenantHsmInstance.Builder>
      Throws:
      IOException
    • getName

      public String 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:
      getName in interface SingleTenantHsmInstanceOrBuilder
      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:
      getNameBytes in interface SingleTenantHsmInstanceOrBuilder
      Returns:
      The bytes for name.
    • setName

      public SingleTenantHsmInstance.Builder setName(String value)
       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

      public SingleTenantHsmInstance.Builder 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

      public SingleTenantHsmInstance.Builder setNameBytes(com.google.protobuf.ByteString value)
       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:
      hasCreateTime in interface SingleTenantHsmInstanceOrBuilder
      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:
      getCreateTime in interface SingleTenantHsmInstanceOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public SingleTenantHsmInstance.Builder setCreateTime(com.google.protobuf.Timestamp value)
       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

      public SingleTenantHsmInstance.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       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

      public SingleTenantHsmInstance.Builder 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:
      getCreateTimeOrBuilder in interface SingleTenantHsmInstanceOrBuilder
    • 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:
      getStateValue in interface SingleTenantHsmInstanceOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public SingleTenantHsmInstance.Builder setStateValue(int value)
       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

      public SingleTenantHsmInstance.State 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:
      getState in interface SingleTenantHsmInstanceOrBuilder
      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

      public SingleTenantHsmInstance.Builder 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:
      hasQuorumAuth in interface SingleTenantHsmInstanceOrBuilder
      Returns:
      Whether the quorumAuth field is set.
    • getQuorumAuth

      public SingleTenantHsmInstance.QuorumAuth 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:
      getQuorumAuth in interface SingleTenantHsmInstanceOrBuilder
      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

       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

      public SingleTenantHsmInstance.Builder 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

      public SingleTenantHsmInstance.QuorumAuth.Builder 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

      public SingleTenantHsmInstance.QuorumAuthOrBuilder 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:
      getQuorumAuthOrBuilder in interface SingleTenantHsmInstanceOrBuilder
    • 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:
      hasDeleteTime in interface SingleTenantHsmInstanceOrBuilder
      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:
      getDeleteTime in interface SingleTenantHsmInstanceOrBuilder
      Returns:
      The deleteTime.
    • setDeleteTime

      public SingleTenantHsmInstance.Builder setDeleteTime(com.google.protobuf.Timestamp value)
       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

      public SingleTenantHsmInstance.Builder mergeDeleteTime(com.google.protobuf.Timestamp value)
       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

      public SingleTenantHsmInstance.Builder 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:
      getDeleteTimeOrBuilder in interface SingleTenantHsmInstanceOrBuilder
    • 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:
      hasUnrefreshedDurationUntilDisable in interface SingleTenantHsmInstanceOrBuilder
      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:
      getUnrefreshedDurationUntilDisable in interface SingleTenantHsmInstanceOrBuilder
      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

      public SingleTenantHsmInstance.Builder 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:
      getUnrefreshedDurationUntilDisableOrBuilder in interface SingleTenantHsmInstanceOrBuilder
    • 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:
      hasDisableTime in interface SingleTenantHsmInstanceOrBuilder
      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:
      getDisableTime in interface SingleTenantHsmInstanceOrBuilder
      Returns:
      The disableTime.
    • setDisableTime

      public SingleTenantHsmInstance.Builder setDisableTime(com.google.protobuf.Timestamp value)
       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

      public SingleTenantHsmInstance.Builder mergeDisableTime(com.google.protobuf.Timestamp value)
       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

      public SingleTenantHsmInstance.Builder 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:
      getDisableTimeOrBuilder in interface SingleTenantHsmInstanceOrBuilder
    • 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:
      getKeyPortabilityEnabled in interface SingleTenantHsmInstanceOrBuilder
      Returns:
      The keyPortabilityEnabled.
    • setKeyPortabilityEnabled

      public SingleTenantHsmInstance.Builder setKeyPortabilityEnabled(boolean value)
       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

      public SingleTenantHsmInstance.Builder 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.