Class ListDataAttributesResponse.Builder

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

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

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

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

      public ListDataAttributesResponse.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<ListDataAttributesResponse.Builder>
      Throws:
      IOException
    • getDataAttributesList

      public List<DataAttribute> getDataAttributesList()
       DataAttributes under the given parent DataTaxonomy.
       
      repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;
      Specified by:
      getDataAttributesList in interface ListDataAttributesResponseOrBuilder
    • getDataAttributesCount

      public int getDataAttributesCount()
       DataAttributes under the given parent DataTaxonomy.
       
      repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;
      Specified by:
      getDataAttributesCount in interface ListDataAttributesResponseOrBuilder
    • getDataAttributes

      public DataAttribute getDataAttributes(int index)
       DataAttributes under the given parent DataTaxonomy.
       
      repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;
      Specified by:
      getDataAttributes in interface ListDataAttributesResponseOrBuilder
    • setDataAttributes

      public ListDataAttributesResponse.Builder setDataAttributes(int index, DataAttribute value)
       DataAttributes under the given parent DataTaxonomy.
       
      repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;
    • setDataAttributes

      public ListDataAttributesResponse.Builder setDataAttributes(int index, DataAttribute.Builder builderForValue)
       DataAttributes under the given parent DataTaxonomy.
       
      repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;
    • addDataAttributes

      public ListDataAttributesResponse.Builder addDataAttributes(DataAttribute value)
       DataAttributes under the given parent DataTaxonomy.
       
      repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;
    • addDataAttributes

      public ListDataAttributesResponse.Builder addDataAttributes(int index, DataAttribute value)
       DataAttributes under the given parent DataTaxonomy.
       
      repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;
    • addDataAttributes

      public ListDataAttributesResponse.Builder addDataAttributes(DataAttribute.Builder builderForValue)
       DataAttributes under the given parent DataTaxonomy.
       
      repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;
    • addDataAttributes

      public ListDataAttributesResponse.Builder addDataAttributes(int index, DataAttribute.Builder builderForValue)
       DataAttributes under the given parent DataTaxonomy.
       
      repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;
    • addAllDataAttributes

      public ListDataAttributesResponse.Builder addAllDataAttributes(Iterable<? extends DataAttribute> values)
       DataAttributes under the given parent DataTaxonomy.
       
      repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;
    • clearDataAttributes

      public ListDataAttributesResponse.Builder clearDataAttributes()
       DataAttributes under the given parent DataTaxonomy.
       
      repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;
    • removeDataAttributes

      public ListDataAttributesResponse.Builder removeDataAttributes(int index)
       DataAttributes under the given parent DataTaxonomy.
       
      repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;
    • getDataAttributesBuilder

      public DataAttribute.Builder getDataAttributesBuilder(int index)
       DataAttributes under the given parent DataTaxonomy.
       
      repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;
    • getDataAttributesOrBuilder

      public DataAttributeOrBuilder getDataAttributesOrBuilder(int index)
       DataAttributes under the given parent DataTaxonomy.
       
      repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;
      Specified by:
      getDataAttributesOrBuilder in interface ListDataAttributesResponseOrBuilder
    • getDataAttributesOrBuilderList

      public List<? extends DataAttributeOrBuilder> getDataAttributesOrBuilderList()
       DataAttributes under the given parent DataTaxonomy.
       
      repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;
      Specified by:
      getDataAttributesOrBuilderList in interface ListDataAttributesResponseOrBuilder
    • addDataAttributesBuilder

      public DataAttribute.Builder addDataAttributesBuilder()
       DataAttributes under the given parent DataTaxonomy.
       
      repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;
    • addDataAttributesBuilder

      public DataAttribute.Builder addDataAttributesBuilder(int index)
       DataAttributes under the given parent DataTaxonomy.
       
      repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 1;
    • getDataAttributesBuilderList

      public List<DataAttribute.Builder> getDataAttributesBuilderList()
       DataAttributes under the given parent DataTaxonomy.
       
      repeated .google.cloud.dataplex.v1.DataAttribute data_attributes = 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 ListDataAttributesResponseOrBuilder
      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 ListDataAttributesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListDataAttributesResponse.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 ListDataAttributesResponse.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 ListDataAttributesResponse.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.
    • getUnreachableLocationsList

      public com.google.protobuf.ProtocolStringList getUnreachableLocationsList()
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3;
      Specified by:
      getUnreachableLocationsList in interface ListDataAttributesResponseOrBuilder
      Returns:
      A list containing the unreachableLocations.
    • getUnreachableLocationsCount

      public int getUnreachableLocationsCount()
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3;
      Specified by:
      getUnreachableLocationsCount in interface ListDataAttributesResponseOrBuilder
      Returns:
      The count of unreachableLocations.
    • getUnreachableLocations

      public String getUnreachableLocations(int index)
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3;
      Specified by:
      getUnreachableLocations in interface ListDataAttributesResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The unreachableLocations at the given index.
    • getUnreachableLocationsBytes

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

      public ListDataAttributesResponse.Builder setUnreachableLocations(int index, String value)
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3;
      Parameters:
      index - The index to set the value at.
      value - The unreachableLocations to set.
      Returns:
      This builder for chaining.
    • addUnreachableLocations

      public ListDataAttributesResponse.Builder addUnreachableLocations(String value)
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3;
      Parameters:
      value - The unreachableLocations to add.
      Returns:
      This builder for chaining.
    • addAllUnreachableLocations

      public ListDataAttributesResponse.Builder addAllUnreachableLocations(Iterable<String> values)
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3;
      Parameters:
      values - The unreachableLocations to add.
      Returns:
      This builder for chaining.
    • clearUnreachableLocations

      public ListDataAttributesResponse.Builder clearUnreachableLocations()
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3;
      Returns:
      This builder for chaining.
    • addUnreachableLocationsBytes

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