public static final class ListRuntimesResponse.Builder extends GeneratedMessageV3.Builder<ListRuntimesResponse.Builder> implements ListRuntimesResponseOrBuilder
Response for listing Managed Notebook Runtimes.
Protobuf type google.cloud.notebooks.v1.ListRuntimesResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListRuntimesResponse.BuilderImplements
ListRuntimesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllRuntimes(Iterable<? extends Runtime> values)
public ListRuntimesResponse.Builder addAllRuntimes(Iterable<? extends Runtime> values)
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
Name | Description |
values | Iterable<? extends com.google.cloud.notebooks.v1.Runtime> |
Type | Description |
ListRuntimesResponse.Builder |
addAllUnreachable(Iterable<String> values)
public ListRuntimesResponse.Builder addAllUnreachable(Iterable<String> values)
Locations that could not be reached. For example, ['us-west1', 'us-central1']. A ListRuntimesResponse will only contain either runtimes or unreachables,
repeated string unreachable = 3;
Name | Description |
values | Iterable<String> The unreachable to add. |
Type | Description |
ListRuntimesResponse.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListRuntimesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ListRuntimesResponse.Builder |
addRuntimes(Runtime value)
public ListRuntimesResponse.Builder addRuntimes(Runtime value)
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
Name | Description |
value | Runtime |
Type | Description |
ListRuntimesResponse.Builder |
addRuntimes(Runtime.Builder builderForValue)
public ListRuntimesResponse.Builder addRuntimes(Runtime.Builder builderForValue)
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
Name | Description |
builderForValue | Runtime.Builder |
Type | Description |
ListRuntimesResponse.Builder |
addRuntimes(int index, Runtime value)
public ListRuntimesResponse.Builder addRuntimes(int index, Runtime value)
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
Name | Description |
index | int |
value | Runtime |
Type | Description |
ListRuntimesResponse.Builder |
addRuntimes(int index, Runtime.Builder builderForValue)
public ListRuntimesResponse.Builder addRuntimes(int index, Runtime.Builder builderForValue)
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
Name | Description |
index | int |
builderForValue | Runtime.Builder |
Type | Description |
ListRuntimesResponse.Builder |
addRuntimesBuilder()
public Runtime.Builder addRuntimesBuilder()
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
Type | Description |
Runtime.Builder |
addRuntimesBuilder(int index)
public Runtime.Builder addRuntimesBuilder(int index)
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
Name | Description |
index | int |
Type | Description |
Runtime.Builder |
addUnreachable(String value)
public ListRuntimesResponse.Builder addUnreachable(String value)
Locations that could not be reached. For example, ['us-west1', 'us-central1']. A ListRuntimesResponse will only contain either runtimes or unreachables,
repeated string unreachable = 3;
Name | Description |
value | String The unreachable to add. |
Type | Description |
ListRuntimesResponse.Builder | This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListRuntimesResponse.Builder addUnreachableBytes(ByteString value)
Locations that could not be reached. For example, ['us-west1', 'us-central1']. A ListRuntimesResponse will only contain either runtimes or unreachables,
repeated string unreachable = 3;
Name | Description |
value | ByteString The bytes of the unreachable to add. |
Type | Description |
ListRuntimesResponse.Builder | This builder for chaining. |
build()
public ListRuntimesResponse build()
Type | Description |
ListRuntimesResponse |
buildPartial()
public ListRuntimesResponse buildPartial()
Type | Description |
ListRuntimesResponse |
clear()
public ListRuntimesResponse.Builder clear()
Type | Description |
ListRuntimesResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListRuntimesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ListRuntimesResponse.Builder |
clearNextPageToken()
public ListRuntimesResponse.Builder clearNextPageToken()
Page token that can be used to continue listing from the last result in the next list call.
string next_page_token = 2;
Type | Description |
ListRuntimesResponse.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListRuntimesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ListRuntimesResponse.Builder |
clearRuntimes()
public ListRuntimesResponse.Builder clearRuntimes()
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
Type | Description |
ListRuntimesResponse.Builder |
clearUnreachable()
public ListRuntimesResponse.Builder clearUnreachable()
Locations that could not be reached. For example, ['us-west1', 'us-central1']. A ListRuntimesResponse will only contain either runtimes or unreachables,
repeated string unreachable = 3;
Type | Description |
ListRuntimesResponse.Builder | This builder for chaining. |
clone()
public ListRuntimesResponse.Builder clone()
Type | Description |
ListRuntimesResponse.Builder |
getDefaultInstanceForType()
public ListRuntimesResponse getDefaultInstanceForType()
Type | Description |
ListRuntimesResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getNextPageToken()
public String getNextPageToken()
Page token that can be used to continue listing from the last result in the next list call.
string next_page_token = 2;
Type | Description |
String | The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Page token that can be used to continue listing from the last result in the next list call.
string next_page_token = 2;
Type | Description |
ByteString | The bytes for nextPageToken. |
getRuntimes(int index)
public Runtime getRuntimes(int index)
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
Name | Description |
index | int |
Type | Description |
Runtime |
getRuntimesBuilder(int index)
public Runtime.Builder getRuntimesBuilder(int index)
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
Name | Description |
index | int |
Type | Description |
Runtime.Builder |
getRuntimesBuilderList()
public List<Runtime.Builder> getRuntimesBuilderList()
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
Type | Description |
List<Builder> |
getRuntimesCount()
public int getRuntimesCount()
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
Type | Description |
int |
getRuntimesList()
public List<Runtime> getRuntimesList()
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
Type | Description |
List<Runtime> |
getRuntimesOrBuilder(int index)
public RuntimeOrBuilder getRuntimesOrBuilder(int index)
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
Name | Description |
index | int |
Type | Description |
RuntimeOrBuilder |
getRuntimesOrBuilderList()
public List<? extends RuntimeOrBuilder> getRuntimesOrBuilderList()
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
Type | Description |
List<? extends com.google.cloud.notebooks.v1.RuntimeOrBuilder> |
getUnreachable(int index)
public String getUnreachable(int index)
Locations that could not be reached. For example, ['us-west1', 'us-central1']. A ListRuntimesResponse will only contain either runtimes or unreachables,
repeated string unreachable = 3;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The unreachable at the given index. |
getUnreachableBytes(int index)
public ByteString getUnreachableBytes(int index)
Locations that could not be reached. For example, ['us-west1', 'us-central1']. A ListRuntimesResponse will only contain either runtimes or unreachables,
repeated string unreachable = 3;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the unreachable at the given index. |
getUnreachableCount()
public int getUnreachableCount()
Locations that could not be reached. For example, ['us-west1', 'us-central1']. A ListRuntimesResponse will only contain either runtimes or unreachables,
repeated string unreachable = 3;
Type | Description |
int | The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()
Locations that could not be reached. For example, ['us-west1', 'us-central1']. A ListRuntimesResponse will only contain either runtimes or unreachables,
repeated string unreachable = 3;
Type | Description |
ProtocolStringList | A list containing the unreachable. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ListRuntimesResponse other)
public ListRuntimesResponse.Builder mergeFrom(ListRuntimesResponse other)
Name | Description |
other | ListRuntimesResponse |
Type | Description |
ListRuntimesResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListRuntimesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListRuntimesResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ListRuntimesResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ListRuntimesResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListRuntimesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ListRuntimesResponse.Builder |
removeRuntimes(int index)
public ListRuntimesResponse.Builder removeRuntimes(int index)
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
Name | Description |
index | int |
Type | Description |
ListRuntimesResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListRuntimesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ListRuntimesResponse.Builder |
setNextPageToken(String value)
public ListRuntimesResponse.Builder setNextPageToken(String value)
Page token that can be used to continue listing from the last result in the next list call.
string next_page_token = 2;
Name | Description |
value | String The nextPageToken to set. |
Type | Description |
ListRuntimesResponse.Builder | This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListRuntimesResponse.Builder setNextPageTokenBytes(ByteString value)
Page token that can be used to continue listing from the last result in the next list call.
string next_page_token = 2;
Name | Description |
value | ByteString The bytes for nextPageToken to set. |
Type | Description |
ListRuntimesResponse.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListRuntimesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ListRuntimesResponse.Builder |
setRuntimes(int index, Runtime value)
public ListRuntimesResponse.Builder setRuntimes(int index, Runtime value)
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
Name | Description |
index | int |
value | Runtime |
Type | Description |
ListRuntimesResponse.Builder |
setRuntimes(int index, Runtime.Builder builderForValue)
public ListRuntimesResponse.Builder setRuntimes(int index, Runtime.Builder builderForValue)
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
Name | Description |
index | int |
builderForValue | Runtime.Builder |
Type | Description |
ListRuntimesResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListRuntimesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ListRuntimesResponse.Builder |
setUnreachable(int index, String value)
public ListRuntimesResponse.Builder setUnreachable(int index, String value)
Locations that could not be reached. For example, ['us-west1', 'us-central1']. A ListRuntimesResponse will only contain either runtimes or unreachables,
repeated string unreachable = 3;
Name | Description |
index | int The index to set the value at. |
value | String The unreachable to set. |
Type | Description |
ListRuntimesResponse.Builder | This builder for chaining. |