public final class CryptoKeyConfig extends GeneratedMessageV3 implements CryptoKeyConfigOrBuilder
The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature.
Protobuf type google.cloud.datafusion.v1beta1.CryptoKeyConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CryptoKeyConfigImplements
CryptoKeyConfigOrBuilderStatic Fields
KEY_REFERENCE_FIELD_NUMBER
public static final int KEY_REFERENCE_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static CryptoKeyConfig getDefaultInstance()
Type | Description |
CryptoKeyConfig |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static CryptoKeyConfig.Builder newBuilder()
Type | Description |
CryptoKeyConfig.Builder |
newBuilder(CryptoKeyConfig prototype)
public static CryptoKeyConfig.Builder newBuilder(CryptoKeyConfig prototype)
Name | Description |
prototype | CryptoKeyConfig |
Type | Description |
CryptoKeyConfig.Builder |
parseDelimitedFrom(InputStream input)
public static CryptoKeyConfig parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
CryptoKeyConfig |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CryptoKeyConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CryptoKeyConfig |
Type | Description |
IOException |
parseFrom(byte[] data)
public static CryptoKeyConfig parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
CryptoKeyConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CryptoKeyConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CryptoKeyConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CryptoKeyConfig parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
CryptoKeyConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CryptoKeyConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CryptoKeyConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CryptoKeyConfig parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
CryptoKeyConfig |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CryptoKeyConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CryptoKeyConfig |
Type | Description |
IOException |
parseFrom(InputStream input)
public static CryptoKeyConfig parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
CryptoKeyConfig |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CryptoKeyConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CryptoKeyConfig |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CryptoKeyConfig parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
CryptoKeyConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CryptoKeyConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CryptoKeyConfig |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CryptoKeyConfig> parser()
Type | Description |
Parser<CryptoKeyConfig> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public CryptoKeyConfig getDefaultInstanceForType()
Type | Description |
CryptoKeyConfig |
getKeyReference()
public String getKeyReference()
The name of the key which is used to encrypt/decrypt customer data. For key
in Cloud KMS, the key should be in the format of
projects/*/locations/*/keyRings/*/cryptoKeys/*
.
string key_reference = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The keyReference. |
getKeyReferenceBytes()
public ByteString getKeyReferenceBytes()
The name of the key which is used to encrypt/decrypt customer data. For key
in Cloud KMS, the key should be in the format of
projects/*/locations/*/keyRings/*/cryptoKeys/*
.
string key_reference = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for keyReference. |
getParserForType()
public Parser<CryptoKeyConfig> getParserForType()
Type | Description |
Parser<CryptoKeyConfig> |
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 |
newBuilderForType()
public CryptoKeyConfig.Builder newBuilderForType()
Type | Description |
CryptoKeyConfig.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CryptoKeyConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
CryptoKeyConfig.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public CryptoKeyConfig.Builder toBuilder()
Type | Description |
CryptoKeyConfig.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |