public final class EncryptionConfig extends GeneratedMessageV3 implements EncryptionConfigOrBuilder
Encryption configuration for a Cloud Spanner database.
Protobuf type google.spanner.admin.database.v1.EncryptionConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > EncryptionConfigImplements
EncryptionConfigOrBuilderFields
KMS_KEY_NAME_FIELD_NUMBER
public static final int KMS_KEY_NAME_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstance()
public static EncryptionConfig getDefaultInstance()
Type | Description |
EncryptionConfig |
getDefaultInstanceForType()
public EncryptionConfig getDefaultInstanceForType()
Type | Description |
EncryptionConfig |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getKmsKeyName()
public String getKmsKeyName()
The Cloud KMS key to be used for encrypting and decrypting
the database. Values are of the form
projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>
.
string kms_key_name = 2 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The kmsKeyName. |
getKmsKeyNameBytes()
public ByteString getKmsKeyNameBytes()
The Cloud KMS key to be used for encrypting and decrypting
the database. Values are of the form
projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>
.
string kms_key_name = 2 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for kmsKeyName. |
getParserForType()
public Parser<EncryptionConfig> getParserForType()
Type | Description |
Parser<EncryptionConfig> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilder()
public static EncryptionConfig.Builder newBuilder()
Type | Description |
EncryptionConfig.Builder |
newBuilder(EncryptionConfig prototype)
public static EncryptionConfig.Builder newBuilder(EncryptionConfig prototype)
Name | Description |
prototype | EncryptionConfig |
Type | Description |
EncryptionConfig.Builder |
newBuilderForType()
public EncryptionConfig.Builder newBuilderForType()
Type | Description |
EncryptionConfig.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EncryptionConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
EncryptionConfig.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static EncryptionConfig parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
EncryptionConfig |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static EncryptionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
EncryptionConfig |
Type | Description |
IOException |
parseFrom(byte[] data)
public static EncryptionConfig parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
EncryptionConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EncryptionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
EncryptionConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static EncryptionConfig parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
EncryptionConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EncryptionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
EncryptionConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static EncryptionConfig parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
EncryptionConfig |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static EncryptionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
EncryptionConfig |
Type | Description |
IOException |
parseFrom(InputStream input)
public static EncryptionConfig parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
EncryptionConfig |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static EncryptionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
EncryptionConfig |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static EncryptionConfig parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
EncryptionConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EncryptionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
EncryptionConfig |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<EncryptionConfig> parser()
Type | Description |
Parser<EncryptionConfig> |
toBuilder()
public EncryptionConfig.Builder toBuilder()
Type | Description |
EncryptionConfig.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |