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 TypeMethodDescriptionRequired.intRequired.com.google.protobuf.ByteStringgetKey()Required.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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.
-