Class ListNotebookRuntimeTemplatesResponse.Builder (3.44.0)

public static final class ListNotebookRuntimeTemplatesResponse.Builder extends GeneratedMessageV3.Builder<ListNotebookRuntimeTemplatesResponse.Builder> implements ListNotebookRuntimeTemplatesResponseOrBuilder

Response message for NotebookService.ListNotebookRuntimeTemplates.

Protobuf type google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesResponse

Static Methods

getDescriptor()

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

Methods

addAllNotebookRuntimeTemplates(Iterable<? extends NotebookRuntimeTemplate> values)

public ListNotebookRuntimeTemplatesResponse.Builder addAllNotebookRuntimeTemplates(Iterable<? extends NotebookRuntimeTemplate> values)

List of NotebookRuntimeTemplates in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;

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

addNotebookRuntimeTemplates(NotebookRuntimeTemplate value)

public ListNotebookRuntimeTemplatesResponse.Builder addNotebookRuntimeTemplates(NotebookRuntimeTemplate value)

List of NotebookRuntimeTemplates in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;

Parameter
Name Description
value NotebookRuntimeTemplate
Returns
Type Description
ListNotebookRuntimeTemplatesResponse.Builder

addNotebookRuntimeTemplates(NotebookRuntimeTemplate.Builder builderForValue)

public ListNotebookRuntimeTemplatesResponse.Builder addNotebookRuntimeTemplates(NotebookRuntimeTemplate.Builder builderForValue)

List of NotebookRuntimeTemplates in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;

Parameter
Name Description
builderForValue NotebookRuntimeTemplate.Builder
Returns
Type Description
ListNotebookRuntimeTemplatesResponse.Builder

addNotebookRuntimeTemplates(int index, NotebookRuntimeTemplate value)

public ListNotebookRuntimeTemplatesResponse.Builder addNotebookRuntimeTemplates(int index, NotebookRuntimeTemplate value)

List of NotebookRuntimeTemplates in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;

Parameters
Name Description
index int
value NotebookRuntimeTemplate
Returns
Type Description
ListNotebookRuntimeTemplatesResponse.Builder

addNotebookRuntimeTemplates(int index, NotebookRuntimeTemplate.Builder builderForValue)

public ListNotebookRuntimeTemplatesResponse.Builder addNotebookRuntimeTemplates(int index, NotebookRuntimeTemplate.Builder builderForValue)

List of NotebookRuntimeTemplates in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;

Parameters
Name Description
index int
builderForValue NotebookRuntimeTemplate.Builder
Returns
Type Description
ListNotebookRuntimeTemplatesResponse.Builder

addNotebookRuntimeTemplatesBuilder()

public NotebookRuntimeTemplate.Builder addNotebookRuntimeTemplatesBuilder()

List of NotebookRuntimeTemplates in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;

Returns
Type Description
NotebookRuntimeTemplate.Builder

addNotebookRuntimeTemplatesBuilder(int index)

public NotebookRuntimeTemplate.Builder addNotebookRuntimeTemplatesBuilder(int index)

List of NotebookRuntimeTemplates in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;

Parameter
Name Description
index int
Returns
Type Description
NotebookRuntimeTemplate.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListNotebookRuntimeTemplatesResponse build()
Returns
Type Description
ListNotebookRuntimeTemplatesResponse

buildPartial()

public ListNotebookRuntimeTemplatesResponse buildPartial()
Returns
Type Description
ListNotebookRuntimeTemplatesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListNotebookRuntimeTemplatesResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListNotebookRuntimeTemplatesResponse.Builder

This builder for chaining.

clearNotebookRuntimeTemplates()

public ListNotebookRuntimeTemplatesResponse.Builder clearNotebookRuntimeTemplates()

List of NotebookRuntimeTemplates in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;

Returns
Type Description
ListNotebookRuntimeTemplatesResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListNotebookRuntimeTemplatesResponse getDefaultInstanceForType()
Returns
Type Description
ListNotebookRuntimeTemplatesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token to retrieve next page of results. Pass to ListNotebookRuntimeTemplatesRequest.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 ListNotebookRuntimeTemplatesRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getNotebookRuntimeTemplates(int index)

public NotebookRuntimeTemplate getNotebookRuntimeTemplates(int index)

List of NotebookRuntimeTemplates in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;

Parameter
Name Description
index int
Returns
Type Description
NotebookRuntimeTemplate

getNotebookRuntimeTemplatesBuilder(int index)

public NotebookRuntimeTemplate.Builder getNotebookRuntimeTemplatesBuilder(int index)

List of NotebookRuntimeTemplates in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;

Parameter
Name Description
index int
Returns
Type Description
NotebookRuntimeTemplate.Builder

getNotebookRuntimeTemplatesBuilderList()

public List<NotebookRuntimeTemplate.Builder> getNotebookRuntimeTemplatesBuilderList()

List of NotebookRuntimeTemplates in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;

Returns
Type Description
List<Builder>

getNotebookRuntimeTemplatesCount()

public int getNotebookRuntimeTemplatesCount()

List of NotebookRuntimeTemplates in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;

Returns
Type Description
int

getNotebookRuntimeTemplatesList()

public List<NotebookRuntimeTemplate> getNotebookRuntimeTemplatesList()

List of NotebookRuntimeTemplates in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;

Returns
Type Description
List<NotebookRuntimeTemplate>

getNotebookRuntimeTemplatesOrBuilder(int index)

public NotebookRuntimeTemplateOrBuilder getNotebookRuntimeTemplatesOrBuilder(int index)

List of NotebookRuntimeTemplates in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;

Parameter
Name Description
index int
Returns
Type Description
NotebookRuntimeTemplateOrBuilder

getNotebookRuntimeTemplatesOrBuilderList()

public List<? extends NotebookRuntimeTemplateOrBuilder> getNotebookRuntimeTemplatesOrBuilderList()

List of NotebookRuntimeTemplates in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListNotebookRuntimeTemplatesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeNotebookRuntimeTemplates(int index)

public ListNotebookRuntimeTemplatesResponse.Builder removeNotebookRuntimeTemplates(int index)

List of NotebookRuntimeTemplates in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;

Parameter
Name Description
index int
Returns
Type Description
ListNotebookRuntimeTemplatesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListNotebookRuntimeTemplatesResponse.Builder setNextPageToken(String value)

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

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListNotebookRuntimeTemplatesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListNotebookRuntimeTemplatesResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve next page of results. Pass to ListNotebookRuntimeTemplatesRequest.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
ListNotebookRuntimeTemplatesResponse.Builder

This builder for chaining.

setNotebookRuntimeTemplates(int index, NotebookRuntimeTemplate value)

public ListNotebookRuntimeTemplatesResponse.Builder setNotebookRuntimeTemplates(int index, NotebookRuntimeTemplate value)

List of NotebookRuntimeTemplates in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;

Parameters
Name Description
index int
value NotebookRuntimeTemplate
Returns
Type Description
ListNotebookRuntimeTemplatesResponse.Builder

setNotebookRuntimeTemplates(int index, NotebookRuntimeTemplate.Builder builderForValue)

public ListNotebookRuntimeTemplatesResponse.Builder setNotebookRuntimeTemplates(int index, NotebookRuntimeTemplate.Builder builderForValue)

List of NotebookRuntimeTemplates in the requested page.

repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;

Parameters
Name Description
index int
builderForValue NotebookRuntimeTemplate.Builder
Returns
Type Description
ListNotebookRuntimeTemplatesResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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