Class AzureConfigEncryption (0.20.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
TypeDescription
int

PUBLIC_KEY_FIELD_NUMBER

public static final int PUBLIC_KEY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AzureConfigEncryption getDefaultInstance()
Returns
TypeDescription
AzureConfigEncryption

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AzureConfigEncryption.Builder newBuilder()
Returns
TypeDescription
AzureConfigEncryption.Builder

newBuilder(AzureConfigEncryption prototype)

public static AzureConfigEncryption.Builder newBuilder(AzureConfigEncryption prototype)
Parameter
NameDescription
prototypeAzureConfigEncryption
Returns
TypeDescription
AzureConfigEncryption.Builder

parseDelimitedFrom(InputStream input)

public static AzureConfigEncryption parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AzureConfigEncryption
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureConfigEncryption parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AzureConfigEncryption
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AzureConfigEncryption parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AzureConfigEncryption
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AzureConfigEncryption parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AzureConfigEncryption
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AzureConfigEncryption parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AzureConfigEncryption
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AzureConfigEncryption parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AzureConfigEncryption
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AzureConfigEncryption parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AzureConfigEncryption
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureConfigEncryption parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AzureConfigEncryption
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AzureConfigEncryption parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AzureConfigEncryption
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureConfigEncryption parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AzureConfigEncryption
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AzureConfigEncryption parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AzureConfigEncryption
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AzureConfigEncryption parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AzureConfigEncryption
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AzureConfigEncryption> parser()
Returns
TypeDescription
Parser<AzureConfigEncryption>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AzureConfigEncryption getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for keyId.

getParserForType()

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

The bytes for publicKey.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AzureConfigEncryption.Builder newBuilderForType()
Returns
TypeDescription
AzureConfigEncryption.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AzureConfigEncryption.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AzureConfigEncryption.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AzureConfigEncryption.Builder toBuilder()
Returns
TypeDescription
AzureConfigEncryption.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException