Interface CreateCryptoKeyVersionRequestOrBuilder (2.12.0)

public interface CreateCryptoKeyVersionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCryptoKeyVersion()

public abstract CryptoKeyVersion getCryptoKeyVersion()

Required. A CryptoKeyVersion with initial field values.

.google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CryptoKeyVersion

The cryptoKeyVersion.

getCryptoKeyVersionOrBuilder()

public abstract CryptoKeyVersionOrBuilder getCryptoKeyVersionOrBuilder()

Required. A CryptoKeyVersion with initial field values.

.google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CryptoKeyVersionOrBuilder

getParent()

public abstract String getParent()

Required. The name of the CryptoKey associated with the CryptoKeyVersions.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The name of the CryptoKey associated with the CryptoKeyVersions.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

hasCryptoKeyVersion()

public abstract boolean hasCryptoKeyVersion()

Required. A CryptoKeyVersion with initial field values.

.google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the cryptoKeyVersion field is set.