Interface CreateSSHKeyRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateSSHKeyRequest,CreateSSHKeyRequest.Builder
public interface CreateSSHKeyRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetParent()Required.com.google.protobuf.ByteStringgetParentBytes()Required.SSHKeygetSshKey()Required.StringgetSshKeyId()Required.com.google.protobuf.ByteStringgetSshKeyIdBytes()Required.SSHKeyOrBuildergetSshKeyOrBuilder()Required.booleanhasSshKey()Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
String getParent()
Required. The parent containing the SSH keys.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. The parent containing the SSH keys.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
hasSshKey
boolean hasSshKey()
Required. The SSH key to register.
.google.cloud.baremetalsolution.v2.SSHKey ssh_key = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the sshKey field is set.
-
getSshKey
SSHKey getSshKey()
Required. The SSH key to register.
.google.cloud.baremetalsolution.v2.SSHKey ssh_key = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The sshKey.
-
getSshKeyOrBuilder
SSHKeyOrBuilder getSshKeyOrBuilder()
Required. The SSH key to register.
.google.cloud.baremetalsolution.v2.SSHKey ssh_key = 2 [(.google.api.field_behavior) = REQUIRED];
-
getSshKeyId
String getSshKeyId()
Required. The ID to use for the key, which will become the final component of the key's resource name. This value must match the regex: [a-zA-Z0-9@.\-_]{1,64}string ssh_key_id = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The sshKeyId.
-
getSshKeyIdBytes
com.google.protobuf.ByteString getSshKeyIdBytes()
Required. The ID to use for the key, which will become the final component of the key's resource name. This value must match the regex: [a-zA-Z0-9@.\-_]{1,64}string ssh_key_id = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for sshKeyId.
-
-