Class ListNotebookRuntimeTemplatesResponse.Builder

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

public static final class ListNotebookRuntimeTemplatesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListNotebookRuntimeTemplatesResponse.Builder> implements ListNotebookRuntimeTemplatesResponseOrBuilder
 Response message for
 [NotebookService.ListNotebookRuntimeTemplates][google.cloud.aiplatform.v1.NotebookService.ListNotebookRuntimeTemplates].
 
Protobuf type google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesResponse
  • 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<ListNotebookRuntimeTemplatesResponse.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<ListNotebookRuntimeTemplatesResponse.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<ListNotebookRuntimeTemplatesResponse.Builder>
    • getDefaultInstanceForType

      public ListNotebookRuntimeTemplatesResponse 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 ListNotebookRuntimeTemplatesResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ListNotebookRuntimeTemplatesResponse.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<ListNotebookRuntimeTemplatesResponse.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<ListNotebookRuntimeTemplatesResponse.Builder>
    • mergeFrom

      public ListNotebookRuntimeTemplatesResponse.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<ListNotebookRuntimeTemplatesResponse.Builder>
      Throws:
      IOException
    • getNotebookRuntimeTemplatesList

      public List<NotebookRuntimeTemplate> getNotebookRuntimeTemplatesList()
       List of NotebookRuntimeTemplates in the requested page.
       
      repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;
      Specified by:
      getNotebookRuntimeTemplatesList in interface ListNotebookRuntimeTemplatesResponseOrBuilder
    • getNotebookRuntimeTemplatesCount

      public int getNotebookRuntimeTemplatesCount()
       List of NotebookRuntimeTemplates in the requested page.
       
      repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;
      Specified by:
      getNotebookRuntimeTemplatesCount in interface ListNotebookRuntimeTemplatesResponseOrBuilder
    • getNotebookRuntimeTemplates

      public NotebookRuntimeTemplate getNotebookRuntimeTemplates(int index)
       List of NotebookRuntimeTemplates in the requested page.
       
      repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;
      Specified by:
      getNotebookRuntimeTemplates in interface ListNotebookRuntimeTemplatesResponseOrBuilder
    • setNotebookRuntimeTemplates

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

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

      public ListNotebookRuntimeTemplatesResponse.Builder addNotebookRuntimeTemplates(NotebookRuntimeTemplate value)
       List of NotebookRuntimeTemplates in the requested page.
       
      repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;
    • addNotebookRuntimeTemplates

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

      public ListNotebookRuntimeTemplatesResponse.Builder addNotebookRuntimeTemplates(NotebookRuntimeTemplate.Builder builderForValue)
       List of NotebookRuntimeTemplates in the requested page.
       
      repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;
    • addNotebookRuntimeTemplates

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

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

      public ListNotebookRuntimeTemplatesResponse.Builder clearNotebookRuntimeTemplates()
       List of NotebookRuntimeTemplates in the requested page.
       
      repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;
    • removeNotebookRuntimeTemplates

      public ListNotebookRuntimeTemplatesResponse.Builder removeNotebookRuntimeTemplates(int index)
       List of NotebookRuntimeTemplates in the requested page.
       
      repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;
    • getNotebookRuntimeTemplatesBuilder

      public NotebookRuntimeTemplate.Builder getNotebookRuntimeTemplatesBuilder(int index)
       List of NotebookRuntimeTemplates in the requested page.
       
      repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;
    • getNotebookRuntimeTemplatesOrBuilder

      public NotebookRuntimeTemplateOrBuilder getNotebookRuntimeTemplatesOrBuilder(int index)
       List of NotebookRuntimeTemplates in the requested page.
       
      repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;
      Specified by:
      getNotebookRuntimeTemplatesOrBuilder in interface ListNotebookRuntimeTemplatesResponseOrBuilder
    • getNotebookRuntimeTemplatesOrBuilderList

      public List<? extends NotebookRuntimeTemplateOrBuilder> getNotebookRuntimeTemplatesOrBuilderList()
       List of NotebookRuntimeTemplates in the requested page.
       
      repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;
      Specified by:
      getNotebookRuntimeTemplatesOrBuilderList in interface ListNotebookRuntimeTemplatesResponseOrBuilder
    • addNotebookRuntimeTemplatesBuilder

      public NotebookRuntimeTemplate.Builder addNotebookRuntimeTemplatesBuilder()
       List of NotebookRuntimeTemplates in the requested page.
       
      repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;
    • addNotebookRuntimeTemplatesBuilder

      public NotebookRuntimeTemplate.Builder addNotebookRuntimeTemplatesBuilder(int index)
       List of NotebookRuntimeTemplates in the requested page.
       
      repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;
    • getNotebookRuntimeTemplatesBuilderList

      public List<NotebookRuntimeTemplate.Builder> getNotebookRuntimeTemplatesBuilderList()
       List of NotebookRuntimeTemplates in the requested page.
       
      repeated .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_templates = 1;
    • getNextPageToken

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

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

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

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

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