Enum ImportJob.ImportJobState (2.9.0)

public enum ImportJob.ImportJobState extends Enum<ImportJob.ImportJobState> implements ProtocolMessageEnum

The state of the ImportJob, indicating if it can be used.

Protobuf enum google.cloud.kms.v1.ImportJob.ImportJobState

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ACTIVE

This job may be used in CreateCryptoKey and CreateCryptoKeyVersion requests.

ACTIVE = 2;

ACTIVE_VALUE

This job may be used in CreateCryptoKey and CreateCryptoKeyVersion requests.

ACTIVE = 2;

EXPIRED

This job can no longer be used and may not leave this state once entered.

EXPIRED = 3;

EXPIRED_VALUE

This job can no longer be used and may not leave this state once entered.

EXPIRED = 3;

IMPORT_JOB_STATE_UNSPECIFIED

Not specified.

IMPORT_JOB_STATE_UNSPECIFIED = 0;

IMPORT_JOB_STATE_UNSPECIFIED_VALUE

Not specified.

IMPORT_JOB_STATE_UNSPECIFIED = 0;

PENDING_GENERATION

The wrapping key for this job is still being generated. It may not be used. Cloud KMS will automatically mark this job as ACTIVE as soon as the wrapping key is generated.

PENDING_GENERATION = 1;

PENDING_GENERATION_VALUE

The wrapping key for this job is still being generated. It may not be used. Cloud KMS will automatically mark this job as ACTIVE as soon as the wrapping key is generated.

PENDING_GENERATION = 1;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()