Class AzureConfigEncryption.Builder (0.47.0)

public static final class AzureConfigEncryption.Builder extends GeneratedMessageV3.Builder<AzureConfigEncryption.Builder> implements AzureConfigEncryptionOrBuilder

Configuration related to config data encryption.

Azure VM bootstrap secret is envelope encrypted with the provided key vault key.

Protobuf type google.cloud.gkemulticloud.v1.AzureConfigEncryption

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AzureConfigEncryption.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AzureConfigEncryption.Builder
Overrides

build()

public AzureConfigEncryption build()
Returns
Type Description
AzureConfigEncryption

buildPartial()

public AzureConfigEncryption buildPartial()
Returns
Type Description
AzureConfigEncryption

clear()

public AzureConfigEncryption.Builder clear()
Returns
Type Description
AzureConfigEncryption.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AzureConfigEncryption.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AzureConfigEncryption.Builder
Overrides

clearKeyId()

public AzureConfigEncryption.Builder clearKeyId()

Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config data.

For example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name>

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

Returns
Type Description
AzureConfigEncryption.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AzureConfigEncryption.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AzureConfigEncryption.Builder
Overrides

clearPublicKey()

public AzureConfigEncryption.Builder clearPublicKey()

Optional. RSA key of the Azure Key Vault public key to use for encrypting the data.

This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280) in ASN.1 DER form. The string must be comprised of a single PEM block of type "PUBLIC KEY".

string public_key = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureConfigEncryption.Builder

This builder for chaining.

clone()

public AzureConfigEncryption.Builder clone()
Returns
Type Description
AzureConfigEncryption.Builder
Overrides

getDefaultInstanceForType()

public AzureConfigEncryption getDefaultInstanceForType()
Returns
Type Description
AzureConfigEncryption

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getKeyId()

public String getKeyId()

Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config data.

For example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name>

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

Returns
Type Description
String

The keyId.

getKeyIdBytes()

public ByteString getKeyIdBytes()

Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config data.

For example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name>

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

Returns
Type Description
ByteString

The bytes for keyId.

getPublicKey()

public String getPublicKey()

Optional. RSA key of the Azure Key Vault public key to use for encrypting the data.

This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280) in ASN.1 DER form. The string must be comprised of a single PEM block of type "PUBLIC KEY".

string public_key = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The publicKey.

getPublicKeyBytes()

public ByteString getPublicKeyBytes()

Optional. RSA key of the Azure Key Vault public key to use for encrypting the data.

This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280) in ASN.1 DER form. The string must be comprised of a single PEM block of type "PUBLIC KEY".

string public_key = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for publicKey.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AzureConfigEncryption other)

public AzureConfigEncryption.Builder mergeFrom(AzureConfigEncryption other)
Parameter
Name Description
other AzureConfigEncryption
Returns
Type Description
AzureConfigEncryption.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AzureConfigEncryption.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureConfigEncryption.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AzureConfigEncryption.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AzureConfigEncryption.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AzureConfigEncryption.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AzureConfigEncryption.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AzureConfigEncryption.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AzureConfigEncryption.Builder
Overrides

setKeyId(String value)

public AzureConfigEncryption.Builder setKeyId(String value)

Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config data.

For example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name>

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

Parameter
Name Description
value String

The keyId to set.

Returns
Type Description
AzureConfigEncryption.Builder

This builder for chaining.

setKeyIdBytes(ByteString value)

public AzureConfigEncryption.Builder setKeyIdBytes(ByteString value)

Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config data.

For example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name>

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

Parameter
Name Description
value ByteString

The bytes for keyId to set.

Returns
Type Description
AzureConfigEncryption.Builder

This builder for chaining.

setPublicKey(String value)

public AzureConfigEncryption.Builder setPublicKey(String value)

Optional. RSA key of the Azure Key Vault public key to use for encrypting the data.

This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280) in ASN.1 DER form. The string must be comprised of a single PEM block of type "PUBLIC KEY".

string public_key = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The publicKey to set.

Returns
Type Description
AzureConfigEncryption.Builder

This builder for chaining.

setPublicKeyBytes(ByteString value)

public AzureConfigEncryption.Builder setPublicKeyBytes(ByteString value)

Optional. RSA key of the Azure Key Vault public key to use for encrypting the data.

This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280) in ASN.1 DER form. The string must be comprised of a single PEM block of type "PUBLIC KEY".

string public_key = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for publicKey to set.

Returns
Type Description
AzureConfigEncryption.Builder

This builder for chaining.

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

public AzureConfigEncryption.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AzureConfigEncryption.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AzureConfigEncryption.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AzureConfigEncryption.Builder
Overrides