Interface PublicKeyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PublicKey
,PublicKey.Builder
public interface PublicKeyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.ByteString
getKey()
Required.PublicKey.KeyType
getType()
Required.int
getTypeValue()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTypeValue
int getTypeValue()
Required. The type of public key.
.google.cloud.security.privateca.v1beta1.PublicKey.KeyType type = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The enum numeric value on the wire for type.
-
getType
PublicKey.KeyType getType()
Required. The type of public key.
.google.cloud.security.privateca.v1beta1.PublicKey.KeyType type = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The type.
-
getKey
com.google.protobuf.ByteString getKey()
Required. A public key. Padding and encoding varies by 'KeyType' and is described along with the KeyType values.
bytes key = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The key.
-
-