public static final class CryptoKeyVersion.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CryptoKeyVersion.Builder> implements CryptoKeyVersionOrBuilder
A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents an individual cryptographic key, and the associated key material. An [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] version can be used for cryptographic operations. For security reasons, the raw cryptographic key material represented by a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] can never be viewed or exported. It can only be used to encrypt, decrypt, or sign data when an authorized user or application invokes Cloud KMS.Protobuf type
google.cloud.kms.v1.CryptoKeyVersion| Modifier and Type | Method and Description |
|---|---|
CryptoKeyVersion.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CryptoKeyVersion |
build() |
CryptoKeyVersion |
buildPartial() |
CryptoKeyVersion.Builder |
clear() |
CryptoKeyVersion.Builder |
clearAlgorithm()
Output only.
|
CryptoKeyVersion.Builder |
clearAttestation()
Output only.
|
CryptoKeyVersion.Builder |
clearCreateTime()
Output only.
|
CryptoKeyVersion.Builder |
clearDestroyEventTime()
Output only.
|
CryptoKeyVersion.Builder |
clearDestroyTime()
Output only.
|
CryptoKeyVersion.Builder |
clearExternalProtectionLevelOptions()
ExternalProtectionLevelOptions stores a group of additional fields for
configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that
are specific to the
[EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level
and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC]
protection levels.
|
CryptoKeyVersion.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CryptoKeyVersion.Builder |
clearGenerateTime()
Output only.
|
CryptoKeyVersion.Builder |
clearImportFailureReason()
Output only.
|
CryptoKeyVersion.Builder |
clearImportJob()
Output only.
|
CryptoKeyVersion.Builder |
clearImportTime()
Output only.
|
CryptoKeyVersion.Builder |
clearName()
Output only.
|
CryptoKeyVersion.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CryptoKeyVersion.Builder |
clearProtectionLevel()
Output only.
|
CryptoKeyVersion.Builder |
clearReimportEligible()
Output only.
|
CryptoKeyVersion.Builder |
clearState()
The current state of the
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
|
CryptoKeyVersion.Builder |
clone() |
CryptoKeyVersion.CryptoKeyVersionAlgorithm |
getAlgorithm()
Output only.
|
int |
getAlgorithmValue()
Output only.
|
KeyOperationAttestation |
getAttestation()
Output only.
|
KeyOperationAttestation.Builder |
getAttestationBuilder()
Output only.
|
KeyOperationAttestationOrBuilder |
getAttestationOrBuilder()
Output only.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
CryptoKeyVersion |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getDestroyEventTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getDestroyEventTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getDestroyEventTimeOrBuilder()
Output only.
|
com.google.protobuf.Timestamp |
getDestroyTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getDestroyTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getDestroyTimeOrBuilder()
Output only.
|
ExternalProtectionLevelOptions |
getExternalProtectionLevelOptions()
ExternalProtectionLevelOptions stores a group of additional fields for
configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that
are specific to the
[EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level
and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC]
protection levels.
|
ExternalProtectionLevelOptions.Builder |
getExternalProtectionLevelOptionsBuilder()
ExternalProtectionLevelOptions stores a group of additional fields for
configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that
are specific to the
[EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level
and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC]
protection levels.
|
ExternalProtectionLevelOptionsOrBuilder |
getExternalProtectionLevelOptionsOrBuilder()
ExternalProtectionLevelOptions stores a group of additional fields for
configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that
are specific to the
[EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level
and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC]
protection levels.
|
com.google.protobuf.Timestamp |
getGenerateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getGenerateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getGenerateTimeOrBuilder()
Output only.
|
String |
getImportFailureReason()
Output only.
|
com.google.protobuf.ByteString |
getImportFailureReasonBytes()
Output only.
|
String |
getImportJob()
Output only.
|
com.google.protobuf.ByteString |
getImportJobBytes()
Output only.
|
com.google.protobuf.Timestamp |
getImportTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getImportTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getImportTimeOrBuilder()
Output only.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
ProtectionLevel |
getProtectionLevel()
Output only.
|
int |
getProtectionLevelValue()
Output only.
|
boolean |
getReimportEligible()
Output only.
|
CryptoKeyVersion.CryptoKeyVersionState |
getState()
The current state of the
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
|
int |
getStateValue()
The current state of the
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
|
boolean |
hasAttestation()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasDestroyEventTime()
Output only.
|
boolean |
hasDestroyTime()
Output only.
|
boolean |
hasExternalProtectionLevelOptions()
ExternalProtectionLevelOptions stores a group of additional fields for
configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that
are specific to the
[EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level
and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC]
protection levels.
|
boolean |
hasGenerateTime()
Output only.
|
boolean |
hasImportTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CryptoKeyVersion.Builder |
mergeAttestation(KeyOperationAttestation value)
Output only.
|
CryptoKeyVersion.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
CryptoKeyVersion.Builder |
mergeDestroyEventTime(com.google.protobuf.Timestamp value)
Output only.
|
CryptoKeyVersion.Builder |
mergeDestroyTime(com.google.protobuf.Timestamp value)
Output only.
|
CryptoKeyVersion.Builder |
mergeExternalProtectionLevelOptions(ExternalProtectionLevelOptions value)
ExternalProtectionLevelOptions stores a group of additional fields for
configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that
are specific to the
[EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level
and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC]
protection levels.
|
CryptoKeyVersion.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CryptoKeyVersion.Builder |
mergeFrom(CryptoKeyVersion other) |
CryptoKeyVersion.Builder |
mergeFrom(com.google.protobuf.Message other) |
CryptoKeyVersion.Builder |
mergeGenerateTime(com.google.protobuf.Timestamp value)
Output only.
|
CryptoKeyVersion.Builder |
mergeImportTime(com.google.protobuf.Timestamp value)
Output only.
|
CryptoKeyVersion.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CryptoKeyVersion.Builder |
setAlgorithm(CryptoKeyVersion.CryptoKeyVersionAlgorithm value)
Output only.
|
CryptoKeyVersion.Builder |
setAlgorithmValue(int value)
Output only.
|
CryptoKeyVersion.Builder |
setAttestation(KeyOperationAttestation.Builder builderForValue)
Output only.
|
CryptoKeyVersion.Builder |
setAttestation(KeyOperationAttestation value)
Output only.
|
CryptoKeyVersion.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
CryptoKeyVersion.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
CryptoKeyVersion.Builder |
setDestroyEventTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
CryptoKeyVersion.Builder |
setDestroyEventTime(com.google.protobuf.Timestamp value)
Output only.
|
CryptoKeyVersion.Builder |
setDestroyTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
CryptoKeyVersion.Builder |
setDestroyTime(com.google.protobuf.Timestamp value)
Output only.
|
CryptoKeyVersion.Builder |
setExternalProtectionLevelOptions(ExternalProtectionLevelOptions.Builder builderForValue)
ExternalProtectionLevelOptions stores a group of additional fields for
configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that
are specific to the
[EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level
and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC]
protection levels.
|
CryptoKeyVersion.Builder |
setExternalProtectionLevelOptions(ExternalProtectionLevelOptions value)
ExternalProtectionLevelOptions stores a group of additional fields for
configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that
are specific to the
[EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level
and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC]
protection levels.
|
CryptoKeyVersion.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CryptoKeyVersion.Builder |
setGenerateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
CryptoKeyVersion.Builder |
setGenerateTime(com.google.protobuf.Timestamp value)
Output only.
|
CryptoKeyVersion.Builder |
setImportFailureReason(String value)
Output only.
|
CryptoKeyVersion.Builder |
setImportFailureReasonBytes(com.google.protobuf.ByteString value)
Output only.
|
CryptoKeyVersion.Builder |
setImportJob(String value)
Output only.
|
CryptoKeyVersion.Builder |
setImportJobBytes(com.google.protobuf.ByteString value)
Output only.
|
CryptoKeyVersion.Builder |
setImportTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
CryptoKeyVersion.Builder |
setImportTime(com.google.protobuf.Timestamp value)
Output only.
|
CryptoKeyVersion.Builder |
setName(String value)
Output only.
|
CryptoKeyVersion.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
CryptoKeyVersion.Builder |
setProtectionLevel(ProtectionLevel value)
Output only.
|
CryptoKeyVersion.Builder |
setProtectionLevelValue(int value)
Output only.
|
CryptoKeyVersion.Builder |
setReimportEligible(boolean value)
Output only.
|
CryptoKeyVersion.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CryptoKeyVersion.Builder |
setState(CryptoKeyVersion.CryptoKeyVersionState value)
The current state of the
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
|
CryptoKeyVersion.Builder |
setStateValue(int value)
The current state of the
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
|
CryptoKeyVersion.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CryptoKeyVersion.Builder>public CryptoKeyVersion.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CryptoKeyVersion.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CryptoKeyVersion.Builder>public CryptoKeyVersion getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CryptoKeyVersion build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CryptoKeyVersion buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CryptoKeyVersion.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CryptoKeyVersion.Builder>public CryptoKeyVersion.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CryptoKeyVersion.Builder>public CryptoKeyVersion.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CryptoKeyVersion.Builder>public CryptoKeyVersion.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CryptoKeyVersion.Builder>public CryptoKeyVersion.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CryptoKeyVersion.Builder>public CryptoKeyVersion.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CryptoKeyVersion.Builder>public CryptoKeyVersion.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CryptoKeyVersion.Builder>public CryptoKeyVersion.Builder mergeFrom(CryptoKeyVersion other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CryptoKeyVersion.Builder>public CryptoKeyVersion.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CryptoKeyVersion.Builder>IOExceptionpublic String getName()
Output only. The resource name for this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface CryptoKeyVersionOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The resource name for this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface CryptoKeyVersionOrBuilderpublic CryptoKeyVersion.Builder setName(String value)
Output only. The resource name for this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public CryptoKeyVersion.Builder clearName()
Output only. The resource name for this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public CryptoKeyVersion.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The resource name for this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for name to set.public int getStateValue()
The current state of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState state = 3;getStateValue in interface CryptoKeyVersionOrBuilderpublic CryptoKeyVersion.Builder setStateValue(int value)
The current state of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState state = 3;value - The enum numeric value on the wire for state to set.public CryptoKeyVersion.CryptoKeyVersionState getState()
The current state of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState state = 3;getState in interface CryptoKeyVersionOrBuilderpublic CryptoKeyVersion.Builder setState(CryptoKeyVersion.CryptoKeyVersionState value)
The current state of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState state = 3;value - The state to set.public CryptoKeyVersion.Builder clearState()
The current state of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState state = 3;public int getProtectionLevelValue()
Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] describing how crypto operations are performed with this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
.google.cloud.kms.v1.ProtectionLevel protection_level = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getProtectionLevelValue in interface CryptoKeyVersionOrBuilderpublic CryptoKeyVersion.Builder setProtectionLevelValue(int value)
Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] describing how crypto operations are performed with this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
.google.cloud.kms.v1.ProtectionLevel protection_level = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for protectionLevel to set.public ProtectionLevel getProtectionLevel()
Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] describing how crypto operations are performed with this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
.google.cloud.kms.v1.ProtectionLevel protection_level = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getProtectionLevel in interface CryptoKeyVersionOrBuilderpublic CryptoKeyVersion.Builder setProtectionLevel(ProtectionLevel value)
Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] describing how crypto operations are performed with this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
.google.cloud.kms.v1.ProtectionLevel protection_level = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The protectionLevel to set.public CryptoKeyVersion.Builder clearProtectionLevel()
Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] describing how crypto operations are performed with this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
.google.cloud.kms.v1.ProtectionLevel protection_level = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public int getAlgorithmValue()
Output only. The [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] that this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] supports.
.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAlgorithmValue in interface CryptoKeyVersionOrBuilderpublic CryptoKeyVersion.Builder setAlgorithmValue(int value)
Output only. The [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] that this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] supports.
.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for algorithm to set.public CryptoKeyVersion.CryptoKeyVersionAlgorithm getAlgorithm()
Output only. The [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] that this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] supports.
.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAlgorithm in interface CryptoKeyVersionOrBuilderpublic CryptoKeyVersion.Builder setAlgorithm(CryptoKeyVersion.CryptoKeyVersionAlgorithm value)
Output only. The [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] that this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] supports.
.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The algorithm to set.public CryptoKeyVersion.Builder clearAlgorithm()
Output only. The [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] that this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] supports.
.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public boolean hasAttestation()
Output only. Statement that was generated and signed by the HSM at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only provided for key versions with [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM].
.google.cloud.kms.v1.KeyOperationAttestation attestation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasAttestation in interface CryptoKeyVersionOrBuilderpublic KeyOperationAttestation getAttestation()
Output only. Statement that was generated and signed by the HSM at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only provided for key versions with [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM].
.google.cloud.kms.v1.KeyOperationAttestation attestation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAttestation in interface CryptoKeyVersionOrBuilderpublic CryptoKeyVersion.Builder setAttestation(KeyOperationAttestation value)
Output only. Statement that was generated and signed by the HSM at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only provided for key versions with [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM].
.google.cloud.kms.v1.KeyOperationAttestation attestation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CryptoKeyVersion.Builder setAttestation(KeyOperationAttestation.Builder builderForValue)
Output only. Statement that was generated and signed by the HSM at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only provided for key versions with [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM].
.google.cloud.kms.v1.KeyOperationAttestation attestation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CryptoKeyVersion.Builder mergeAttestation(KeyOperationAttestation value)
Output only. Statement that was generated and signed by the HSM at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only provided for key versions with [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM].
.google.cloud.kms.v1.KeyOperationAttestation attestation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CryptoKeyVersion.Builder clearAttestation()
Output only. Statement that was generated and signed by the HSM at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only provided for key versions with [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM].
.google.cloud.kms.v1.KeyOperationAttestation attestation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public KeyOperationAttestation.Builder getAttestationBuilder()
Output only. Statement that was generated and signed by the HSM at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only provided for key versions with [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM].
.google.cloud.kms.v1.KeyOperationAttestation attestation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public KeyOperationAttestationOrBuilder getAttestationOrBuilder()
Output only. Statement that was generated and signed by the HSM at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only provided for key versions with [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM].
.google.cloud.kms.v1.KeyOperationAttestation attestation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAttestationOrBuilder in interface CryptoKeyVersionOrBuilderpublic boolean hasCreateTime()
Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface CryptoKeyVersionOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface CryptoKeyVersionOrBuilderpublic CryptoKeyVersion.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CryptoKeyVersion.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CryptoKeyVersion.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CryptoKeyVersion.Builder clearCreateTime()
Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface CryptoKeyVersionOrBuilderpublic boolean hasGenerateTime()
Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was generated.
.google.protobuf.Timestamp generate_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasGenerateTime in interface CryptoKeyVersionOrBuilderpublic com.google.protobuf.Timestamp getGenerateTime()
Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was generated.
.google.protobuf.Timestamp generate_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getGenerateTime in interface CryptoKeyVersionOrBuilderpublic CryptoKeyVersion.Builder setGenerateTime(com.google.protobuf.Timestamp value)
Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was generated.
.google.protobuf.Timestamp generate_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CryptoKeyVersion.Builder setGenerateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was generated.
.google.protobuf.Timestamp generate_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CryptoKeyVersion.Builder mergeGenerateTime(com.google.protobuf.Timestamp value)
Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was generated.
.google.protobuf.Timestamp generate_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CryptoKeyVersion.Builder clearGenerateTime()
Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was generated.
.google.protobuf.Timestamp generate_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getGenerateTimeBuilder()
Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was generated.
.google.protobuf.Timestamp generate_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getGenerateTimeOrBuilder()
Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was generated.
.google.protobuf.Timestamp generate_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getGenerateTimeOrBuilder in interface CryptoKeyVersionOrBuilderpublic boolean hasDestroyTime()
Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is scheduled for destruction. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED].
.google.protobuf.Timestamp destroy_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasDestroyTime in interface CryptoKeyVersionOrBuilderpublic com.google.protobuf.Timestamp getDestroyTime()
Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is scheduled for destruction. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED].
.google.protobuf.Timestamp destroy_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDestroyTime in interface CryptoKeyVersionOrBuilderpublic CryptoKeyVersion.Builder setDestroyTime(com.google.protobuf.Timestamp value)
Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is scheduled for destruction. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED].
.google.protobuf.Timestamp destroy_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CryptoKeyVersion.Builder setDestroyTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is scheduled for destruction. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED].
.google.protobuf.Timestamp destroy_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CryptoKeyVersion.Builder mergeDestroyTime(com.google.protobuf.Timestamp value)
Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is scheduled for destruction. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED].
.google.protobuf.Timestamp destroy_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CryptoKeyVersion.Builder clearDestroyTime()
Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is scheduled for destruction. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED].
.google.protobuf.Timestamp destroy_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getDestroyTimeBuilder()
Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is scheduled for destruction. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED].
.google.protobuf.Timestamp destroy_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getDestroyTimeOrBuilder()
Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is scheduled for destruction. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED].
.google.protobuf.Timestamp destroy_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDestroyTimeOrBuilder in interface CryptoKeyVersionOrBuilderpublic boolean hasDestroyEventTime()
Output only. The time this CryptoKeyVersion's key material was destroyed. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED].
.google.protobuf.Timestamp destroy_event_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasDestroyEventTime in interface CryptoKeyVersionOrBuilderpublic com.google.protobuf.Timestamp getDestroyEventTime()
Output only. The time this CryptoKeyVersion's key material was destroyed. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED].
.google.protobuf.Timestamp destroy_event_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDestroyEventTime in interface CryptoKeyVersionOrBuilderpublic CryptoKeyVersion.Builder setDestroyEventTime(com.google.protobuf.Timestamp value)
Output only. The time this CryptoKeyVersion's key material was destroyed. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED].
.google.protobuf.Timestamp destroy_event_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CryptoKeyVersion.Builder setDestroyEventTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time this CryptoKeyVersion's key material was destroyed. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED].
.google.protobuf.Timestamp destroy_event_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CryptoKeyVersion.Builder mergeDestroyEventTime(com.google.protobuf.Timestamp value)
Output only. The time this CryptoKeyVersion's key material was destroyed. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED].
.google.protobuf.Timestamp destroy_event_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CryptoKeyVersion.Builder clearDestroyEventTime()
Output only. The time this CryptoKeyVersion's key material was destroyed. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED].
.google.protobuf.Timestamp destroy_event_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getDestroyEventTimeBuilder()
Output only. The time this CryptoKeyVersion's key material was destroyed. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED].
.google.protobuf.Timestamp destroy_event_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getDestroyEventTimeOrBuilder()
Output only. The time this CryptoKeyVersion's key material was destroyed. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED].
.google.protobuf.Timestamp destroy_event_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDestroyEventTimeOrBuilder in interface CryptoKeyVersionOrBuilderpublic String getImportJob()
Output only. The name of the [ImportJob][google.cloud.kms.v1.ImportJob] used in the most recent import of this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if the underlying key material was imported.
string import_job = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];getImportJob in interface CryptoKeyVersionOrBuilderpublic com.google.protobuf.ByteString getImportJobBytes()
Output only. The name of the [ImportJob][google.cloud.kms.v1.ImportJob] used in the most recent import of this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if the underlying key material was imported.
string import_job = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];getImportJobBytes in interface CryptoKeyVersionOrBuilderpublic CryptoKeyVersion.Builder setImportJob(String value)
Output only. The name of the [ImportJob][google.cloud.kms.v1.ImportJob] used in the most recent import of this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if the underlying key material was imported.
string import_job = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The importJob to set.public CryptoKeyVersion.Builder clearImportJob()
Output only. The name of the [ImportJob][google.cloud.kms.v1.ImportJob] used in the most recent import of this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if the underlying key material was imported.
string import_job = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];public CryptoKeyVersion.Builder setImportJobBytes(com.google.protobuf.ByteString value)
Output only. The name of the [ImportJob][google.cloud.kms.v1.ImportJob] used in the most recent import of this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if the underlying key material was imported.
string import_job = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for importJob to set.public boolean hasImportTime()
Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was most recently imported.
.google.protobuf.Timestamp import_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasImportTime in interface CryptoKeyVersionOrBuilderpublic com.google.protobuf.Timestamp getImportTime()
Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was most recently imported.
.google.protobuf.Timestamp import_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
getImportTime in interface CryptoKeyVersionOrBuilderpublic CryptoKeyVersion.Builder setImportTime(com.google.protobuf.Timestamp value)
Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was most recently imported.
.google.protobuf.Timestamp import_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CryptoKeyVersion.Builder setImportTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was most recently imported.
.google.protobuf.Timestamp import_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CryptoKeyVersion.Builder mergeImportTime(com.google.protobuf.Timestamp value)
Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was most recently imported.
.google.protobuf.Timestamp import_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CryptoKeyVersion.Builder clearImportTime()
Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was most recently imported.
.google.protobuf.Timestamp import_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getImportTimeBuilder()
Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was most recently imported.
.google.protobuf.Timestamp import_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getImportTimeOrBuilder()
Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was most recently imported.
.google.protobuf.Timestamp import_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
getImportTimeOrBuilder in interface CryptoKeyVersionOrBuilderpublic String getImportFailureReason()
Output only. The root cause of the most recent import failure. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED].
string import_failure_reason = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];getImportFailureReason in interface CryptoKeyVersionOrBuilderpublic com.google.protobuf.ByteString getImportFailureReasonBytes()
Output only. The root cause of the most recent import failure. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED].
string import_failure_reason = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];getImportFailureReasonBytes in interface CryptoKeyVersionOrBuilderpublic CryptoKeyVersion.Builder setImportFailureReason(String value)
Output only. The root cause of the most recent import failure. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED].
string import_failure_reason = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The importFailureReason to set.public CryptoKeyVersion.Builder clearImportFailureReason()
Output only. The root cause of the most recent import failure. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED].
string import_failure_reason = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];public CryptoKeyVersion.Builder setImportFailureReasonBytes(com.google.protobuf.ByteString value)
Output only. The root cause of the most recent import failure. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED].
string import_failure_reason = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for importFailureReason to set.public boolean hasExternalProtectionLevelOptions()
ExternalProtectionLevelOptions stores a group of additional fields for configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that are specific to the [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC] protection levels.
.google.cloud.kms.v1.ExternalProtectionLevelOptions external_protection_level_options = 17;
hasExternalProtectionLevelOptions in interface CryptoKeyVersionOrBuilderpublic ExternalProtectionLevelOptions getExternalProtectionLevelOptions()
ExternalProtectionLevelOptions stores a group of additional fields for configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that are specific to the [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC] protection levels.
.google.cloud.kms.v1.ExternalProtectionLevelOptions external_protection_level_options = 17;
getExternalProtectionLevelOptions in interface CryptoKeyVersionOrBuilderpublic CryptoKeyVersion.Builder setExternalProtectionLevelOptions(ExternalProtectionLevelOptions value)
ExternalProtectionLevelOptions stores a group of additional fields for configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that are specific to the [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC] protection levels.
.google.cloud.kms.v1.ExternalProtectionLevelOptions external_protection_level_options = 17;
public CryptoKeyVersion.Builder setExternalProtectionLevelOptions(ExternalProtectionLevelOptions.Builder builderForValue)
ExternalProtectionLevelOptions stores a group of additional fields for configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that are specific to the [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC] protection levels.
.google.cloud.kms.v1.ExternalProtectionLevelOptions external_protection_level_options = 17;
public CryptoKeyVersion.Builder mergeExternalProtectionLevelOptions(ExternalProtectionLevelOptions value)
ExternalProtectionLevelOptions stores a group of additional fields for configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that are specific to the [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC] protection levels.
.google.cloud.kms.v1.ExternalProtectionLevelOptions external_protection_level_options = 17;
public CryptoKeyVersion.Builder clearExternalProtectionLevelOptions()
ExternalProtectionLevelOptions stores a group of additional fields for configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that are specific to the [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC] protection levels.
.google.cloud.kms.v1.ExternalProtectionLevelOptions external_protection_level_options = 17;
public ExternalProtectionLevelOptions.Builder getExternalProtectionLevelOptionsBuilder()
ExternalProtectionLevelOptions stores a group of additional fields for configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that are specific to the [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC] protection levels.
.google.cloud.kms.v1.ExternalProtectionLevelOptions external_protection_level_options = 17;
public ExternalProtectionLevelOptionsOrBuilder getExternalProtectionLevelOptionsOrBuilder()
ExternalProtectionLevelOptions stores a group of additional fields for configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that are specific to the [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC] protection levels.
.google.cloud.kms.v1.ExternalProtectionLevelOptions external_protection_level_options = 17;
getExternalProtectionLevelOptionsOrBuilder in interface CryptoKeyVersionOrBuilderpublic boolean getReimportEligible()
Output only. Whether or not this key version is eligible for reimport, by being specified as a target in [ImportCryptoKeyVersionRequest.crypto_key_version][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.crypto_key_version].
bool reimport_eligible = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];getReimportEligible in interface CryptoKeyVersionOrBuilderpublic CryptoKeyVersion.Builder setReimportEligible(boolean value)
Output only. Whether or not this key version is eligible for reimport, by being specified as a target in [ImportCryptoKeyVersionRequest.crypto_key_version][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.crypto_key_version].
bool reimport_eligible = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The reimportEligible to set.public CryptoKeyVersion.Builder clearReimportEligible()
Output only. Whether or not this key version is eligible for reimport, by being specified as a target in [ImportCryptoKeyVersionRequest.crypto_key_version][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.crypto_key_version].
bool reimport_eligible = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];public final CryptoKeyVersion.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CryptoKeyVersion.Builder>public final CryptoKeyVersion.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CryptoKeyVersion.Builder>Copyright © 2022 Google LLC. All rights reserved.