Package com.google.cloud.kms.v1
Class CryptoKeyVersion.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CryptoKeyVersion.Builder>
-
- com.google.cloud.kms.v1.CryptoKeyVersion.Builder
-
- All Implemented Interfaces:
CryptoKeyVersionOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- CryptoKeyVersion
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 typegoogle.cloud.kms.v1.CryptoKeyVersion
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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
clearExternalDestructionFailureReason()
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
clearGenerationFailureReason()
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.String
getExternalDestructionFailureReason()
Output only.com.google.protobuf.ByteString
getExternalDestructionFailureReasonBytes()
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
getGenerationFailureReason()
Output only.com.google.protobuf.ByteString
getGenerationFailureReasonBytes()
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(CryptoKeyVersion other)
CryptoKeyVersion.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
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 value)
Output only.CryptoKeyVersion.Builder
setAttestation(KeyOperationAttestation.Builder builderForValue)
Output only.CryptoKeyVersion.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.CryptoKeyVersion.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.CryptoKeyVersion.Builder
setDestroyEventTime(com.google.protobuf.Timestamp value)
Output only.CryptoKeyVersion.Builder
setDestroyEventTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.CryptoKeyVersion.Builder
setDestroyTime(com.google.protobuf.Timestamp value)
Output only.CryptoKeyVersion.Builder
setDestroyTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.CryptoKeyVersion.Builder
setExternalDestructionFailureReason(String value)
Output only.CryptoKeyVersion.Builder
setExternalDestructionFailureReasonBytes(com.google.protobuf.ByteString value)
Output only.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
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
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
CryptoKeyVersion.Builder
setGenerateTime(com.google.protobuf.Timestamp value)
Output only.CryptoKeyVersion.Builder
setGenerateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.CryptoKeyVersion.Builder
setGenerationFailureReason(String value)
Output only.CryptoKeyVersion.Builder
setGenerationFailureReasonBytes(com.google.protobuf.ByteString 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 value)
Output only.CryptoKeyVersion.Builder
setImportTime(com.google.protobuf.Timestamp.Builder builderForValue)
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)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<CryptoKeyVersion.Builder>
-
clear
public CryptoKeyVersion.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<CryptoKeyVersion.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<CryptoKeyVersion.Builder>
-
getDefaultInstanceForType
public CryptoKeyVersion getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CryptoKeyVersion build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CryptoKeyVersion buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CryptoKeyVersion.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<CryptoKeyVersion.Builder>
-
setField
public CryptoKeyVersion.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CryptoKeyVersion.Builder>
-
clearField
public CryptoKeyVersion.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CryptoKeyVersion.Builder>
-
clearOneof
public CryptoKeyVersion.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<CryptoKeyVersion.Builder>
-
setRepeatedField
public CryptoKeyVersion.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CryptoKeyVersion.Builder>
-
addRepeatedField
public CryptoKeyVersion.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CryptoKeyVersion.Builder>
-
mergeFrom
public CryptoKeyVersion.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CryptoKeyVersion.Builder>
-
mergeFrom
public CryptoKeyVersion.Builder mergeFrom(CryptoKeyVersion other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CryptoKeyVersion.Builder>
-
mergeFrom
public CryptoKeyVersion.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CryptoKeyVersion.Builder>
- Throws:
IOException
-
getName
public 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];
- Specified by:
getName
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- The name.
-
getNameBytes
public 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];
- Specified by:
getNameBytes
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- The bytes for name.
-
setName
public 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];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
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];
- Returns:
- This builder for chaining.
-
setNameBytes
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];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()
The current state of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState state = 3;
- Specified by:
getStateValue
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public CryptoKeyVersion.Builder setStateValue(int value)
The current state of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState state = 3;
- Parameters:
value
- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public CryptoKeyVersion.CryptoKeyVersionState getState()
The current state of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState state = 3;
- Specified by:
getState
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- The state.
-
setState
public 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;
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
public CryptoKeyVersion.Builder clearState()
The current state of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState state = 3;
- Returns:
- This builder for chaining.
-
getProtectionLevelValue
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];
- Specified by:
getProtectionLevelValue
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- The enum numeric value on the wire for protectionLevel.
-
setProtectionLevelValue
public 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];
- Parameters:
value
- The enum numeric value on the wire for protectionLevel to set.- Returns:
- This builder for chaining.
-
getProtectionLevel
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];
- Specified by:
getProtectionLevel
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- The protectionLevel.
-
setProtectionLevel
public 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];
- Parameters:
value
- The protectionLevel to set.- Returns:
- This builder for chaining.
-
clearProtectionLevel
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];
- Returns:
- This builder for chaining.
-
getAlgorithmValue
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];
- Specified by:
getAlgorithmValue
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- The enum numeric value on the wire for algorithm.
-
setAlgorithmValue
public 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];
- Parameters:
value
- The enum numeric value on the wire for algorithm to set.- Returns:
- This builder for chaining.
-
getAlgorithm
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];
- Specified by:
getAlgorithm
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- The algorithm.
-
setAlgorithm
public 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];
- Parameters:
value
- The algorithm to set.- Returns:
- This builder for chaining.
-
clearAlgorithm
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];
- Returns:
- This builder for chaining.
-
hasAttestation
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];
- Specified by:
hasAttestation
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- Whether the attestation field is set.
-
getAttestation
public 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];
- Specified by:
getAttestation
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- The attestation.
-
setAttestation
public 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];
-
setAttestation
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];
-
mergeAttestation
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];
-
clearAttestation
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];
-
getAttestationBuilder
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];
-
getAttestationOrBuilder
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];
- Specified by:
getAttestationOrBuilder
in interfaceCryptoKeyVersionOrBuilder
-
hasCreateTime
public 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];
- Specified by:
hasCreateTime
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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];
- Specified by:
getCreateTime
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public 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];
-
setCreateTime
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];
-
mergeCreateTime
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];
-
clearCreateTime
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];
-
getCreateTimeBuilder
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];
-
getCreateTimeOrBuilder
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];
- Specified by:
getCreateTimeOrBuilder
in interfaceCryptoKeyVersionOrBuilder
-
hasGenerateTime
public 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];
- Specified by:
hasGenerateTime
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- Whether the generateTime field is set.
-
getGenerateTime
public 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];
- Specified by:
getGenerateTime
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- The generateTime.
-
setGenerateTime
public 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];
-
setGenerateTime
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];
-
mergeGenerateTime
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];
-
clearGenerateTime
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];
-
getGenerateTimeBuilder
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];
-
getGenerateTimeOrBuilder
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];
- Specified by:
getGenerateTimeOrBuilder
in interfaceCryptoKeyVersionOrBuilder
-
hasDestroyTime
public 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];
- Specified by:
hasDestroyTime
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- Whether the destroyTime field is set.
-
getDestroyTime
public 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];
- Specified by:
getDestroyTime
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- The destroyTime.
-
setDestroyTime
public 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];
-
setDestroyTime
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];
-
mergeDestroyTime
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];
-
clearDestroyTime
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];
-
getDestroyTimeBuilder
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];
-
getDestroyTimeOrBuilder
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];
- Specified by:
getDestroyTimeOrBuilder
in interfaceCryptoKeyVersionOrBuilder
-
hasDestroyEventTime
public 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];
- Specified by:
hasDestroyEventTime
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- Whether the destroyEventTime field is set.
-
getDestroyEventTime
public 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];
- Specified by:
getDestroyEventTime
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- The destroyEventTime.
-
setDestroyEventTime
public 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];
-
setDestroyEventTime
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];
-
mergeDestroyEventTime
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];
-
clearDestroyEventTime
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];
-
getDestroyEventTimeBuilder
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];
-
getDestroyEventTimeOrBuilder
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];
- Specified by:
getDestroyEventTimeOrBuilder
in interfaceCryptoKeyVersionOrBuilder
-
getImportJob
public 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];
- Specified by:
getImportJob
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- The importJob.
-
getImportJobBytes
public 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];
- Specified by:
getImportJobBytes
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- The bytes for importJob.
-
setImportJob
public 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];
- Parameters:
value
- The importJob to set.- Returns:
- This builder for chaining.
-
clearImportJob
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];
- Returns:
- This builder for chaining.
-
setImportJobBytes
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];
- Parameters:
value
- The bytes for importJob to set.- Returns:
- This builder for chaining.
-
hasImportTime
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];
- Specified by:
hasImportTime
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- Whether the importTime field is set.
-
getImportTime
public 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];
- Specified by:
getImportTime
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- The importTime.
-
setImportTime
public 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];
-
setImportTime
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];
-
mergeImportTime
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];
-
clearImportTime
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];
-
getImportTimeBuilder
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];
-
getImportTimeOrBuilder
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];
- Specified by:
getImportTimeOrBuilder
in interfaceCryptoKeyVersionOrBuilder
-
getImportFailureReason
public 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];
- Specified by:
getImportFailureReason
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- The importFailureReason.
-
getImportFailureReasonBytes
public 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];
- Specified by:
getImportFailureReasonBytes
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- The bytes for importFailureReason.
-
setImportFailureReason
public 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];
- Parameters:
value
- The importFailureReason to set.- Returns:
- This builder for chaining.
-
clearImportFailureReason
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];
- Returns:
- This builder for chaining.
-
setImportFailureReasonBytes
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];
- Parameters:
value
- The bytes for importFailureReason to set.- Returns:
- This builder for chaining.
-
getGenerationFailureReason
public String getGenerationFailureReason()
Output only. The root cause of the most recent generation failure. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [GENERATION_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.GENERATION_FAILED].
string generation_failure_reason = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getGenerationFailureReason
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- The generationFailureReason.
-
getGenerationFailureReasonBytes
public com.google.protobuf.ByteString getGenerationFailureReasonBytes()
Output only. The root cause of the most recent generation failure. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [GENERATION_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.GENERATION_FAILED].
string generation_failure_reason = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getGenerationFailureReasonBytes
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- The bytes for generationFailureReason.
-
setGenerationFailureReason
public CryptoKeyVersion.Builder setGenerationFailureReason(String value)
Output only. The root cause of the most recent generation failure. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [GENERATION_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.GENERATION_FAILED].
string generation_failure_reason = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The generationFailureReason to set.- Returns:
- This builder for chaining.
-
clearGenerationFailureReason
public CryptoKeyVersion.Builder clearGenerationFailureReason()
Output only. The root cause of the most recent generation failure. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [GENERATION_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.GENERATION_FAILED].
string generation_failure_reason = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setGenerationFailureReasonBytes
public CryptoKeyVersion.Builder setGenerationFailureReasonBytes(com.google.protobuf.ByteString value)
Output only. The root cause of the most recent generation failure. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [GENERATION_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.GENERATION_FAILED].
string generation_failure_reason = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for generationFailureReason to set.- Returns:
- This builder for chaining.
-
getExternalDestructionFailureReason
public String getExternalDestructionFailureReason()
Output only. The root cause of the most recent external destruction failure. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [EXTERNAL_DESTRUCTION_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.EXTERNAL_DESTRUCTION_FAILED].
string external_destruction_failure_reason = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getExternalDestructionFailureReason
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- The externalDestructionFailureReason.
-
getExternalDestructionFailureReasonBytes
public com.google.protobuf.ByteString getExternalDestructionFailureReasonBytes()
Output only. The root cause of the most recent external destruction failure. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [EXTERNAL_DESTRUCTION_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.EXTERNAL_DESTRUCTION_FAILED].
string external_destruction_failure_reason = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getExternalDestructionFailureReasonBytes
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- The bytes for externalDestructionFailureReason.
-
setExternalDestructionFailureReason
public CryptoKeyVersion.Builder setExternalDestructionFailureReason(String value)
Output only. The root cause of the most recent external destruction failure. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [EXTERNAL_DESTRUCTION_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.EXTERNAL_DESTRUCTION_FAILED].
string external_destruction_failure_reason = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The externalDestructionFailureReason to set.- Returns:
- This builder for chaining.
-
clearExternalDestructionFailureReason
public CryptoKeyVersion.Builder clearExternalDestructionFailureReason()
Output only. The root cause of the most recent external destruction failure. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [EXTERNAL_DESTRUCTION_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.EXTERNAL_DESTRUCTION_FAILED].
string external_destruction_failure_reason = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setExternalDestructionFailureReasonBytes
public CryptoKeyVersion.Builder setExternalDestructionFailureReasonBytes(com.google.protobuf.ByteString value)
Output only. The root cause of the most recent external destruction failure. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is [EXTERNAL_DESTRUCTION_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.EXTERNAL_DESTRUCTION_FAILED].
string external_destruction_failure_reason = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for externalDestructionFailureReason to set.- Returns:
- This builder for chaining.
-
hasExternalProtectionLevelOptions
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;
- Specified by:
hasExternalProtectionLevelOptions
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- Whether the externalProtectionLevelOptions field is set.
-
getExternalProtectionLevelOptions
public 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;
- Specified by:
getExternalProtectionLevelOptions
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- The externalProtectionLevelOptions.
-
setExternalProtectionLevelOptions
public 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;
-
setExternalProtectionLevelOptions
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;
-
mergeExternalProtectionLevelOptions
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;
-
clearExternalProtectionLevelOptions
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;
-
getExternalProtectionLevelOptionsBuilder
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;
-
getExternalProtectionLevelOptionsOrBuilder
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;
- Specified by:
getExternalProtectionLevelOptionsOrBuilder
in interfaceCryptoKeyVersionOrBuilder
-
getReimportEligible
public 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];
- Specified by:
getReimportEligible
in interfaceCryptoKeyVersionOrBuilder
- Returns:
- The reimportEligible.
-
setReimportEligible
public 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];
- Parameters:
value
- The reimportEligible to set.- Returns:
- This builder for chaining.
-
clearReimportEligible
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];
- Returns:
- This builder for chaining.
-
setUnknownFields
public final CryptoKeyVersion.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CryptoKeyVersion.Builder>
-
mergeUnknownFields
public final CryptoKeyVersion.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CryptoKeyVersion.Builder>
-
-