publicfinalclass CustomerEncryptionKeyextendsGeneratedMessageV3implementsCustomerEncryptionKeyOrBuilder
A customer-supplied encryption key.
Protobuf type google.cloud.backupdr.v1.CustomerEncryptionKey
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
KMS_KEY_NAME_FIELD_NUMBER
publicstaticfinalintKMS_KEY_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
KMS_KEY_SERVICE_ACCOUNT_FIELD_NUMBER
publicstaticfinalintKMS_KEY_SERVICE_ACCOUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
RAW_KEY_FIELD_NUMBER
publicstaticfinalintRAW_KEY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
RSA_ENCRYPTED_KEY_FIELD_NUMBER
publicstaticfinalintRSA_ENCRYPTED_KEY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticCustomerEncryptionKeygetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticCustomerEncryptionKey.BuildernewBuilder()
newBuilder(CustomerEncryptionKey prototype)
publicstaticCustomerEncryptionKey.BuildernewBuilder(CustomerEncryptionKeyprototype)
publicstaticCustomerEncryptionKeyparseDelimitedFrom(InputStreaminput)
publicstaticCustomerEncryptionKeyparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticCustomerEncryptionKeyparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticCustomerEncryptionKeyparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticCustomerEncryptionKeyparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticCustomerEncryptionKeyparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticCustomerEncryptionKeyparseFrom(CodedInputStreaminput)
publicstaticCustomerEncryptionKeyparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticCustomerEncryptionKeyparseFrom(InputStreaminput)
publicstaticCustomerEncryptionKeyparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticCustomerEncryptionKeyparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticCustomerEncryptionKeyparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<CustomerEncryptionKey>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
publicCustomerEncryptionKeygetDefaultInstanceForType()
getKeyCase()
publicCustomerEncryptionKey.KeyCasegetKeyCase()
getKmsKeyName()
publicStringgetKmsKeyName()
Optional. The name of the encryption key that is stored in Google Cloud
KMS.
string kms_key_name = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The kmsKeyName.
|
getKmsKeyNameBytes()
publicByteStringgetKmsKeyNameBytes()
Optional. The name of the encryption key that is stored in Google Cloud
KMS.
string kms_key_name = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for kmsKeyName.
|
getKmsKeyServiceAccount()
publicStringgetKmsKeyServiceAccount()
Optional. The service account being used for the encryption request for the
given KMS key. If absent, the Compute Engine default service account is
used.
optional string kms_key_service_account = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The kmsKeyServiceAccount.
|
getKmsKeyServiceAccountBytes()
publicByteStringgetKmsKeyServiceAccountBytes()
Optional. The service account being used for the encryption request for the
given KMS key. If absent, the Compute Engine default service account is
used.
optional string kms_key_service_account = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for kmsKeyServiceAccount.
|
getParserForType()
publicParser<CustomerEncryptionKey>getParserForType()
Overrides
getRawKey()
Optional. Specifies a 256-bit customer-supplied
encryption key.
string raw_key = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The rawKey.
|
getRawKeyBytes()
publicByteStringgetRawKeyBytes()
Optional. Specifies a 256-bit customer-supplied
encryption key.
string raw_key = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for rawKey.
|
getRsaEncryptedKey()
publicStringgetRsaEncryptedKey()
Optional. RSA-wrapped 2048-bit
customer-supplied encryption key to either encrypt or decrypt this
resource.
string rsa_encrypted_key = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The rsaEncryptedKey.
|
getRsaEncryptedKeyBytes()
publicByteStringgetRsaEncryptedKeyBytes()
Optional. RSA-wrapped 2048-bit
customer-supplied encryption key to either encrypt or decrypt this
resource.
string rsa_encrypted_key = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for rsaEncryptedKey.
|
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
hasKmsKeyName()
publicbooleanhasKmsKeyName()
Optional. The name of the encryption key that is stored in Google Cloud
KMS.
string kms_key_name = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the kmsKeyName field is set.
|
hasKmsKeyServiceAccount()
publicbooleanhasKmsKeyServiceAccount()
Optional. The service account being used for the encryption request for the
given KMS key. If absent, the Compute Engine default service account is
used.
optional string kms_key_service_account = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the kmsKeyServiceAccount field is set.
|
hasRawKey()
Optional. Specifies a 256-bit customer-supplied
encryption key.
string raw_key = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the rawKey field is set.
|
hasRsaEncryptedKey()
publicbooleanhasRsaEncryptedKey()
Optional. RSA-wrapped 2048-bit
customer-supplied encryption key to either encrypt or decrypt this
resource.
string rsa_encrypted_key = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the rsaEncryptedKey field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicCustomerEncryptionKey.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedCustomerEncryptionKey.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicCustomerEncryptionKey.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides