- 6.108.0 (latest)
- 6.107.0
- 6.103.0
- 6.102.1
- 6.101.1
- 6.100.0
- 6.99.0
- 6.98.1
- 6.97.1
- 6.96.1
- 6.95.1
- 6.94.0
- 6.93.0
- 6.89.0
- 6.88.0
- 6.87.0
- 6.86.0
- 6.85.0
- 6.83.0
- 6.82.0
- 6.80.1
- 6.79.0
- 6.77.0
- 6.74.1
- 6.72.0
- 6.71.0
- 6.69.0
- 6.68.0
- 6.66.0
- 6.65.1
- 6.62.0
- 6.60.0
- 6.58.0
- 6.57.0
- 6.56.0
- 6.55.0
- 6.54.0
- 6.53.0
- 6.52.1
- 6.51.0
- 6.50.1
- 6.49.0
- 6.25.1
- 6.24.0
- 6.23.4
- 6.22.0
- 6.21.2
- 6.20.0
- 6.19.1
- 6.18.0
- 6.17.4
- 6.14.1
public static final class EncryptionInfo.Builder extends GeneratedMessage.Builder<EncryptionInfo.Builder> implements EncryptionInfoOrBuilderEncryption information for a Cloud Spanner database or backup.
Protobuf type google.spanner.admin.database.v1.EncryptionInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > EncryptionInfo.BuilderImplements
EncryptionInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public EncryptionInfo build()| Returns | |
|---|---|
| Type | Description |
EncryptionInfo |
|
buildPartial()
public EncryptionInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
EncryptionInfo |
|
clear()
public EncryptionInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
EncryptionInfo.Builder |
|
clearEncryptionStatus()
public EncryptionInfo.Builder clearEncryptionStatus()Output only. If present, the status of a recent encrypt/decrypt call on underlying data for this database or backup. Regardless of status, data is always encrypted at rest.
.google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EncryptionInfo.Builder |
|
clearEncryptionType()
public EncryptionInfo.Builder clearEncryptionType()Output only. The type of encryption.
.google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EncryptionInfo.Builder |
This builder for chaining. |
clearKmsKeyVersion()
public EncryptionInfo.Builder clearKmsKeyVersion()Output only. A Cloud KMS key version that is being used to protect the database or backup.
string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
EncryptionInfo.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public EncryptionInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
EncryptionInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEncryptionStatus()
public Status getEncryptionStatus()Output only. If present, the status of a recent encrypt/decrypt call on underlying data for this database or backup. Regardless of status, data is always encrypted at rest.
.google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.Status |
The encryptionStatus. |
getEncryptionStatusBuilder()
public Status.Builder getEncryptionStatusBuilder()Output only. If present, the status of a recent encrypt/decrypt call on underlying data for this database or backup. Regardless of status, data is always encrypted at rest.
.google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.Status.Builder |
|
getEncryptionStatusOrBuilder()
public StatusOrBuilder getEncryptionStatusOrBuilder()Output only. If present, the status of a recent encrypt/decrypt call on underlying data for this database or backup. Regardless of status, data is always encrypted at rest.
.google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.StatusOrBuilder |
|
getEncryptionType()
public EncryptionInfo.Type getEncryptionType()Output only. The type of encryption.
.google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EncryptionInfo.Type |
The encryptionType. |
getEncryptionTypeValue()
public int getEncryptionTypeValue()Output only. The type of encryption.
.google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for encryptionType. |
getKmsKeyVersion()
public String getKmsKeyVersion()Output only. A Cloud KMS key version that is being used to protect the database or backup.
string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The kmsKeyVersion. |
getKmsKeyVersionBytes()
public ByteString getKmsKeyVersionBytes()Output only. A Cloud KMS key version that is being used to protect the database or backup.
string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kmsKeyVersion. |
hasEncryptionStatus()
public boolean hasEncryptionStatus()Output only. If present, the status of a recent encrypt/decrypt call on underlying data for this database or backup. Regardless of status, data is always encrypted at rest.
.google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the encryptionStatus field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEncryptionStatus(Status value)
public EncryptionInfo.Builder mergeEncryptionStatus(Status value)Output only. If present, the status of a recent encrypt/decrypt call on underlying data for this database or backup. Regardless of status, data is always encrypted at rest.
.google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.rpc.Status |
| Returns | |
|---|---|
| Type | Description |
EncryptionInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EncryptionInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
EncryptionInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public EncryptionInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
EncryptionInfo.Builder |
|
mergeFrom(EncryptionInfo other)
public EncryptionInfo.Builder mergeFrom(EncryptionInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
EncryptionInfo |
| Returns | |
|---|---|
| Type | Description |
EncryptionInfo.Builder |
|
setEncryptionStatus(Status value)
public EncryptionInfo.Builder setEncryptionStatus(Status value)Output only. If present, the status of a recent encrypt/decrypt call on underlying data for this database or backup. Regardless of status, data is always encrypted at rest.
.google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.rpc.Status |
| Returns | |
|---|---|
| Type | Description |
EncryptionInfo.Builder |
|
setEncryptionStatus(Status.Builder builderForValue)
public EncryptionInfo.Builder setEncryptionStatus(Status.Builder builderForValue)Output only. If present, the status of a recent encrypt/decrypt call on underlying data for this database or backup. Regardless of status, data is always encrypted at rest.
.google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.rpc.Status.Builder |
| Returns | |
|---|---|
| Type | Description |
EncryptionInfo.Builder |
|
setEncryptionType(EncryptionInfo.Type value)
public EncryptionInfo.Builder setEncryptionType(EncryptionInfo.Type value)Output only. The type of encryption.
.google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
EncryptionInfo.TypeThe encryptionType to set. |
| Returns | |
|---|---|
| Type | Description |
EncryptionInfo.Builder |
This builder for chaining. |
setEncryptionTypeValue(int value)
public EncryptionInfo.Builder setEncryptionTypeValue(int value)Output only. The type of encryption.
.google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for encryptionType to set. |
| Returns | |
|---|---|
| Type | Description |
EncryptionInfo.Builder |
This builder for chaining. |
setKmsKeyVersion(String value)
public EncryptionInfo.Builder setKmsKeyVersion(String value)Output only. A Cloud KMS key version that is being used to protect the database or backup.
string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe kmsKeyVersion to set. |
| Returns | |
|---|---|
| Type | Description |
EncryptionInfo.Builder |
This builder for chaining. |
setKmsKeyVersionBytes(ByteString value)
public EncryptionInfo.Builder setKmsKeyVersionBytes(ByteString value)Output only. A Cloud KMS key version that is being used to protect the database or backup.
string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for kmsKeyVersion to set. |
| Returns | |
|---|---|
| Type | Description |
EncryptionInfo.Builder |
This builder for chaining. |