Class AzureConfigEncryption (0.53.0)

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
Type Description
int

PUBLIC_KEY_FIELD_NUMBER

public static final int PUBLIC_KEY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AzureConfigEncryption getDefaultInstance()
Returns
Type Description
AzureConfigEncryption

getDescriptor()

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

newBuilder()

public static AzureConfigEncryption.Builder newBuilder()
Returns
Type Description
AzureConfigEncryption.Builder

newBuilder(AzureConfigEncryption prototype)

public static AzureConfigEncryption.Builder newBuilder(AzureConfigEncryption prototype)
Parameter
Name Description
prototype AzureConfigEncryption
Returns
Type Description
AzureConfigEncryption.Builder

parseDelimitedFrom(InputStream input)

public static AzureConfigEncryption parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AzureConfigEncryption
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureConfigEncryption parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureConfigEncryption
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AzureConfigEncryption parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AzureConfigEncryption
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AzureConfigEncryption parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureConfigEncryption
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AzureConfigEncryption parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AzureConfigEncryption
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AzureConfigEncryption parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureConfigEncryption
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AzureConfigEncryption parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AzureConfigEncryption
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureConfigEncryption parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureConfigEncryption
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AzureConfigEncryption parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AzureConfigEncryption
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureConfigEncryption parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureConfigEncryption
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AzureConfigEncryption parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AzureConfigEncryption
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AzureConfigEncryption parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureConfigEncryption
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AzureConfigEncryption> parser()
Returns
Type Description
Parser<AzureConfigEncryption>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AzureConfigEncryption getDefaultInstanceForType()
Returns
Type Description
AzureConfigEncryption

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.

getParserForType()

public Parser<AzureConfigEncryption> getParserForType()
Returns
Type Description
Parser<AzureConfigEncryption>
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
Type Description
ByteString

The bytes for publicKey.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AzureConfigEncryption.Builder newBuilderForType()
Returns
Type Description
AzureConfigEncryption.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AzureConfigEncryption.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AzureConfigEncryption.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AzureConfigEncryption.Builder toBuilder()
Returns
Type Description
AzureConfigEncryption.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException