public interface GetPublicKeyRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
PublicKey.PublicKeyFormat |
getPublicKeyFormat()
Optional.
|
int |
getPublicKeyFormatValue()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to get.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
com.google.protobuf.ByteString getNameBytes()
Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to get.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
int getPublicKeyFormatValue()
Optional. The [PublicKey][google.cloud.kms.v1.PublicKey] format specified by the user. This field is required for PQC algorithms. If specified, the public key will be exported through the [public_key][google.cloud.kms.v1.PublicKey.public_key] field in the requested format. Otherwise, the [pem][google.cloud.kms.v1.PublicKey.pem] field will be populated for non-PQC algorithms, and an error will be returned for PQC algorithms.
.google.cloud.kms.v1.PublicKey.PublicKeyFormat public_key_format = 2 [(.google.api.field_behavior) = OPTIONAL];
PublicKey.PublicKeyFormat getPublicKeyFormat()
Optional. The [PublicKey][google.cloud.kms.v1.PublicKey] format specified by the user. This field is required for PQC algorithms. If specified, the public key will be exported through the [public_key][google.cloud.kms.v1.PublicKey.public_key] field in the requested format. Otherwise, the [pem][google.cloud.kms.v1.PublicKey.pem] field will be populated for non-PQC algorithms, and an error will be returned for PQC algorithms.
.google.cloud.kms.v1.PublicKey.PublicKeyFormat public_key_format = 2 [(.google.api.field_behavior) = OPTIONAL];
Copyright © 2025 Google LLC. All rights reserved.