Class ListDatasetConfigsResponse.Builder

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

public static final class ListDatasetConfigsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListDatasetConfigsResponse.Builder> implements ListDatasetConfigsResponseOrBuilder
 Response message for
 [`ListDatasetConfigs`][google.cloud.storageinsights.v1.StorageInsights.ListDatasetConfigs]
 
Protobuf type google.cloud.storageinsights.v1.ListDatasetConfigsResponse
  • 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<ListDatasetConfigsResponse.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<ListDatasetConfigsResponse.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<ListDatasetConfigsResponse.Builder>
    • getDefaultInstanceForType

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

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

      public ListDatasetConfigsResponse.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<ListDatasetConfigsResponse.Builder>
      Throws:
      IOException
    • getDatasetConfigsList

      public List<DatasetConfig> getDatasetConfigsList()
       The list of `DatasetConfigs`
       
      repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1;
      Specified by:
      getDatasetConfigsList in interface ListDatasetConfigsResponseOrBuilder
    • getDatasetConfigsCount

      public int getDatasetConfigsCount()
       The list of `DatasetConfigs`
       
      repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1;
      Specified by:
      getDatasetConfigsCount in interface ListDatasetConfigsResponseOrBuilder
    • getDatasetConfigs

      public DatasetConfig getDatasetConfigs(int index)
       The list of `DatasetConfigs`
       
      repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1;
      Specified by:
      getDatasetConfigs in interface ListDatasetConfigsResponseOrBuilder
    • setDatasetConfigs

      public ListDatasetConfigsResponse.Builder setDatasetConfigs(int index, DatasetConfig value)
       The list of `DatasetConfigs`
       
      repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1;
    • setDatasetConfigs

      public ListDatasetConfigsResponse.Builder setDatasetConfigs(int index, DatasetConfig.Builder builderForValue)
       The list of `DatasetConfigs`
       
      repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1;
    • addDatasetConfigs

      public ListDatasetConfigsResponse.Builder addDatasetConfigs(DatasetConfig value)
       The list of `DatasetConfigs`
       
      repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1;
    • addDatasetConfigs

      public ListDatasetConfigsResponse.Builder addDatasetConfigs(int index, DatasetConfig value)
       The list of `DatasetConfigs`
       
      repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1;
    • addDatasetConfigs

      public ListDatasetConfigsResponse.Builder addDatasetConfigs(DatasetConfig.Builder builderForValue)
       The list of `DatasetConfigs`
       
      repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1;
    • addDatasetConfigs

      public ListDatasetConfigsResponse.Builder addDatasetConfigs(int index, DatasetConfig.Builder builderForValue)
       The list of `DatasetConfigs`
       
      repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1;
    • addAllDatasetConfigs

      public ListDatasetConfigsResponse.Builder addAllDatasetConfigs(Iterable<? extends DatasetConfig> values)
       The list of `DatasetConfigs`
       
      repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1;
    • clearDatasetConfigs

      public ListDatasetConfigsResponse.Builder clearDatasetConfigs()
       The list of `DatasetConfigs`
       
      repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1;
    • removeDatasetConfigs

      public ListDatasetConfigsResponse.Builder removeDatasetConfigs(int index)
       The list of `DatasetConfigs`
       
      repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1;
    • getDatasetConfigsBuilder

      public DatasetConfig.Builder getDatasetConfigsBuilder(int index)
       The list of `DatasetConfigs`
       
      repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1;
    • getDatasetConfigsOrBuilder

      public DatasetConfigOrBuilder getDatasetConfigsOrBuilder(int index)
       The list of `DatasetConfigs`
       
      repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1;
      Specified by:
      getDatasetConfigsOrBuilder in interface ListDatasetConfigsResponseOrBuilder
    • getDatasetConfigsOrBuilderList

      public List<? extends DatasetConfigOrBuilder> getDatasetConfigsOrBuilderList()
       The list of `DatasetConfigs`
       
      repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1;
      Specified by:
      getDatasetConfigsOrBuilderList in interface ListDatasetConfigsResponseOrBuilder
    • addDatasetConfigsBuilder

      public DatasetConfig.Builder addDatasetConfigsBuilder()
       The list of `DatasetConfigs`
       
      repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1;
    • addDatasetConfigsBuilder

      public DatasetConfig.Builder addDatasetConfigsBuilder(int index)
       The list of `DatasetConfigs`
       
      repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1;
    • getDatasetConfigsBuilderList

      public List<DatasetConfig.Builder> getDatasetConfigsBuilderList()
       The list of `DatasetConfigs`
       
      repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListDatasetConfigsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListDatasetConfigsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListDatasetConfigsResponse.Builder setNextPageToken(String value)
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListDatasetConfigsResponse.Builder clearNextPageToken()
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListDatasetConfigsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token identifying a page of results the server should return.
       
      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 ListDatasetConfigsResponseOrBuilder
      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 ListDatasetConfigsResponseOrBuilder
      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 ListDatasetConfigsResponseOrBuilder
      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 ListDatasetConfigsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListDatasetConfigsResponse.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 ListDatasetConfigsResponse.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 ListDatasetConfigsResponse.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 ListDatasetConfigsResponse.Builder clearUnreachable()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListDatasetConfigsResponse.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.