code: @SuppressWarnings("WeakerAccess")
    public ApiFuture<AppProfile> getAppProfileAsync(String instanceId, String appProfileId) {
      String name = NameUtil.formatAppProfileName(projectId, instanceId, appProfileId);
  
      GetAppProfileRequest request =
          GetAppProfileRequest.newBuilder().setName(name.toString()).build();
  
      return ApiFutures.transform(
          stub.getAppProfileCallable().futureCall(request),
          new ApiFunction<com.google.bigtable.admin.v2.AppProfile, AppProfile>() {
            @Override
            public AppProfile apply(com.google.bigtable.admin.v2.AppProfile proto) {
              return AppProfile.fromProto(proto);
            }
          },
          MoreExecutors.directExecutor());
    }
docs: Asynchronously get the app profile by id.
  
  <p>Sample code:
  
  <pre>{@code
  ApiFuture<AppProfile> appProfileFuture = client.getAppProfileAsync("my-instance", "my-app-profile");
  
  AppProfile appProfile = appProfileFuture.get();
  }</pre>
  
  @see AppProfile