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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AzureConfigEncryption.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AzureConfigEncryption build()
Returns
buildPartial()
public AzureConfigEncryption buildPartial()
Returns
clear()
public AzureConfigEncryption.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public AzureConfigEncryption.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public AzureConfigEncryption.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public AzureConfigEncryption.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AzureConfigEncryption getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AzureConfigEncryption other)
public AzureConfigEncryption.Builder mergeFrom(AzureConfigEncryption other)
Parameter
Returns
public AzureConfigEncryption.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AzureConfigEncryption.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AzureConfigEncryption.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AzureConfigEncryption.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AzureConfigEncryption.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AzureConfigEncryption.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides