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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
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>
|
public ListSSHKeysResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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
|
public ListSSHKeysResponse.Builder addSshKeys(SSHKey.Builder builderForValue)
The SSH keys registered in the project.
repeated .google.cloud.baremetalsolution.v2.SSHKey ssh_keys = 1;
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
|
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;
public SSHKey.Builder addSshKeysBuilder()
The SSH keys registered in the project.
repeated .google.cloud.baremetalsolution.v2.SSHKey ssh_keys = 1;
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
|
public ListSSHKeysResponse build()
public ListSSHKeysResponse buildPartial()
public ListSSHKeysResponse.Builder clear()
Overrides
public ListSSHKeysResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
public ListSSHKeysResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListSSHKeysResponse.Builder clearSshKeys()
The SSH keys registered in the project.
repeated .google.cloud.baremetalsolution.v2.SSHKey ssh_keys = 1;
public ListSSHKeysResponse.Builder clone()
Overrides
public ListSSHKeysResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
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 |
|
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
|
public List<SSHKey.Builder> getSshKeysBuilderList()
The SSH keys registered in the project.
repeated .google.cloud.baremetalsolution.v2.SSHKey ssh_keys = 1;
public int getSshKeysCount()
The SSH keys registered in the project.
repeated .google.cloud.baremetalsolution.v2.SSHKey ssh_keys = 1;
Returns |
Type |
Description |
int |
|
public List<SSHKey> getSshKeysList()
The SSH keys registered in the project.
repeated .google.cloud.baremetalsolution.v2.SSHKey ssh_keys = 1;
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
|
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> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ListSSHKeysResponse.Builder mergeFrom(ListSSHKeysResponse other)
public ListSSHKeysResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListSSHKeysResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final ListSSHKeysResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
public ListSSHKeysResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public ListSSHKeysResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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
|
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;
public final ListSSHKeysResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides