Class ListSSHKeysResponse.Builder (0.45.0)

public static final class ListSSHKeysResponse.Builder extends GeneratedMessageV3.Builder<ListSSHKeysResponse.Builder> implements ListSSHKeysResponseOrBuilder

Message for response of ListSSHKeys.

Protobuf type google.cloud.baremetalsolution.v2.ListSSHKeysResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllSshKeys(Iterable<? extends SSHKey> values)

public ListSSHKeysResponse.Builder addAllSshKeys(Iterable<? extends SSHKey> values)

The SSH keys registered in the project.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.baremetalsolution.v2.SSHKey>
Returns
Type Description
ListSSHKeysResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListSSHKeysResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListSSHKeysResponse.Builder
Overrides

addSshKeys(SSHKey value)

public ListSSHKeysResponse.Builder addSshKeys(SSHKey value)

The SSH keys registered in the project.

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

Parameter
Name Description
value SSHKey
Returns
Type Description
ListSSHKeysResponse.Builder

addSshKeys(SSHKey.Builder builderForValue)

public ListSSHKeysResponse.Builder addSshKeys(SSHKey.Builder builderForValue)

The SSH keys registered in the project.

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

Parameter
Name Description
builderForValue SSHKey.Builder
Returns
Type Description
ListSSHKeysResponse.Builder

addSshKeys(int index, SSHKey value)

public ListSSHKeysResponse.Builder addSshKeys(int index, SSHKey value)

The SSH keys registered in the project.

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

Parameters
Name Description
index int
value SSHKey
Returns
Type Description
ListSSHKeysResponse.Builder

addSshKeys(int index, SSHKey.Builder builderForValue)

public ListSSHKeysResponse.Builder addSshKeys(int index, SSHKey.Builder builderForValue)

The SSH keys registered in the project.

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

Parameters
Name Description
index int
builderForValue SSHKey.Builder
Returns
Type Description
ListSSHKeysResponse.Builder

addSshKeysBuilder()

public SSHKey.Builder addSshKeysBuilder()

The SSH keys registered in the project.

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

Returns
Type Description
SSHKey.Builder

addSshKeysBuilder(int index)

public SSHKey.Builder addSshKeysBuilder(int index)

The SSH keys registered in the project.

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

Parameter
Name Description
index int
Returns
Type Description
SSHKey.Builder

build()

public ListSSHKeysResponse build()
Returns
Type Description
ListSSHKeysResponse

buildPartial()

public ListSSHKeysResponse buildPartial()
Returns
Type Description
ListSSHKeysResponse

clear()

public ListSSHKeysResponse.Builder clear()
Returns
Type Description
ListSSHKeysResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListSSHKeysResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListSSHKeysResponse.Builder
Overrides

clearNextPageToken()

public ListSSHKeysResponse.Builder clearNextPageToken()

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
Type Description
ListSSHKeysResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListSSHKeysResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListSSHKeysResponse.Builder
Overrides

clearSshKeys()

public ListSSHKeysResponse.Builder clearSshKeys()

The SSH keys registered in the project.

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

Returns
Type Description
ListSSHKeysResponse.Builder

clone()

public ListSSHKeysResponse.Builder clone()
Returns
Type Description
ListSSHKeysResponse.Builder
Overrides

getDefaultInstanceForType()

public ListSSHKeysResponse getDefaultInstanceForType()
Returns
Type Description
ListSSHKeysResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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
Type Description
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
Type Description
ByteString

The bytes for nextPageToken.

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
Name Description
index int
Returns
Type Description
SSHKey

getSshKeysBuilder(int index)

public SSHKey.Builder getSshKeysBuilder(int index)

The SSH keys registered in the project.

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

Parameter
Name Description
index int
Returns
Type Description
SSHKey.Builder

getSshKeysBuilderList()

public List<SSHKey.Builder> getSshKeysBuilderList()

The SSH keys registered in the project.

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

Returns
Type Description
List<Builder>

getSshKeysCount()

public int getSshKeysCount()

The SSH keys registered in the project.

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

Returns
Type Description
int

getSshKeysList()

public List<SSHKey> getSshKeysList()

The SSH keys registered in the project.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
SSHKeyOrBuilder

getSshKeysOrBuilderList()

public List<? extends SSHKeyOrBuilder> getSshKeysOrBuilderList()

The SSH keys registered in the project.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListSSHKeysResponse other)

public ListSSHKeysResponse.Builder mergeFrom(ListSSHKeysResponse other)
Parameter
Name Description
other ListSSHKeysResponse
Returns
Type Description
ListSSHKeysResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListSSHKeysResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListSSHKeysResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListSSHKeysResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListSSHKeysResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSSHKeysResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListSSHKeysResponse.Builder
Overrides

removeSshKeys(int index)

public ListSSHKeysResponse.Builder removeSshKeys(int index)

The SSH keys registered in the project.

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

Parameter
Name Description
index int
Returns
Type Description
ListSSHKeysResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListSSHKeysResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListSSHKeysResponse.Builder
Overrides

setNextPageToken(String value)

public ListSSHKeysResponse.Builder setNextPageToken(String value)

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

string next_page_token = 90;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListSSHKeysResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListSSHKeysResponse.Builder setNextPageTokenBytes(ByteString value)

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

string next_page_token = 90;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListSSHKeysResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListSSHKeysResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListSSHKeysResponse.Builder
Overrides

setSshKeys(int index, SSHKey value)

public ListSSHKeysResponse.Builder setSshKeys(int index, SSHKey value)

The SSH keys registered in the project.

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

Parameters
Name Description
index int
value SSHKey
Returns
Type Description
ListSSHKeysResponse.Builder

setSshKeys(int index, SSHKey.Builder builderForValue)

public ListSSHKeysResponse.Builder setSshKeys(int index, SSHKey.Builder builderForValue)

The SSH keys registered in the project.

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

Parameters
Name Description
index int
builderForValue SSHKey.Builder
Returns
Type Description
ListSSHKeysResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListSSHKeysResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListSSHKeysResponse.Builder
Overrides