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.financialservices.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 for retrieving a list of Datasets
 
Protobuf type google.cloud.financialservices.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()
       List of Dataset resources
       
      repeated .google.cloud.financialservices.v1.Dataset datasets = 1;
      Specified by:
      getDatasetsList in interface ListDatasetsResponseOrBuilder
    • getDatasetsCount

      public int getDatasetsCount()
       List of Dataset resources
       
      repeated .google.cloud.financialservices.v1.Dataset datasets = 1;
      Specified by:
      getDatasetsCount in interface ListDatasetsResponseOrBuilder
    • getDatasets

      public Dataset getDatasets(int index)
       List of Dataset resources
       
      repeated .google.cloud.financialservices.v1.Dataset datasets = 1;
      Specified by:
      getDatasets in interface ListDatasetsResponseOrBuilder
    • setDatasets

      public ListDatasetsResponse.Builder setDatasets(int index, Dataset value)
       List of Dataset resources
       
      repeated .google.cloud.financialservices.v1.Dataset datasets = 1;
    • setDatasets

      public ListDatasetsResponse.Builder setDatasets(int index, Dataset.Builder builderForValue)
       List of Dataset resources
       
      repeated .google.cloud.financialservices.v1.Dataset datasets = 1;
    • addDatasets

      public ListDatasetsResponse.Builder addDatasets(Dataset value)
       List of Dataset resources
       
      repeated .google.cloud.financialservices.v1.Dataset datasets = 1;
    • addDatasets

      public ListDatasetsResponse.Builder addDatasets(int index, Dataset value)
       List of Dataset resources
       
      repeated .google.cloud.financialservices.v1.Dataset datasets = 1;
    • addDatasets

      public ListDatasetsResponse.Builder addDatasets(Dataset.Builder builderForValue)
       List of Dataset resources
       
      repeated .google.cloud.financialservices.v1.Dataset datasets = 1;
    • addDatasets

      public ListDatasetsResponse.Builder addDatasets(int index, Dataset.Builder builderForValue)
       List of Dataset resources
       
      repeated .google.cloud.financialservices.v1.Dataset datasets = 1;
    • addAllDatasets

      public ListDatasetsResponse.Builder addAllDatasets(Iterable<? extends Dataset> values)
       List of Dataset resources
       
      repeated .google.cloud.financialservices.v1.Dataset datasets = 1;
    • clearDatasets

      public ListDatasetsResponse.Builder clearDatasets()
       List of Dataset resources
       
      repeated .google.cloud.financialservices.v1.Dataset datasets = 1;
    • removeDatasets

      public ListDatasetsResponse.Builder removeDatasets(int index)
       List of Dataset resources
       
      repeated .google.cloud.financialservices.v1.Dataset datasets = 1;
    • getDatasetsBuilder

      public Dataset.Builder getDatasetsBuilder(int index)
       List of Dataset resources
       
      repeated .google.cloud.financialservices.v1.Dataset datasets = 1;
    • getDatasetsOrBuilder

      public DatasetOrBuilder getDatasetsOrBuilder(int index)
       List of Dataset resources
       
      repeated .google.cloud.financialservices.v1.Dataset datasets = 1;
      Specified by:
      getDatasetsOrBuilder in interface ListDatasetsResponseOrBuilder
    • getDatasetsOrBuilderList

      public List<? extends DatasetOrBuilder> getDatasetsOrBuilderList()
       List of Dataset resources
       
      repeated .google.cloud.financialservices.v1.Dataset datasets = 1;
      Specified by:
      getDatasetsOrBuilderList in interface ListDatasetsResponseOrBuilder
    • addDatasetsBuilder

      public Dataset.Builder addDatasetsBuilder()
       List of Dataset resources
       
      repeated .google.cloud.financialservices.v1.Dataset datasets = 1;
    • addDatasetsBuilder

      public Dataset.Builder addDatasetsBuilder(int index)
       List of Dataset resources
       
      repeated .google.cloud.financialservices.v1.Dataset datasets = 1;
    • getDatasetsBuilderList

      public List<Dataset.Builder> getDatasetsBuilderList()
       List of Dataset resources
       
      repeated .google.cloud.financialservices.v1.Dataset datasets = 1;
    • getNextPageToken

      public String getNextPageToken()
       This token should be passed to the next ListDatasetsRequest to retrieve
       the next page of Datasets (empty indicates we are done).
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListDatasetsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       This token should be passed to the next ListDatasetsRequest to retrieve
       the next page of Datasets (empty indicates we are done).
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListDatasetsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListDatasetsResponse.Builder setNextPageToken(String value)
       This token should be passed to the next ListDatasetsRequest to retrieve
       the next page of Datasets (empty indicates we are done).
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListDatasetsResponse.Builder clearNextPageToken()
       This token should be passed to the next ListDatasetsRequest to retrieve
       the next page of Datasets (empty indicates we are done).
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListDatasetsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       This token should be passed to the next ListDatasetsRequest to retrieve
       the next page of Datasets (empty indicates we are done).
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.
    • getUnreachableList

      public com.google.protobuf.ProtocolStringList getUnreachableList()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListDatasetsResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface ListDatasetsResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface ListDatasetsResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The unreachable at the given index.
    • getUnreachableBytes

      public com.google.protobuf.ByteString getUnreachableBytes(int index)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableBytes in interface ListDatasetsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListDatasetsResponse.Builder setUnreachable(int index, String value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      index - The index to set the value at.
      value - The unreachable to set.
      Returns:
      This builder for chaining.
    • addUnreachable

      public ListDatasetsResponse.Builder addUnreachable(String value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListDatasetsResponse.Builder addAllUnreachable(Iterable<String> values)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListDatasetsResponse.Builder clearUnreachable()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListDatasetsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.