Class ListDataScansResponse.Builder

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

public static final class ListDataScansResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListDataScansResponse.Builder> implements ListDataScansResponseOrBuilder
 List dataScans response.
 
Protobuf type google.cloud.dataplex.v1.ListDataScansResponse
  • 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<ListDataScansResponse.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<ListDataScansResponse.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<ListDataScansResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListDataScansResponse.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<ListDataScansResponse.Builder>
      Throws:
      IOException
    • getDataScansList

      public List<DataScan> getDataScansList()
       DataScans (`BASIC` view only) under the given parent location.
       
      repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;
      Specified by:
      getDataScansList in interface ListDataScansResponseOrBuilder
    • getDataScansCount

      public int getDataScansCount()
       DataScans (`BASIC` view only) under the given parent location.
       
      repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;
      Specified by:
      getDataScansCount in interface ListDataScansResponseOrBuilder
    • getDataScans

      public DataScan getDataScans(int index)
       DataScans (`BASIC` view only) under the given parent location.
       
      repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;
      Specified by:
      getDataScans in interface ListDataScansResponseOrBuilder
    • setDataScans

      public ListDataScansResponse.Builder setDataScans(int index, DataScan value)
       DataScans (`BASIC` view only) under the given parent location.
       
      repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;
    • setDataScans

      public ListDataScansResponse.Builder setDataScans(int index, DataScan.Builder builderForValue)
       DataScans (`BASIC` view only) under the given parent location.
       
      repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;
    • addDataScans

      public ListDataScansResponse.Builder addDataScans(DataScan value)
       DataScans (`BASIC` view only) under the given parent location.
       
      repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;
    • addDataScans

      public ListDataScansResponse.Builder addDataScans(int index, DataScan value)
       DataScans (`BASIC` view only) under the given parent location.
       
      repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;
    • addDataScans

      public ListDataScansResponse.Builder addDataScans(DataScan.Builder builderForValue)
       DataScans (`BASIC` view only) under the given parent location.
       
      repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;
    • addDataScans

      public ListDataScansResponse.Builder addDataScans(int index, DataScan.Builder builderForValue)
       DataScans (`BASIC` view only) under the given parent location.
       
      repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;
    • addAllDataScans

      public ListDataScansResponse.Builder addAllDataScans(Iterable<? extends DataScan> values)
       DataScans (`BASIC` view only) under the given parent location.
       
      repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;
    • clearDataScans

      public ListDataScansResponse.Builder clearDataScans()
       DataScans (`BASIC` view only) under the given parent location.
       
      repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;
    • removeDataScans

      public ListDataScansResponse.Builder removeDataScans(int index)
       DataScans (`BASIC` view only) under the given parent location.
       
      repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;
    • getDataScansBuilder

      public DataScan.Builder getDataScansBuilder(int index)
       DataScans (`BASIC` view only) under the given parent location.
       
      repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;
    • getDataScansOrBuilder

      public DataScanOrBuilder getDataScansOrBuilder(int index)
       DataScans (`BASIC` view only) under the given parent location.
       
      repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;
      Specified by:
      getDataScansOrBuilder in interface ListDataScansResponseOrBuilder
    • getDataScansOrBuilderList

      public List<? extends DataScanOrBuilder> getDataScansOrBuilderList()
       DataScans (`BASIC` view only) under the given parent location.
       
      repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;
      Specified by:
      getDataScansOrBuilderList in interface ListDataScansResponseOrBuilder
    • addDataScansBuilder

      public DataScan.Builder addDataScansBuilder()
       DataScans (`BASIC` view only) under the given parent location.
       
      repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;
    • addDataScansBuilder

      public DataScan.Builder addDataScansBuilder(int index)
       DataScans (`BASIC` view only) under the given parent location.
       
      repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;
    • getDataScansBuilderList

      public List<DataScan.Builder> getDataScansBuilderList()
       DataScans (`BASIC` view only) under the given parent location.
       
      repeated .google.cloud.dataplex.v1.DataScan data_scans = 1;
    • getNextPageToken

      public String getNextPageToken()
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListDataScansResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListDataScansResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListDataScansResponse.Builder setNextPageToken(String value)
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListDataScansResponse.Builder clearNextPageToken()
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListDataScansResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      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 ListDataScansResponseOrBuilder
      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 ListDataScansResponseOrBuilder
      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 ListDataScansResponseOrBuilder
      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 ListDataScansResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

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

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