Interface PublicKeyOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PublicKey, PublicKey.Builder

@Generated public interface PublicKeyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    int
    Required.
    com.google.protobuf.ByteString
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getKey

      com.google.protobuf.ByteString getKey()
       Required. A public key. The padding and encoding
       must match with the `KeyFormat` value specified for the `format` field.
       
      bytes key = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The key.
    • getFormatValue

      int getFormatValue()
       Required. The format of the public key.
       
      .google.cloud.security.privateca.v1.PublicKey.KeyFormat format = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The enum numeric value on the wire for format.
    • getFormat

      PublicKey.KeyFormat getFormat()
       Required. The format of the public key.
       
      .google.cloud.security.privateca.v1.PublicKey.KeyFormat format = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The format.