Interface SSHKeyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SSHKey,SSHKey.Builder
public interface SSHKeyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.StringgetPublicKey()The public SSH key.com.google.protobuf.ByteStringgetPublicKeyBytes()The public SSH key.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Output only. The name of this SSH key. Currently, the only valid value for the location is "global".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. The name of this SSH key. Currently, the only valid value for the location is "global".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for name.
-
getPublicKey
String getPublicKey()
The public SSH key. This must be in OpenSSH .authorized_keys format.
string public_key = 2;- Returns:
- The publicKey.
-
getPublicKeyBytes
com.google.protobuf.ByteString getPublicKeyBytes()
The public SSH key. This must be in OpenSSH .authorized_keys format.
string public_key = 2;- Returns:
- The bytes for publicKey.
-
-