Class ListDatasetsResponse.Builder

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

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

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

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

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

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

      public ListDatasetsResponse.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<ListDatasetsResponse.Builder>
      Throws:
      IOException
    • getDatasetsList

      public List<Dataset> getDatasetsList()
       A list of Datasets that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Dataset datasets = 1;
      Specified by:
      getDatasetsList in interface ListDatasetsResponseOrBuilder
    • getDatasetsCount

      public int getDatasetsCount()
       A list of Datasets that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Dataset datasets = 1;
      Specified by:
      getDatasetsCount in interface ListDatasetsResponseOrBuilder
    • getDatasets

      public Dataset getDatasets(int index)
       A list of Datasets that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Dataset datasets = 1;
      Specified by:
      getDatasets in interface ListDatasetsResponseOrBuilder
    • setDatasets

      public ListDatasetsResponse.Builder setDatasets(int index, Dataset value)
       A list of Datasets that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Dataset datasets = 1;
    • setDatasets

      public ListDatasetsResponse.Builder setDatasets(int index, Dataset.Builder builderForValue)
       A list of Datasets that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Dataset datasets = 1;
    • addDatasets

      public ListDatasetsResponse.Builder addDatasets(Dataset value)
       A list of Datasets that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Dataset datasets = 1;
    • addDatasets

      public ListDatasetsResponse.Builder addDatasets(int index, Dataset value)
       A list of Datasets that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Dataset datasets = 1;
    • addDatasets

      public ListDatasetsResponse.Builder addDatasets(Dataset.Builder builderForValue)
       A list of Datasets that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Dataset datasets = 1;
    • addDatasets

      public ListDatasetsResponse.Builder addDatasets(int index, Dataset.Builder builderForValue)
       A list of Datasets that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Dataset datasets = 1;
    • addAllDatasets

      public ListDatasetsResponse.Builder addAllDatasets(Iterable<? extends Dataset> values)
       A list of Datasets that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Dataset datasets = 1;
    • clearDatasets

      public ListDatasetsResponse.Builder clearDatasets()
       A list of Datasets that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Dataset datasets = 1;
    • removeDatasets

      public ListDatasetsResponse.Builder removeDatasets(int index)
       A list of Datasets that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Dataset datasets = 1;
    • getDatasetsBuilder

      public Dataset.Builder getDatasetsBuilder(int index)
       A list of Datasets that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Dataset datasets = 1;
    • getDatasetsOrBuilder

      public DatasetOrBuilder getDatasetsOrBuilder(int index)
       A list of Datasets that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Dataset datasets = 1;
      Specified by:
      getDatasetsOrBuilder in interface ListDatasetsResponseOrBuilder
    • getDatasetsOrBuilderList

      public List<? extends DatasetOrBuilder> getDatasetsOrBuilderList()
       A list of Datasets that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Dataset datasets = 1;
      Specified by:
      getDatasetsOrBuilderList in interface ListDatasetsResponseOrBuilder
    • addDatasetsBuilder

      public Dataset.Builder addDatasetsBuilder()
       A list of Datasets that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Dataset datasets = 1;
    • addDatasetsBuilder

      public Dataset.Builder addDatasetsBuilder(int index)
       A list of Datasets that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Dataset datasets = 1;
    • getDatasetsBuilderList

      public List<Dataset.Builder> getDatasetsBuilderList()
       A list of Datasets that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.Dataset datasets = 1;
    • getNextPageToken

      public String getNextPageToken()
       The standard List next-page token.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListDatasetsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       The standard List next-page token.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListDatasetsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListDatasetsResponse.Builder setNextPageToken(String value)
       The standard List next-page token.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListDatasetsResponse.Builder clearNextPageToken()
       The standard List next-page token.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListDatasetsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       The standard List next-page token.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.