Class ListSSHKeysResponse (0.36.0)

public final class ListSSHKeysResponse extends GeneratedMessageV3 implements ListSSHKeysResponseOrBuilder

Message for response of ListSSHKeys.

Protobuf type google.cloud.baremetalsolution.v2.ListSSHKeysResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

SSH_KEYS_FIELD_NUMBER

public static final int SSH_KEYS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListSSHKeysResponse getDefaultInstance()
Returns
TypeDescription
ListSSHKeysResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListSSHKeysResponse.Builder newBuilder()
Returns
TypeDescription
ListSSHKeysResponse.Builder

newBuilder(ListSSHKeysResponse prototype)

public static ListSSHKeysResponse.Builder newBuilder(ListSSHKeysResponse prototype)
Parameter
NameDescription
prototypeListSSHKeysResponse
Returns
TypeDescription
ListSSHKeysResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListSSHKeysResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListSSHKeysResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSSHKeysResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSSHKeysResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListSSHKeysResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListSSHKeysResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListSSHKeysResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSSHKeysResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListSSHKeysResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListSSHKeysResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListSSHKeysResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSSHKeysResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListSSHKeysResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListSSHKeysResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSSHKeysResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSSHKeysResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListSSHKeysResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListSSHKeysResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSSHKeysResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSSHKeysResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListSSHKeysResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListSSHKeysResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListSSHKeysResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSSHKeysResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListSSHKeysResponse> parser()
Returns
TypeDescription
Parser<ListSSHKeysResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListSSHKeysResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSSHKeysResponse

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 90;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 90;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListSSHKeysResponse> getParserForType()
Returns
TypeDescription
Parser<ListSSHKeysResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSshKeys(int index)

public SSHKey getSshKeys(int index)

The SSH keys registered in the project.

repeated .google.cloud.baremetalsolution.v2.SSHKey ssh_keys = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SSHKey

getSshKeysCount()

public int getSshKeysCount()

The SSH keys registered in the project.

repeated .google.cloud.baremetalsolution.v2.SSHKey ssh_keys = 1;

Returns
TypeDescription
int

getSshKeysList()

public List<SSHKey> getSshKeysList()

The SSH keys registered in the project.

repeated .google.cloud.baremetalsolution.v2.SSHKey ssh_keys = 1;

Returns
TypeDescription
List<SSHKey>

getSshKeysOrBuilder(int index)

public SSHKeyOrBuilder getSshKeysOrBuilder(int index)

The SSH keys registered in the project.

repeated .google.cloud.baremetalsolution.v2.SSHKey ssh_keys = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SSHKeyOrBuilder

getSshKeysOrBuilderList()

public List<? extends SSHKeyOrBuilder> getSshKeysOrBuilderList()

The SSH keys registered in the project.

repeated .google.cloud.baremetalsolution.v2.SSHKey ssh_keys = 1;

Returns
TypeDescription
List<? extends com.google.cloud.baremetalsolution.v2.SSHKeyOrBuilder>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListSSHKeysResponse.Builder newBuilderForType()
Returns
TypeDescription
ListSSHKeysResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListSSHKeysResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListSSHKeysResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListSSHKeysResponse.Builder toBuilder()
Returns
TypeDescription
ListSSHKeysResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException