Class AzureDatabaseEncryption.Builder (0.11.0)

public static final class AzureDatabaseEncryption.Builder extends GeneratedMessageV3.Builder<AzureDatabaseEncryption.Builder> implements AzureDatabaseEncryptionOrBuilder

Configuration related to application-layer secrets encryption. Anthos clusters on Azure encrypts your Kubernetes data at rest in etcd using Azure Key Vault.

Protobuf type google.cloud.gkemulticloud.v1.AzureDatabaseEncryption

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AzureDatabaseEncryption.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AzureDatabaseEncryption.Builder
Overrides

build()

public AzureDatabaseEncryption build()
Returns
TypeDescription
AzureDatabaseEncryption

buildPartial()

public AzureDatabaseEncryption buildPartial()
Returns
TypeDescription
AzureDatabaseEncryption

clear()

public AzureDatabaseEncryption.Builder clear()
Returns
TypeDescription
AzureDatabaseEncryption.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AzureDatabaseEncryption.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AzureDatabaseEncryption.Builder
Overrides

clearKeyId()

public AzureDatabaseEncryption.Builder clearKeyId()

Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data. For example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name> Encryption will always take the latest version of the key and hence specific version is not supported.

string key_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AzureDatabaseEncryption.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AzureDatabaseEncryption.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AzureDatabaseEncryption.Builder
Overrides

clone()

public AzureDatabaseEncryption.Builder clone()
Returns
TypeDescription
AzureDatabaseEncryption.Builder
Overrides

getDefaultInstanceForType()

public AzureDatabaseEncryption getDefaultInstanceForType()
Returns
TypeDescription
AzureDatabaseEncryption

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getKeyId()

public String getKeyId()

Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data. For example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name> Encryption will always take the latest version of the key and hence specific version is not supported.

string key_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The keyId.

getKeyIdBytes()

public ByteString getKeyIdBytes()

Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data. For example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name> Encryption will always take the latest version of the key and hence specific version is not supported.

string key_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for keyId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AzureDatabaseEncryption other)

public AzureDatabaseEncryption.Builder mergeFrom(AzureDatabaseEncryption other)
Parameter
NameDescription
otherAzureDatabaseEncryption
Returns
TypeDescription
AzureDatabaseEncryption.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AzureDatabaseEncryption.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AzureDatabaseEncryption.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AzureDatabaseEncryption.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AzureDatabaseEncryption.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AzureDatabaseEncryption.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AzureDatabaseEncryption.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AzureDatabaseEncryption.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AzureDatabaseEncryption.Builder
Overrides

setKeyId(String value)

public AzureDatabaseEncryption.Builder setKeyId(String value)

Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data. For example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name> Encryption will always take the latest version of the key and hence specific version is not supported.

string key_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The keyId to set.

Returns
TypeDescription
AzureDatabaseEncryption.Builder

This builder for chaining.

setKeyIdBytes(ByteString value)

public AzureDatabaseEncryption.Builder setKeyIdBytes(ByteString value)

Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data. For example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name> Encryption will always take the latest version of the key and hence specific version is not supported.

string key_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for keyId to set.

Returns
TypeDescription
AzureDatabaseEncryption.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AzureDatabaseEncryption.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AzureDatabaseEncryption.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AzureDatabaseEncryption.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AzureDatabaseEncryption.Builder
Overrides