Class ListNotebookRuntimesResponse.Builder (3.48.0)

public static final class ListNotebookRuntimesResponse.Builder extends GeneratedMessageV3.Builder<ListNotebookRuntimesResponse.Builder> implements ListNotebookRuntimesResponseOrBuilder

Response message for NotebookService.ListNotebookRuntimes.

Protobuf type google.cloud.aiplatform.v1.ListNotebookRuntimesResponse

Static Methods

getDescriptor()

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

Methods

addAllNotebookRuntimes(Iterable<? extends NotebookRuntime> values)

public ListNotebookRuntimesResponse.Builder addAllNotebookRuntimes(Iterable<? extends NotebookRuntime> values)

List of NotebookRuntimes in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1.NotebookRuntime>
Returns
Type Description
ListNotebookRuntimesResponse.Builder

addNotebookRuntimes(NotebookRuntime value)

public ListNotebookRuntimesResponse.Builder addNotebookRuntimes(NotebookRuntime value)

List of NotebookRuntimes in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;

Parameter
Name Description
value NotebookRuntime
Returns
Type Description
ListNotebookRuntimesResponse.Builder

addNotebookRuntimes(NotebookRuntime.Builder builderForValue)

public ListNotebookRuntimesResponse.Builder addNotebookRuntimes(NotebookRuntime.Builder builderForValue)

List of NotebookRuntimes in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;

Parameter
Name Description
builderForValue NotebookRuntime.Builder
Returns
Type Description
ListNotebookRuntimesResponse.Builder

addNotebookRuntimes(int index, NotebookRuntime value)

public ListNotebookRuntimesResponse.Builder addNotebookRuntimes(int index, NotebookRuntime value)

List of NotebookRuntimes in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;

Parameters
Name Description
index int
value NotebookRuntime
Returns
Type Description
ListNotebookRuntimesResponse.Builder

addNotebookRuntimes(int index, NotebookRuntime.Builder builderForValue)

public ListNotebookRuntimesResponse.Builder addNotebookRuntimes(int index, NotebookRuntime.Builder builderForValue)

List of NotebookRuntimes in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;

Parameters
Name Description
index int
builderForValue NotebookRuntime.Builder
Returns
Type Description
ListNotebookRuntimesResponse.Builder

addNotebookRuntimesBuilder()

public NotebookRuntime.Builder addNotebookRuntimesBuilder()

List of NotebookRuntimes in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;

Returns
Type Description
NotebookRuntime.Builder

addNotebookRuntimesBuilder(int index)

public NotebookRuntime.Builder addNotebookRuntimesBuilder(int index)

List of NotebookRuntimes in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;

Parameter
Name Description
index int
Returns
Type Description
NotebookRuntime.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListNotebookRuntimesResponse build()
Returns
Type Description
ListNotebookRuntimesResponse

buildPartial()

public ListNotebookRuntimesResponse buildPartial()
Returns
Type Description
ListNotebookRuntimesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListNotebookRuntimesResponse.Builder clearNextPageToken()

A token to retrieve next page of results. Pass to ListNotebookRuntimesRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
Type Description
ListNotebookRuntimesResponse.Builder

This builder for chaining.

clearNotebookRuntimes()

public ListNotebookRuntimesResponse.Builder clearNotebookRuntimes()

List of NotebookRuntimes in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;

Returns
Type Description
ListNotebookRuntimesResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListNotebookRuntimesResponse getDefaultInstanceForType()
Returns
Type Description
ListNotebookRuntimesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token to retrieve next page of results. Pass to ListNotebookRuntimesRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve next page of results. Pass to ListNotebookRuntimesRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getNotebookRuntimes(int index)

public NotebookRuntime getNotebookRuntimes(int index)

List of NotebookRuntimes in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;

Parameter
Name Description
index int
Returns
Type Description
NotebookRuntime

getNotebookRuntimesBuilder(int index)

public NotebookRuntime.Builder getNotebookRuntimesBuilder(int index)

List of NotebookRuntimes in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;

Parameter
Name Description
index int
Returns
Type Description
NotebookRuntime.Builder

getNotebookRuntimesBuilderList()

public List<NotebookRuntime.Builder> getNotebookRuntimesBuilderList()

List of NotebookRuntimes in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;

Returns
Type Description
List<Builder>

getNotebookRuntimesCount()

public int getNotebookRuntimesCount()

List of NotebookRuntimes in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;

Returns
Type Description
int

getNotebookRuntimesList()

public List<NotebookRuntime> getNotebookRuntimesList()

List of NotebookRuntimes in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;

Returns
Type Description
List<NotebookRuntime>

getNotebookRuntimesOrBuilder(int index)

public NotebookRuntimeOrBuilder getNotebookRuntimesOrBuilder(int index)

List of NotebookRuntimes in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;

Parameter
Name Description
index int
Returns
Type Description
NotebookRuntimeOrBuilder

getNotebookRuntimesOrBuilderList()

public List<? extends NotebookRuntimeOrBuilder> getNotebookRuntimesOrBuilderList()

List of NotebookRuntimes in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.NotebookRuntimeOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListNotebookRuntimesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeNotebookRuntimes(int index)

public ListNotebookRuntimesResponse.Builder removeNotebookRuntimes(int index)

List of NotebookRuntimes in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;

Parameter
Name Description
index int
Returns
Type Description
ListNotebookRuntimesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListNotebookRuntimesResponse.Builder setNextPageToken(String value)

A token to retrieve next page of results. Pass to ListNotebookRuntimesRequest.page_token to obtain that page.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListNotebookRuntimesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListNotebookRuntimesResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve next page of results. Pass to ListNotebookRuntimesRequest.page_token to obtain that page.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListNotebookRuntimesResponse.Builder

This builder for chaining.

setNotebookRuntimes(int index, NotebookRuntime value)

public ListNotebookRuntimesResponse.Builder setNotebookRuntimes(int index, NotebookRuntime value)

List of NotebookRuntimes in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;

Parameters
Name Description
index int
value NotebookRuntime
Returns
Type Description
ListNotebookRuntimesResponse.Builder

setNotebookRuntimes(int index, NotebookRuntime.Builder builderForValue)

public ListNotebookRuntimesResponse.Builder setNotebookRuntimes(int index, NotebookRuntime.Builder builderForValue)

List of NotebookRuntimes in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;

Parameters
Name Description
index int
builderForValue NotebookRuntime.Builder
Returns
Type Description
ListNotebookRuntimesResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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