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.asset.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
 ListAssets response.
 
Protobuf type google.cloud.asset.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
    • hasReadTime

      public boolean hasReadTime()
       Time the snapshot was taken.
       
      .google.protobuf.Timestamp read_time = 1;
      Specified by:
      hasReadTime in interface ListAssetsResponseOrBuilder
      Returns:
      Whether the readTime field is set.
    • getReadTime

      public com.google.protobuf.Timestamp getReadTime()
       Time the snapshot was taken.
       
      .google.protobuf.Timestamp read_time = 1;
      Specified by:
      getReadTime in interface ListAssetsResponseOrBuilder
      Returns:
      The readTime.
    • setReadTime

      public ListAssetsResponse.Builder setReadTime(com.google.protobuf.Timestamp value)
       Time the snapshot was taken.
       
      .google.protobuf.Timestamp read_time = 1;
    • setReadTime

      public ListAssetsResponse.Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Time the snapshot was taken.
       
      .google.protobuf.Timestamp read_time = 1;
    • mergeReadTime

      public ListAssetsResponse.Builder mergeReadTime(com.google.protobuf.Timestamp value)
       Time the snapshot was taken.
       
      .google.protobuf.Timestamp read_time = 1;
    • clearReadTime

      public ListAssetsResponse.Builder clearReadTime()
       Time the snapshot was taken.
       
      .google.protobuf.Timestamp read_time = 1;
    • getReadTimeBuilder

      public com.google.protobuf.Timestamp.Builder getReadTimeBuilder()
       Time the snapshot was taken.
       
      .google.protobuf.Timestamp read_time = 1;
    • getReadTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder()
       Time the snapshot was taken.
       
      .google.protobuf.Timestamp read_time = 1;
      Specified by:
      getReadTimeOrBuilder in interface ListAssetsResponseOrBuilder
    • getAssetsList

      public List<Asset> getAssetsList()
       Assets.
       
      repeated .google.cloud.asset.v1.Asset assets = 2;
      Specified by:
      getAssetsList in interface ListAssetsResponseOrBuilder
    • getAssetsCount

      public int getAssetsCount()
       Assets.
       
      repeated .google.cloud.asset.v1.Asset assets = 2;
      Specified by:
      getAssetsCount in interface ListAssetsResponseOrBuilder
    • getAssets

      public Asset getAssets(int index)
       Assets.
       
      repeated .google.cloud.asset.v1.Asset assets = 2;
      Specified by:
      getAssets in interface ListAssetsResponseOrBuilder
    • setAssets

      public ListAssetsResponse.Builder setAssets(int index, Asset value)
       Assets.
       
      repeated .google.cloud.asset.v1.Asset assets = 2;
    • setAssets

      public ListAssetsResponse.Builder setAssets(int index, Asset.Builder builderForValue)
       Assets.
       
      repeated .google.cloud.asset.v1.Asset assets = 2;
    • addAssets

      public ListAssetsResponse.Builder addAssets(Asset value)
       Assets.
       
      repeated .google.cloud.asset.v1.Asset assets = 2;
    • addAssets

      public ListAssetsResponse.Builder addAssets(int index, Asset value)
       Assets.
       
      repeated .google.cloud.asset.v1.Asset assets = 2;
    • addAssets

      public ListAssetsResponse.Builder addAssets(Asset.Builder builderForValue)
       Assets.
       
      repeated .google.cloud.asset.v1.Asset assets = 2;
    • addAssets

      public ListAssetsResponse.Builder addAssets(int index, Asset.Builder builderForValue)
       Assets.
       
      repeated .google.cloud.asset.v1.Asset assets = 2;
    • addAllAssets

      public ListAssetsResponse.Builder addAllAssets(Iterable<? extends Asset> values)
       Assets.
       
      repeated .google.cloud.asset.v1.Asset assets = 2;
    • clearAssets

      public ListAssetsResponse.Builder clearAssets()
       Assets.
       
      repeated .google.cloud.asset.v1.Asset assets = 2;
    • removeAssets

      public ListAssetsResponse.Builder removeAssets(int index)
       Assets.
       
      repeated .google.cloud.asset.v1.Asset assets = 2;
    • getAssetsBuilder

      public Asset.Builder getAssetsBuilder(int index)
       Assets.
       
      repeated .google.cloud.asset.v1.Asset assets = 2;
    • getAssetsOrBuilder

      public AssetOrBuilder getAssetsOrBuilder(int index)
       Assets.
       
      repeated .google.cloud.asset.v1.Asset assets = 2;
      Specified by:
      getAssetsOrBuilder in interface ListAssetsResponseOrBuilder
    • getAssetsOrBuilderList

      public List<? extends AssetOrBuilder> getAssetsOrBuilderList()
       Assets.
       
      repeated .google.cloud.asset.v1.Asset assets = 2;
      Specified by:
      getAssetsOrBuilderList in interface ListAssetsResponseOrBuilder
    • addAssetsBuilder

      public Asset.Builder addAssetsBuilder()
       Assets.
       
      repeated .google.cloud.asset.v1.Asset assets = 2;
    • addAssetsBuilder

      public Asset.Builder addAssetsBuilder(int index)
       Assets.
       
      repeated .google.cloud.asset.v1.Asset assets = 2;
    • getAssetsBuilderList

      public List<Asset.Builder> getAssetsBuilderList()
       Assets.
       
      repeated .google.cloud.asset.v1.Asset assets = 2;
    • getNextPageToken

      public String getNextPageToken()
       Token to retrieve the next page of results. It expires 72 hours after the
       page token for the first page is generated. Set to empty if there are no
       remaining results.
       
      string next_page_token = 3;
      Specified by:
      getNextPageToken in interface ListAssetsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       Token to retrieve the next page of results. It expires 72 hours after the
       page token for the first page is generated. Set to empty if there are no
       remaining results.
       
      string next_page_token = 3;
      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. It expires 72 hours after the
       page token for the first page is generated. Set to empty if there are no
       remaining results.
       
      string next_page_token = 3;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListAssetsResponse.Builder clearNextPageToken()
       Token to retrieve the next page of results. It expires 72 hours after the
       page token for the first page is generated. Set to empty if there are no
       remaining results.
       
      string next_page_token = 3;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListAssetsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       Token to retrieve the next page of results. It expires 72 hours after the
       page token for the first page is generated. Set to empty if there are no
       remaining results.
       
      string next_page_token = 3;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.