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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AzureConfigEncryption.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AzureConfigEncryption build()
buildPartial()
public AzureConfigEncryption buildPartial()
clear()
public AzureConfigEncryption.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AzureConfigEncryption.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public AzureConfigEncryption.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public AzureConfigEncryption.Builder clone()
Overrides
getDefaultInstanceForType()
public AzureConfigEncryption getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AzureConfigEncryption other)
public AzureConfigEncryption.Builder mergeFrom(AzureConfigEncryption other)
public AzureConfigEncryption.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AzureConfigEncryption.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AzureConfigEncryption.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AzureConfigEncryption.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AzureConfigEncryption.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AzureConfigEncryption.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides