code: public Observable<Page<BuildInner>> listAsync(final String resourceGroupName, final String registryName) {
          return listWithServiceResponseAsync(resourceGroupName, registryName)
              .map(new Func1<ServiceResponse<Page<BuildInner>>, Page<BuildInner>>() {
                  @Override
                  public Page<BuildInner> call(ServiceResponse<Page<BuildInner>> response) {
                      return response.body();
                  }
              });
      }
docs: Gets all the builds for a registry.
  
  @param resourceGroupName The name of the resource group to which the container registry belongs.
  @param registryName The name of the container registry.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the PagedList&lt;BuildInner&gt; object