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.video.livestream.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
 Response message for "LivestreamService.ListAssets".
 
Protobuf type google.cloud.video.livestream.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()
       The list of Assets
       
      repeated .google.cloud.video.livestream.v1.Asset assets = 1;
      Specified by:
      getAssetsList in interface ListAssetsResponseOrBuilder
    • getAssetsCount

      public int getAssetsCount()
       The list of Assets
       
      repeated .google.cloud.video.livestream.v1.Asset assets = 1;
      Specified by:
      getAssetsCount in interface ListAssetsResponseOrBuilder
    • getAssets

      public Asset getAssets(int index)
       The list of Assets
       
      repeated .google.cloud.video.livestream.v1.Asset assets = 1;
      Specified by:
      getAssets in interface ListAssetsResponseOrBuilder
    • setAssets

      public ListAssetsResponse.Builder setAssets(int index, Asset value)
       The list of Assets
       
      repeated .google.cloud.video.livestream.v1.Asset assets = 1;
    • setAssets

      public ListAssetsResponse.Builder setAssets(int index, Asset.Builder builderForValue)
       The list of Assets
       
      repeated .google.cloud.video.livestream.v1.Asset assets = 1;
    • addAssets

      public ListAssetsResponse.Builder addAssets(Asset value)
       The list of Assets
       
      repeated .google.cloud.video.livestream.v1.Asset assets = 1;
    • addAssets

      public ListAssetsResponse.Builder addAssets(int index, Asset value)
       The list of Assets
       
      repeated .google.cloud.video.livestream.v1.Asset assets = 1;
    • addAssets

      public ListAssetsResponse.Builder addAssets(Asset.Builder builderForValue)
       The list of Assets
       
      repeated .google.cloud.video.livestream.v1.Asset assets = 1;
    • addAssets

      public ListAssetsResponse.Builder addAssets(int index, Asset.Builder builderForValue)
       The list of Assets
       
      repeated .google.cloud.video.livestream.v1.Asset assets = 1;
    • addAllAssets

      public ListAssetsResponse.Builder addAllAssets(Iterable<? extends Asset> values)
       The list of Assets
       
      repeated .google.cloud.video.livestream.v1.Asset assets = 1;
    • clearAssets

      public ListAssetsResponse.Builder clearAssets()
       The list of Assets
       
      repeated .google.cloud.video.livestream.v1.Asset assets = 1;
    • removeAssets

      public ListAssetsResponse.Builder removeAssets(int index)
       The list of Assets
       
      repeated .google.cloud.video.livestream.v1.Asset assets = 1;
    • getAssetsBuilder

      public Asset.Builder getAssetsBuilder(int index)
       The list of Assets
       
      repeated .google.cloud.video.livestream.v1.Asset assets = 1;
    • getAssetsOrBuilder

      public AssetOrBuilder getAssetsOrBuilder(int index)
       The list of Assets
       
      repeated .google.cloud.video.livestream.v1.Asset assets = 1;
      Specified by:
      getAssetsOrBuilder in interface ListAssetsResponseOrBuilder
    • getAssetsOrBuilderList

      public List<? extends AssetOrBuilder> getAssetsOrBuilderList()
       The list of Assets
       
      repeated .google.cloud.video.livestream.v1.Asset assets = 1;
      Specified by:
      getAssetsOrBuilderList in interface ListAssetsResponseOrBuilder
    • addAssetsBuilder

      public Asset.Builder addAssetsBuilder()
       The list of Assets
       
      repeated .google.cloud.video.livestream.v1.Asset assets = 1;
    • addAssetsBuilder

      public Asset.Builder addAssetsBuilder(int index)
       The list of Assets
       
      repeated .google.cloud.video.livestream.v1.Asset assets = 1;
    • getAssetsBuilderList

      public List<Asset.Builder> getAssetsBuilderList()
       The list of Assets
       
      repeated .google.cloud.video.livestream.v1.Asset assets = 1;
    • getNextPageToken

      public String getNextPageToken()
       The next_page_token value returned from a previous List request, if any.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListAssetsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       The next_page_token value returned from a previous List request, if any.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListAssetsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListAssetsResponse.Builder setNextPageToken(String value)
       The next_page_token value returned from a previous List request, if any.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListAssetsResponse.Builder clearNextPageToken()
       The next_page_token value returned from a previous List request, if any.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListAssetsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       The next_page_token value returned from a previous List request, if any.
       
      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 ListAssetsResponseOrBuilder
      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 ListAssetsResponseOrBuilder
      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 ListAssetsResponseOrBuilder
      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 ListAssetsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

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

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