Interface CryptoKeyOrBuilder (3.57.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
Type Description
KmsWrappedCryptoKey

The kmsWrapped.

getKmsWrappedOrBuilder()

public abstract KmsWrappedCryptoKeyOrBuilder getKmsWrappedOrBuilder()

Key wrapped using Cloud KMS

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

Returns
Type Description
KmsWrappedCryptoKeyOrBuilder

getSourceCase()

public abstract CryptoKey.SourceCase getSourceCase()
Returns
Type Description
CryptoKey.SourceCase

getTransient()

public abstract TransientCryptoKey getTransient()

Transient crypto key

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

Returns
Type Description
TransientCryptoKey

The transient.

getTransientOrBuilder()

public abstract TransientCryptoKeyOrBuilder getTransientOrBuilder()

Transient crypto key

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

Returns
Type Description
TransientCryptoKeyOrBuilder

getUnwrapped()

public abstract UnwrappedCryptoKey getUnwrapped()

Unwrapped crypto key

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

Returns
Type Description
UnwrappedCryptoKey

The unwrapped.

getUnwrappedOrBuilder()

public abstract UnwrappedCryptoKeyOrBuilder getUnwrappedOrBuilder()

Unwrapped crypto key

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

Returns
Type Description
UnwrappedCryptoKeyOrBuilder

hasKmsWrapped()

public abstract boolean hasKmsWrapped()

Key wrapped using Cloud KMS

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

Returns
Type Description
boolean

Whether the kmsWrapped field is set.

hasTransient()

public abstract boolean hasTransient()

Transient crypto key

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

Returns
Type Description
boolean

Whether the transient field is set.

hasUnwrapped()

public abstract boolean hasUnwrapped()

Unwrapped crypto key

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

Returns
Type Description
boolean

Whether the unwrapped field is set.