public final class AzureConfigEncryption extends GeneratedMessageV3 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 Fields
KEY_ID_FIELD_NUMBER
public static final int KEY_ID_FIELD_NUMBER
Field Value
PUBLIC_KEY_FIELD_NUMBER
public static final int PUBLIC_KEY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AzureConfigEncryption getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AzureConfigEncryption.Builder newBuilder()
Returns
newBuilder(AzureConfigEncryption prototype)
public static AzureConfigEncryption.Builder newBuilder(AzureConfigEncryption prototype)
Parameter
Returns
public static AzureConfigEncryption parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AzureConfigEncryption parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AzureConfigEncryption parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AzureConfigEncryption parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AzureConfigEncryption parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AzureConfigEncryption parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AzureConfigEncryption parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AzureConfigEncryption parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AzureConfigEncryption parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AzureConfigEncryption parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AzureConfigEncryption parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AzureConfigEncryption parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AzureConfigEncryption> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public AzureConfigEncryption getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<AzureConfigEncryption> getParserForType()
Returns
Overrides
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AzureConfigEncryption.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AzureConfigEncryption.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AzureConfigEncryption.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions