- 3.87.0 (latest)
- 3.86.0
- 3.85.0
- 3.84.0
- 3.82.0
- 3.80.0
- 3.79.0
- 3.78.0
- 3.77.0
- 3.76.0
- 3.74.0
- 3.72.0
- 3.71.0
- 3.68.0
- 3.67.0
- 3.66.0
- 3.64.0
- 3.63.0
- 3.62.0
- 3.61.0
- 3.60.0
- 3.59.0
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.7
- 3.5.0
- 3.4.0
- 3.3.2
- 3.2.1
- 3.1.4
public static final class CryptoKey.Builder extends GeneratedMessage.Builder<CryptoKey.Builder> implements CryptoKeyOrBuilderThis is a data encryption key (DEK) (as opposed to a key encryption key (KEK) stored by Cloud Key Management Service (Cloud KMS). When using Cloud KMS to wrap or unwrap a DEK, be sure to set an appropriate IAM policy on the KEK to ensure an attacker cannot unwrap the DEK.
Protobuf type google.privacy.dlp.v2.CryptoKey
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CryptoKey.BuilderImplements
CryptoKeyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CryptoKey build()| Returns | |
|---|---|
| Type | Description |
CryptoKey |
|
buildPartial()
public CryptoKey buildPartial()| Returns | |
|---|---|
| Type | Description |
CryptoKey |
|
clear()
public CryptoKey.Builder clear()| Returns | |
|---|---|
| Type | Description |
CryptoKey.Builder |
|
clearKmsWrapped()
public CryptoKey.Builder clearKmsWrapped()Key wrapped using Cloud KMS
.google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3;
| Returns | |
|---|---|
| Type | Description |
CryptoKey.Builder |
|
clearSource()
public CryptoKey.Builder clearSource()| Returns | |
|---|---|
| Type | Description |
CryptoKey.Builder |
|
clearTransient()
public CryptoKey.Builder clearTransient()Transient crypto key
.google.privacy.dlp.v2.TransientCryptoKey transient = 1;
| Returns | |
|---|---|
| Type | Description |
CryptoKey.Builder |
|
clearUnwrapped()
public CryptoKey.Builder clearUnwrapped()Unwrapped crypto key
.google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2;
| Returns | |
|---|---|
| Type | Description |
CryptoKey.Builder |
|
getDefaultInstanceForType()
public CryptoKey getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CryptoKey |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getKmsWrapped()
public KmsWrappedCryptoKey getKmsWrapped()Key wrapped using Cloud KMS
.google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3;
| Returns | |
|---|---|
| Type | Description |
KmsWrappedCryptoKey |
The kmsWrapped. |
getKmsWrappedBuilder()
public KmsWrappedCryptoKey.Builder getKmsWrappedBuilder()Key wrapped using Cloud KMS
.google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3;
| Returns | |
|---|---|
| Type | Description |
KmsWrappedCryptoKey.Builder |
|
getKmsWrappedOrBuilder()
public KmsWrappedCryptoKeyOrBuilder getKmsWrappedOrBuilder()Key wrapped using Cloud KMS
.google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3;
| Returns | |
|---|---|
| Type | Description |
KmsWrappedCryptoKeyOrBuilder |
|
getSourceCase()
public CryptoKey.SourceCase getSourceCase()| Returns | |
|---|---|
| Type | Description |
CryptoKey.SourceCase |
|
getTransient()
public TransientCryptoKey getTransient()Transient crypto key
.google.privacy.dlp.v2.TransientCryptoKey transient = 1;
| Returns | |
|---|---|
| Type | Description |
TransientCryptoKey |
The transient. |
getTransientBuilder()
public TransientCryptoKey.Builder getTransientBuilder()Transient crypto key
.google.privacy.dlp.v2.TransientCryptoKey transient = 1;
| Returns | |
|---|---|
| Type | Description |
TransientCryptoKey.Builder |
|
getTransientOrBuilder()
public TransientCryptoKeyOrBuilder getTransientOrBuilder()Transient crypto key
.google.privacy.dlp.v2.TransientCryptoKey transient = 1;
| Returns | |
|---|---|
| Type | Description |
TransientCryptoKeyOrBuilder |
|
getUnwrapped()
public UnwrappedCryptoKey getUnwrapped()Unwrapped crypto key
.google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2;
| Returns | |
|---|---|
| Type | Description |
UnwrappedCryptoKey |
The unwrapped. |
getUnwrappedBuilder()
public UnwrappedCryptoKey.Builder getUnwrappedBuilder()Unwrapped crypto key
.google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2;
| Returns | |
|---|---|
| Type | Description |
UnwrappedCryptoKey.Builder |
|
getUnwrappedOrBuilder()
public UnwrappedCryptoKeyOrBuilder getUnwrappedOrBuilder()Unwrapped crypto key
.google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2;
| Returns | |
|---|---|
| Type | Description |
UnwrappedCryptoKeyOrBuilder |
|
hasKmsWrapped()
public 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 boolean hasTransient()Transient crypto key
.google.privacy.dlp.v2.TransientCryptoKey transient = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the transient field is set. |
hasUnwrapped()
public boolean hasUnwrapped()Unwrapped crypto key
.google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the unwrapped field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CryptoKey other)
public CryptoKey.Builder mergeFrom(CryptoKey other)| Parameter | |
|---|---|
| Name | Description |
other |
CryptoKey |
| Returns | |
|---|---|
| Type | Description |
CryptoKey.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CryptoKey.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CryptoKey.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CryptoKey.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CryptoKey.Builder |
|
mergeKmsWrapped(KmsWrappedCryptoKey value)
public CryptoKey.Builder mergeKmsWrapped(KmsWrappedCryptoKey value)Key wrapped using Cloud KMS
.google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
KmsWrappedCryptoKey |
| Returns | |
|---|---|
| Type | Description |
CryptoKey.Builder |
|
mergeTransient(TransientCryptoKey value)
public CryptoKey.Builder mergeTransient(TransientCryptoKey value)Transient crypto key
.google.privacy.dlp.v2.TransientCryptoKey transient = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
TransientCryptoKey |
| Returns | |
|---|---|
| Type | Description |
CryptoKey.Builder |
|
mergeUnwrapped(UnwrappedCryptoKey value)
public CryptoKey.Builder mergeUnwrapped(UnwrappedCryptoKey value)Unwrapped crypto key
.google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
UnwrappedCryptoKey |
| Returns | |
|---|---|
| Type | Description |
CryptoKey.Builder |
|
setKmsWrapped(KmsWrappedCryptoKey value)
public CryptoKey.Builder setKmsWrapped(KmsWrappedCryptoKey value)Key wrapped using Cloud KMS
.google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
KmsWrappedCryptoKey |
| Returns | |
|---|---|
| Type | Description |
CryptoKey.Builder |
|
setKmsWrapped(KmsWrappedCryptoKey.Builder builderForValue)
public CryptoKey.Builder setKmsWrapped(KmsWrappedCryptoKey.Builder builderForValue)Key wrapped using Cloud KMS
.google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
KmsWrappedCryptoKey.Builder |
| Returns | |
|---|---|
| Type | Description |
CryptoKey.Builder |
|
setTransient(TransientCryptoKey value)
public CryptoKey.Builder setTransient(TransientCryptoKey value)Transient crypto key
.google.privacy.dlp.v2.TransientCryptoKey transient = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
TransientCryptoKey |
| Returns | |
|---|---|
| Type | Description |
CryptoKey.Builder |
|
setTransient(TransientCryptoKey.Builder builderForValue)
public CryptoKey.Builder setTransient(TransientCryptoKey.Builder builderForValue)Transient crypto key
.google.privacy.dlp.v2.TransientCryptoKey transient = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
TransientCryptoKey.Builder |
| Returns | |
|---|---|
| Type | Description |
CryptoKey.Builder |
|
setUnwrapped(UnwrappedCryptoKey value)
public CryptoKey.Builder setUnwrapped(UnwrappedCryptoKey value)Unwrapped crypto key
.google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
UnwrappedCryptoKey |
| Returns | |
|---|---|
| Type | Description |
CryptoKey.Builder |
|
setUnwrapped(UnwrappedCryptoKey.Builder builderForValue)
public CryptoKey.Builder setUnwrapped(UnwrappedCryptoKey.Builder builderForValue)Unwrapped crypto key
.google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
UnwrappedCryptoKey.Builder |
| Returns | |
|---|---|
| Type | Description |
CryptoKey.Builder |
|