Class ListSSHKeysResponse.Builder (0.31.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.baremetalsolution.v2.SSHKey>
Returns
TypeDescription
ListSSHKeysResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListSSHKeysResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueSSHKey
Returns
TypeDescription
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
NameDescription
builderForValueSSHKey.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueSSHKey
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSSHKey.Builder
Returns
TypeDescription
ListSSHKeysResponse.Builder

addSshKeysBuilder()

public SSHKey.Builder addSshKeysBuilder()

The SSH keys registered in the project.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
SSHKey.Builder

build()

public ListSSHKeysResponse build()
Returns
TypeDescription
ListSSHKeysResponse

buildPartial()

public ListSSHKeysResponse buildPartial()
Returns
TypeDescription
ListSSHKeysResponse

clear()

public ListSSHKeysResponse.Builder clear()
Returns
TypeDescription
ListSSHKeysResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListSSHKeysResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListSSHKeysResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListSSHKeysResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListSSHKeysResponse.Builder

clone()

public ListSSHKeysResponse.Builder clone()
Returns
TypeDescription
ListSSHKeysResponse.Builder
Overrides

getDefaultInstanceForType()

public ListSSHKeysResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSSHKeysResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

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

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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListSSHKeysResponse other)

public ListSSHKeysResponse.Builder mergeFrom(ListSSHKeysResponse other)
Parameter
NameDescription
otherListSSHKeysResponse
Returns
TypeDescription
ListSSHKeysResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListSSHKeysResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSSHKeysResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListSSHKeysResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListSSHKeysResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSSHKeysResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListSSHKeysResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListSSHKeysResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueSSHKey
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSSHKey.Builder
Returns
TypeDescription
ListSSHKeysResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListSSHKeysResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListSSHKeysResponse.Builder
Overrides