Interface CreateCryptoKeyVersionRequestOrBuilder (2.50.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the cryptoKeyVersion field is set.