Class ListAssetsResponse.Builder

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

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

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

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

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

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

      public ListAssetsResponse.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<ListAssetsResponse.Builder>
      Throws:
      IOException
    • getAssetsList

      public List<Asset> getAssetsList()
       Asset under the given parent zone.
       
      repeated .google.cloud.dataplex.v1.Asset assets = 1;
      Specified by:
      getAssetsList in interface ListAssetsResponseOrBuilder
    • getAssetsCount

      public int getAssetsCount()
       Asset under the given parent zone.
       
      repeated .google.cloud.dataplex.v1.Asset assets = 1;
      Specified by:
      getAssetsCount in interface ListAssetsResponseOrBuilder
    • getAssets

      public Asset getAssets(int index)
       Asset under the given parent zone.
       
      repeated .google.cloud.dataplex.v1.Asset assets = 1;
      Specified by:
      getAssets in interface ListAssetsResponseOrBuilder
    • setAssets

      public ListAssetsResponse.Builder setAssets(int index, Asset value)
       Asset under the given parent zone.
       
      repeated .google.cloud.dataplex.v1.Asset assets = 1;
    • setAssets

      public ListAssetsResponse.Builder setAssets(int index, Asset.Builder builderForValue)
       Asset under the given parent zone.
       
      repeated .google.cloud.dataplex.v1.Asset assets = 1;
    • addAssets

      public ListAssetsResponse.Builder addAssets(Asset value)
       Asset under the given parent zone.
       
      repeated .google.cloud.dataplex.v1.Asset assets = 1;
    • addAssets

      public ListAssetsResponse.Builder addAssets(int index, Asset value)
       Asset under the given parent zone.
       
      repeated .google.cloud.dataplex.v1.Asset assets = 1;
    • addAssets

      public ListAssetsResponse.Builder addAssets(Asset.Builder builderForValue)
       Asset under the given parent zone.
       
      repeated .google.cloud.dataplex.v1.Asset assets = 1;
    • addAssets

      public ListAssetsResponse.Builder addAssets(int index, Asset.Builder builderForValue)
       Asset under the given parent zone.
       
      repeated .google.cloud.dataplex.v1.Asset assets = 1;
    • addAllAssets

      public ListAssetsResponse.Builder addAllAssets(Iterable<? extends Asset> values)
       Asset under the given parent zone.
       
      repeated .google.cloud.dataplex.v1.Asset assets = 1;
    • clearAssets

      public ListAssetsResponse.Builder clearAssets()
       Asset under the given parent zone.
       
      repeated .google.cloud.dataplex.v1.Asset assets = 1;
    • removeAssets

      public ListAssetsResponse.Builder removeAssets(int index)
       Asset under the given parent zone.
       
      repeated .google.cloud.dataplex.v1.Asset assets = 1;
    • getAssetsBuilder

      public Asset.Builder getAssetsBuilder(int index)
       Asset under the given parent zone.
       
      repeated .google.cloud.dataplex.v1.Asset assets = 1;
    • getAssetsOrBuilder

      public AssetOrBuilder getAssetsOrBuilder(int index)
       Asset under the given parent zone.
       
      repeated .google.cloud.dataplex.v1.Asset assets = 1;
      Specified by:
      getAssetsOrBuilder in interface ListAssetsResponseOrBuilder
    • getAssetsOrBuilderList

      public List<? extends AssetOrBuilder> getAssetsOrBuilderList()
       Asset under the given parent zone.
       
      repeated .google.cloud.dataplex.v1.Asset assets = 1;
      Specified by:
      getAssetsOrBuilderList in interface ListAssetsResponseOrBuilder
    • addAssetsBuilder

      public Asset.Builder addAssetsBuilder()
       Asset under the given parent zone.
       
      repeated .google.cloud.dataplex.v1.Asset assets = 1;
    • addAssetsBuilder

      public Asset.Builder addAssetsBuilder(int index)
       Asset under the given parent zone.
       
      repeated .google.cloud.dataplex.v1.Asset assets = 1;
    • getAssetsBuilderList

      public List<Asset.Builder> getAssetsBuilderList()
       Asset under the given parent zone.
       
      repeated .google.cloud.dataplex.v1.Asset assets = 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 ListAssetsResponseOrBuilder
      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 ListAssetsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

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