code: public final PublicKey getPublicKey(String name) {
  
      GetPublicKeyRequest request = GetPublicKeyRequest.newBuilder().setName(name).build();
      return getPublicKey(request);
    }
docs: Returns the public key for the given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
  The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be
  [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN] or
  [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT].
  
  <p>Sample code:
  
  <pre><code>
  try (KeyManagementServiceClient keyManagementServiceClient = KeyManagementServiceClient.create()) {
  CryptoKeyVersionName name = CryptoKeyVersionName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]", "[CRYPTO_KEY_VERSION]");
  PublicKey response = keyManagementServiceClient.getPublicKey(name.toString());
  }
  </code></pre>
  
  @param name The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
  [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to get.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails