Interface Compute.GetSSHConfigResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Compute.GetSSHConfigResponse, Compute.GetSSHConfigResponse.Builder
Enclosing class:
Compute

public static interface Compute.GetSSHConfigResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    This SSH endpoint can be used to establish an SSH session with the instance.
    com.google.protobuf.ByteString
    This SSH endpoint can be used to establish an SSH session with the instance.
    com.google.protobuf.ByteString
    getSshHostKeys(int index)
    The SSH server public host keys, encoded in the OpenSSH public key format.
    int
    The SSH server public host keys, encoded in the OpenSSH public key format.
    List<com.google.protobuf.ByteString>
    The SSH server public host keys, encoded in the OpenSSH public key format.
    com.google.protobuf.ByteString
    If set, this private key can be used to establish an SSH session to the instance.
    Which username to use when establishing an SSH session.
    com.google.protobuf.ByteString
    Which username to use when establishing an SSH session.

    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

    • getSshPrivateKey

      com.google.protobuf.ByteString getSshPrivateKey()
       If set, this private key can be used to establish an SSH session to the instance.
       Any private key returned here has limited access rights, restricted to a single instance.
       
      bytes ssh_private_key = 1;
      Returns:
      The sshPrivateKey.
    • getUsername

      String getUsername()
       Which username to use when establishing an SSH session.
       E.g. You can start a session from a terminal using `ssh <username>@<endpoint>`.
       
      string username = 2;
      Returns:
      The username.
    • getUsernameBytes

      com.google.protobuf.ByteString getUsernameBytes()
       Which username to use when establishing an SSH session.
       E.g. You can start a session from a terminal using `ssh <username>@<endpoint>`.
       
      string username = 2;
      Returns:
      The bytes for username.
    • getEndpoint

      String getEndpoint()
       This SSH endpoint can be used to establish an SSH session with the instance.
       Make sure to also configure the corresponding username.
       
      string endpoint = 3;
      Returns:
      The endpoint.
    • getEndpointBytes

      com.google.protobuf.ByteString getEndpointBytes()
       This SSH endpoint can be used to establish an SSH session with the instance.
       Make sure to also configure the corresponding username.
       
      string endpoint = 3;
      Returns:
      The bytes for endpoint.
    • getSshHostKeysList

      List<com.google.protobuf.ByteString> getSshHostKeysList()
       The SSH server public host keys, encoded in the OpenSSH public key format.
       Clients can use these keys to verify the server at endpoint.
       
      repeated bytes ssh_host_keys = 4;
      Returns:
      A list containing the sshHostKeys.
    • getSshHostKeysCount

      int getSshHostKeysCount()
       The SSH server public host keys, encoded in the OpenSSH public key format.
       Clients can use these keys to verify the server at endpoint.
       
      repeated bytes ssh_host_keys = 4;
      Returns:
      The count of sshHostKeys.
    • getSshHostKeys

      com.google.protobuf.ByteString getSshHostKeys(int index)
       The SSH server public host keys, encoded in the OpenSSH public key format.
       Clients can use these keys to verify the server at endpoint.
       
      repeated bytes ssh_host_keys = 4;
      Parameters:
      index - The index of the element to return.
      Returns:
      The sshHostKeys at the given index.