Interface CryptoKeyOrBuilder (3.25.0)

public interface CryptoKeyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKmsWrapped()

public abstract KmsWrappedCryptoKey getKmsWrapped()

Key wrapped using Cloud KMS

.google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3;

Returns
TypeDescription
KmsWrappedCryptoKey

The kmsWrapped.

getKmsWrappedOrBuilder()

public abstract KmsWrappedCryptoKeyOrBuilder getKmsWrappedOrBuilder()

Key wrapped using Cloud KMS

.google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3;

Returns
TypeDescription
KmsWrappedCryptoKeyOrBuilder

getSourceCase()

public abstract CryptoKey.SourceCase getSourceCase()
Returns
TypeDescription
CryptoKey.SourceCase

getTransient()

public abstract TransientCryptoKey getTransient()

Transient crypto key

.google.privacy.dlp.v2.TransientCryptoKey transient = 1;

Returns
TypeDescription
TransientCryptoKey

The transient.

getTransientOrBuilder()

public abstract TransientCryptoKeyOrBuilder getTransientOrBuilder()

Transient crypto key

.google.privacy.dlp.v2.TransientCryptoKey transient = 1;

Returns
TypeDescription
TransientCryptoKeyOrBuilder

getUnwrapped()

public abstract UnwrappedCryptoKey getUnwrapped()

Unwrapped crypto key

.google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2;

Returns
TypeDescription
UnwrappedCryptoKey

The unwrapped.

getUnwrappedOrBuilder()

public abstract UnwrappedCryptoKeyOrBuilder getUnwrappedOrBuilder()

Unwrapped crypto key

.google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2;

Returns
TypeDescription
UnwrappedCryptoKeyOrBuilder

hasKmsWrapped()

public abstract boolean hasKmsWrapped()

Key wrapped using Cloud KMS

.google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3;

Returns
TypeDescription
boolean

Whether the kmsWrapped field is set.

hasTransient()

public abstract boolean hasTransient()

Transient crypto key

.google.privacy.dlp.v2.TransientCryptoKey transient = 1;

Returns
TypeDescription
boolean

Whether the transient field is set.

hasUnwrapped()

public abstract boolean hasUnwrapped()

Unwrapped crypto key

.google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2;

Returns
TypeDescription
boolean

Whether the unwrapped field is set.