Class ListNotebookRuntimesResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListNotebookRuntimesResponse.Builder>
com.google.cloud.aiplatform.v1.ListNotebookRuntimesResponse.Builder
All Implemented Interfaces:
ListNotebookRuntimesResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListNotebookRuntimesResponse

public static final class ListNotebookRuntimesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListNotebookRuntimesResponse.Builder> implements ListNotebookRuntimesResponseOrBuilder
 Response message for
 [NotebookService.ListNotebookRuntimes][google.cloud.aiplatform.v1.NotebookService.ListNotebookRuntimes].
 
Protobuf type google.cloud.aiplatform.v1.ListNotebookRuntimesResponse
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ListNotebookRuntimesResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ListNotebookRuntimesResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ListNotebookRuntimesResponse.Builder>
    • getDefaultInstanceForType

      public ListNotebookRuntimesResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ListNotebookRuntimesResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ListNotebookRuntimesResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListNotebookRuntimesResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ListNotebookRuntimesResponse.Builder>
    • mergeFrom

      public ListNotebookRuntimesResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListNotebookRuntimesResponse.Builder>
      Throws:
      IOException
    • getNotebookRuntimesList

      public List<NotebookRuntime> getNotebookRuntimesList()
       List of NotebookRuntimes in the requested page.
       
      repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;
      Specified by:
      getNotebookRuntimesList in interface ListNotebookRuntimesResponseOrBuilder
    • getNotebookRuntimesCount

      public int getNotebookRuntimesCount()
       List of NotebookRuntimes in the requested page.
       
      repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;
      Specified by:
      getNotebookRuntimesCount in interface ListNotebookRuntimesResponseOrBuilder
    • getNotebookRuntimes

      public NotebookRuntime getNotebookRuntimes(int index)
       List of NotebookRuntimes in the requested page.
       
      repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;
      Specified by:
      getNotebookRuntimes in interface ListNotebookRuntimesResponseOrBuilder
    • setNotebookRuntimes

      public ListNotebookRuntimesResponse.Builder setNotebookRuntimes(int index, NotebookRuntime value)
       List of NotebookRuntimes in the requested page.
       
      repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;
    • setNotebookRuntimes

      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;
    • addNotebookRuntimes

      public ListNotebookRuntimesResponse.Builder addNotebookRuntimes(NotebookRuntime value)
       List of NotebookRuntimes in the requested page.
       
      repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;
    • addNotebookRuntimes

      public ListNotebookRuntimesResponse.Builder addNotebookRuntimes(int index, NotebookRuntime value)
       List of NotebookRuntimes in the requested page.
       
      repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;
    • addNotebookRuntimes

      public ListNotebookRuntimesResponse.Builder addNotebookRuntimes(NotebookRuntime.Builder builderForValue)
       List of NotebookRuntimes in the requested page.
       
      repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;
    • addNotebookRuntimes

      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;
    • addAllNotebookRuntimes

      public ListNotebookRuntimesResponse.Builder addAllNotebookRuntimes(Iterable<? extends NotebookRuntime> values)
       List of NotebookRuntimes in the requested page.
       
      repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;
    • clearNotebookRuntimes

      public ListNotebookRuntimesResponse.Builder clearNotebookRuntimes()
       List of NotebookRuntimes in the requested page.
       
      repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;
    • removeNotebookRuntimes

      public ListNotebookRuntimesResponse.Builder removeNotebookRuntimes(int index)
       List of NotebookRuntimes in the requested page.
       
      repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;
    • getNotebookRuntimesBuilder

      public NotebookRuntime.Builder getNotebookRuntimesBuilder(int index)
       List of NotebookRuntimes in the requested page.
       
      repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;
    • getNotebookRuntimesOrBuilder

      public NotebookRuntimeOrBuilder getNotebookRuntimesOrBuilder(int index)
       List of NotebookRuntimes in the requested page.
       
      repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;
      Specified by:
      getNotebookRuntimesOrBuilder in interface ListNotebookRuntimesResponseOrBuilder
    • getNotebookRuntimesOrBuilderList

      public List<? extends NotebookRuntimeOrBuilder> getNotebookRuntimesOrBuilderList()
       List of NotebookRuntimes in the requested page.
       
      repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;
      Specified by:
      getNotebookRuntimesOrBuilderList in interface ListNotebookRuntimesResponseOrBuilder
    • addNotebookRuntimesBuilder

      public NotebookRuntime.Builder addNotebookRuntimesBuilder()
       List of NotebookRuntimes in the requested page.
       
      repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;
    • addNotebookRuntimesBuilder

      public NotebookRuntime.Builder addNotebookRuntimesBuilder(int index)
       List of NotebookRuntimes in the requested page.
       
      repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;
    • getNotebookRuntimesBuilderList

      public List<NotebookRuntime.Builder> getNotebookRuntimesBuilderList()
       List of NotebookRuntimes in the requested page.
       
      repeated .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtimes = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token to retrieve next page of results.
       Pass to
       [ListNotebookRuntimesRequest.page_token][google.cloud.aiplatform.v1.ListNotebookRuntimesRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListNotebookRuntimesResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token to retrieve next page of results.
       Pass to
       [ListNotebookRuntimesRequest.page_token][google.cloud.aiplatform.v1.ListNotebookRuntimesRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListNotebookRuntimesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListNotebookRuntimesResponse.Builder setNextPageToken(String value)
       A token to retrieve next page of results.
       Pass to
       [ListNotebookRuntimesRequest.page_token][google.cloud.aiplatform.v1.ListNotebookRuntimesRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListNotebookRuntimesResponse.Builder clearNextPageToken()
       A token to retrieve next page of results.
       Pass to
       [ListNotebookRuntimesRequest.page_token][google.cloud.aiplatform.v1.ListNotebookRuntimesRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListNotebookRuntimesResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token to retrieve next page of results.
       Pass to
       [ListNotebookRuntimesRequest.page_token][google.cloud.aiplatform.v1.ListNotebookRuntimesRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.