{"action":"created","comment":{"url":"https://api.github.com/repos/apache/incubator-beam/pulls/comments/56548667","id":56548667,"diff_hunk":"@@ -0,0 +1,376 @@\n+/*\n+ * Copyright (C) 2016 Google Inc.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n+ * use this file except in compliance with the License. You may obtain a copy of\n+ * the License at\n+ *\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n+ * License for the specific language governing permissions and limitations under\n+ * the License.\n+ */\n+\n+package com.google.cloud.dataflow.sdk.transforms.display;\n+\n+import static com.google.common.base.Preconditions.checkArgument;\n+import static com.google.common.base.Preconditions.checkNotNull;\n+\n+import com.google.auto.value.AutoValue;\n+import com.google.cloud.dataflow.sdk.transforms.DoFn;\n+import com.google.cloud.dataflow.sdk.transforms.PTransform;\n+import com.google.cloud.dataflow.sdk.transforms.ParDo;\n+import com.google.common.collect.ImmutableMap;\n+import com.google.common.collect.Maps;\n+import com.google.common.collect.Sets;\n+\n+import org.joda.time.Duration;\n+import org.joda.time.Instant;\n+\n+import java.util.Collection;\n+import java.util.Map;\n+import java.util.Set;\n+\n+/**\n+ * Static display metadata associated with a {@link PTransform}. Display data is useful for\n+ * pipeline runner UIs and diagnostic dashboards to display details about {@link PTransform}s\n+ * that make up a pipeline.\n+ *\n+ * <p>{@link PTransform}s specify their display data by implementing the {@link HasDisplayData}\n+ * interface.\n+ */\n+public class DisplayData {\n+  private static final DisplayData EMPTY = new DisplayData(Maps.<Identifier, Item<?>>newHashMap());\n+  private final ImmutableMap<Identifier, Item<?>> entries;\n+\n+  private DisplayData(Map<Identifier, Item<?>> entries) {\n+    this.entries = ImmutableMap.copyOf(entries);\n+  }\n+\n+  /**\n+   * Default empty {@link DisplayData} instance.\n+   */\n+  public static DisplayData none() {\n+    return EMPTY;\n+  }\n+\n+  /**\n+   * Collect the {@link DisplayData} for a {@link PTransform}. This will traverse all subcomponents\n+   * specified via {@link Builder#include} in the given transform.\n+   */\n+  public static DisplayData from(PTransform<?, ?> transform) {\n+    checkNotNull(transform);\n+    return InternalBuilder.forRoot(transform).build();\n+  }\n+\n+  public Collection<Item<?>> items() {\n+    return entries.values();\n+  }\n+\n+  public Map<Identifier, Item<?>> asMap() {\n+    return entries;\n+  }\n+\n+  /**\n+   * Utility to build up display metadata from a @{link PTransform} and its included\n+   * subcomponents.\n+   */\n+  public static interface Builder {\n+    /**\n+     * Include display metadata from the specified subcomponent. For example, a {@link ParDo}\n+     * transform includes display metadata from the encapsulated {@link DoFn}.\n+     *\n+     * @return A builder instance to continue to build in a fluent-style.\n+     */\n+    Builder include(HasDisplayData subComponent);\n+\n+    /**\n+     * Register the given display metadata.\n+     */\n+    ItemBuilder add(String key, String value);\n+\n+    /**\n+     * Register the given display metadata.\n+     */\n+    ItemBuilder add(String key, long value);\n+\n+    /**\n+     * Register the given display metadata.\n+     */\n+    ItemBuilder add(String key, double value);\n+\n+    /**\n+     * Register the given display metadata.\n+     */\n+    ItemBuilder add(String key, Instant value);\n+\n+    /**\n+     * Register the given display metadata.\n+     */\n+    ItemBuilder add(String key, Duration value);\n+\n+    /**\n+     * Register the given display metadata.\n+     */\n+    ItemBuilder add(String key, Class<?> value);\n+  }\n+\n+  /**\n+   * Utility to append optional fields to display metadata, or register additional display metadata\n+   * items.\n+   */\n+  public static interface ItemBuilder extends Builder {\n+    /**\n+     * Add a human-readable label to describe the metadata field. A label is optional; if\n+     * unspecified, UIs should display the metadata key to identify the display item.\n+     */\n+    ItemBuilder withLabel(String label);\n+\n+    /**\n+     * Add a link URL to the registered display metadata. A link URL is optional and\n+     * can be provided to point the reader to additional details about the metadata.\n+     */\n+    ItemBuilder withLinkUrl(String url);\n+  }\n+\n+  /**\n+   * A display metadata item. DisplayData items are registered via {@link Builder#add} within\n+   * {@link HasDisplayData#populateDisplayData} implementations. Each metadata item is uniquely\n+   * identified by the specified key and namespace generated from the registering component's\n+   * class name.\n+   */\n+  public static class Item<T> {\n+    private final String key;\n+    private final String ns;\n+    private final Type type;\n+    private final T value;\n+    private final String label;\n+    private final String url;\n+\n+    private static <T> Item<T> create(String namespace, String key, Type type, T value) {\n+      return new Item<>(namespace, key, type, value, null, null);\n+    }\n+\n+    private Item(String namespace, String key, Type type, T value, String url, String label) {\n+      this.ns = namespace;\n+      this.key = key;\n+      this.type = type;\n+      this.value = value;\n+      this.url = url;\n+      this.label = label;\n+    }\n+\n+    String getNamespace() {\n+      return ns;\n+    }\n+\n+    Type getType() {\n+      return type;\n+    }\n+\n+    T getValue() {\n+      return value;\n+    }\n+\n+    String getLabel() {\n+      return label;\n+    }\n+\n+    String getUrl() {\n+      return url;\n+    }\n+\n+    String getKey() {\n+      return key;\n+    }\n+\n+    /**\n+     * Retrieve a serialized version of the display item value suitable for use as JSON.\n+     */\n+    String getValueString() {\n+      return type.serializeJsonString(value);\n+    }\n+\n+    private Item<T> addLabel(String label) {\n+      return new Item<>(this.ns, this.key, this.type, this.value, this.url, label);\n+    }\n+\n+    private Item<T> addUrl(String url) {\n+      return new Item<>(this.ns, this.key, this.type, this.value, url, this.label);\n+    }\n+  }\n+\n+  /**\n+   * Unique identifier for a display metadata item within a {@link PTransform} instance.\n+   * Identifiers are composed of the key the are registered with and a namespace generated from\n+   * the class of the component which registered the item.\n+   *\n+   * <p>Display metadata registered with the same key from different components will have different\n+   * namespaces and will thus both be represented in the composed {@link DisplayData}. If a\n+   * single component registers multiple metadata items with the same key, only the most recent\n+   * item will be retained; previous versions are discarded.\n+   */\n+  @AutoValue\n+  abstract static class Identifier {\n+    static Identifier of(String namespace, String key) {\n+      return new AutoValue_DisplayData_Identifier(namespace, key);\n+    }\n+\n+    abstract String getNamespace();\n+\n+    abstract String getKey();\n+  }\n+\n+  /**\n+   * Display metadata type.\n+   */\n+  static enum Type {\n+    STRING {\n+      @Override\n+      String serializeJsonString(Object value) {\n+        return (String) value;\n+      }\n+    },\n+    INTEGER {\n+      @Override\n+      String serializeJsonString(Object value) {\n+        return Long.toString((long) value);\n+      }\n+    },\n+    FLOAT {\n+      @Override\n+      String serializeJsonString(Object value) {\n+        return Double.toString((Double) value);\n+      }\n+    },\n+    TIMESTAMP() {\n+      @Override\n+      String serializeJsonString(Object value) {\n+        return Long.toString(((Instant) value).getMillis());\n+      }\n+    },\n+    DURATION {\n+      @Override\n+      String serializeJsonString(Object value) {\n+        return Long.toString(((Duration) value).getMillis());\n+      }\n+    },\n+    JAVA_CLASS {\n+      @Override\n+      String serializeJsonString(Object value) {\n+        return ((Class<?>) value).getName();","path":"sdk/src/main/java/com/google/cloud/dataflow/sdk/transforms/display/DisplayData.java","position":264,"original_position":264,"commit_id":"de1bce41d366cc97a4b4bdf569e597d3836e123c","original_commit_id":"de1bce41d366cc97a4b4bdf569e597d3836e123c","user":{"login":"bjchambers","id":35960,"avatar_url":"https://avatars.githubusercontent.com/u/35960?v=3","gravatar_id":"","url":"https://api.github.com/users/bjchambers","html_url":"https://github.com/bjchambers","followers_url":"https://api.github.com/users/bjchambers/followers","following_url":"https://api.github.com/users/bjchambers/following{/other_user}","gists_url":"https://api.github.com/users/bjchambers/gists{/gist_id}","starred_url":"https://api.github.com/users/bjchambers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjchambers/subscriptions","organizations_url":"https://api.github.com/users/bjchambers/orgs","repos_url":"https://api.github.com/users/bjchambers/repos","events_url":"https://api.github.com/users/bjchambers/events{/privacy}","received_events_url":"https://api.github.com/users/bjchambers/received_events","type":"User","site_admin":false},"body":"I believe the proposal suggested encoding the getSimpleName() and the getName() separately, so that rendering systems don't need to parse the name and duplicate that logic.","created_at":"2016-03-17T17:53:38Z","updated_at":"2016-03-17T17:53:38Z","html_url":"https://github.com/apache/incubator-beam/pull/56#discussion_r56548667","pull_request_url":"https://api.github.com/repos/apache/incubator-beam/pulls/56","_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/comments/56548667"},"html":{"href":"https://github.com/apache/incubator-beam/pull/56#discussion_r56548667"},"pull_request":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/56"}}},"pull_request":{"url":"https://api.github.com/repos/apache/incubator-beam/pulls/56","id":63260854,"html_url":"https://github.com/apache/incubator-beam/pull/56","diff_url":"https://github.com/apache/incubator-beam/pull/56.diff","patch_url":"https://github.com/apache/incubator-beam/pull/56.patch","issue_url":"https://api.github.com/repos/apache/incubator-beam/issues/56","number":56,"state":"open","locked":false,"title":"[BEAM-118] Add DipslayData primitives to SDK","user":{"login":"swegner","id":674021,"avatar_url":"https://avatars.githubusercontent.com/u/674021?v=3","gravatar_id":"","url":"https://api.github.com/users/swegner","html_url":"https://github.com/swegner","followers_url":"https://api.github.com/users/swegner/followers","following_url":"https://api.github.com/users/swegner/following{/other_user}","gists_url":"https://api.github.com/users/swegner/gists{/gist_id}","starred_url":"https://api.github.com/users/swegner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swegner/subscriptions","organizations_url":"https://api.github.com/users/swegner/orgs","repos_url":"https://api.github.com/users/swegner/repos","events_url":"https://api.github.com/users/swegner/events{/privacy}","received_events_url":"https://api.github.com/users/swegner/received_events","type":"User","site_admin":false},"body":"This introduces the new SDK primitives necessary for the Static Display Metadata feature.\r\n\r\nContext:\r\n* https://issues.apache.org/jira/browse/BEAM-117\r\n* https://docs.google.com/document/d/11enEB9JwVp6vO0uOYYTMYTGkr3TdNfELwWqoiUg5ZxM/edit?usp=sharing","created_at":"2016-03-17T17:25:27Z","updated_at":"2016-03-17T17:53:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"55f894620f09447fa115463df83d6564d1307699","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-beam/pulls/56/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-beam/pulls/56/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-beam/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/incubator-beam/issues/56/comments","statuses_url":"https://api.github.com/repos/apache/incubator-beam/statuses/de1bce41d366cc97a4b4bdf569e597d3836e123c","head":{"label":"swegner:displaydata-sdk","ref":"displaydata-sdk","sha":"de1bce41d366cc97a4b4bdf569e597d3836e123c","user":{"login":"swegner","id":674021,"avatar_url":"https://avatars.githubusercontent.com/u/674021?v=3","gravatar_id":"","url":"https://api.github.com/users/swegner","html_url":"https://github.com/swegner","followers_url":"https://api.github.com/users/swegner/followers","following_url":"https://api.github.com/users/swegner/following{/other_user}","gists_url":"https://api.github.com/users/swegner/gists{/gist_id}","starred_url":"https://api.github.com/users/swegner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swegner/subscriptions","organizations_url":"https://api.github.com/users/swegner/orgs","repos_url":"https://api.github.com/users/swegner/repos","events_url":"https://api.github.com/users/swegner/events{/privacy}","received_events_url":"https://api.github.com/users/swegner/received_events","type":"User","site_admin":false},"repo":{"id":52832170,"name":"incubator-beam","full_name":"swegner/incubator-beam","owner":{"login":"swegner","id":674021,"avatar_url":"https://avatars.githubusercontent.com/u/674021?v=3","gravatar_id":"","url":"https://api.github.com/users/swegner","html_url":"https://github.com/swegner","followers_url":"https://api.github.com/users/swegner/followers","following_url":"https://api.github.com/users/swegner/following{/other_user}","gists_url":"https://api.github.com/users/swegner/gists{/gist_id}","starred_url":"https://api.github.com/users/swegner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swegner/subscriptions","organizations_url":"https://api.github.com/users/swegner/orgs","repos_url":"https://api.github.com/users/swegner/repos","events_url":"https://api.github.com/users/swegner/events{/privacy}","received_events_url":"https://api.github.com/users/swegner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/swegner/incubator-beam","description":"Mirror of Apache Beam (Incubating)","fork":true,"url":"https://api.github.com/repos/swegner/incubator-beam","forks_url":"https://api.github.com/repos/swegner/incubator-beam/forks","keys_url":"https://api.github.com/repos/swegner/incubator-beam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swegner/incubator-beam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swegner/incubator-beam/teams","hooks_url":"https://api.github.com/repos/swegner/incubator-beam/hooks","issue_events_url":"https://api.github.com/repos/swegner/incubator-beam/issues/events{/number}","events_url":"https://api.github.com/repos/swegner/incubator-beam/events","assignees_url":"https://api.github.com/repos/swegner/incubator-beam/assignees{/user}","branches_url":"https://api.github.com/repos/swegner/incubator-beam/branches{/branch}","tags_url":"https://api.github.com/repos/swegner/incubator-beam/tags","blobs_url":"https://api.github.com/repos/swegner/incubator-beam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swegner/incubator-beam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swegner/incubator-beam/git/refs{/sha}","trees_url":"https://api.github.com/repos/swegner/incubator-beam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swegner/incubator-beam/statuses/{sha}","languages_url":"https://api.github.com/repos/swegner/incubator-beam/languages","stargazers_url":"https://api.github.com/repos/swegner/incubator-beam/stargazers","contributors_url":"https://api.github.com/repos/swegner/incubator-beam/contributors","subscribers_url":"https://api.github.com/repos/swegner/incubator-beam/subscribers","subscription_url":"https://api.github.com/repos/swegner/incubator-beam/subscription","commits_url":"https://api.github.com/repos/swegner/incubator-beam/commits{/sha}","git_commits_url":"https://api.github.com/repos/swegner/incubator-beam/git/commits{/sha}","comments_url":"https://api.github.com/repos/swegner/incubator-beam/comments{/number}","issue_comment_url":"https://api.github.com/repos/swegner/incubator-beam/issues/comments{/number}","contents_url":"https://api.github.com/repos/swegner/incubator-beam/contents/{+path}","compare_url":"https://api.github.com/repos/swegner/incubator-beam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swegner/incubator-beam/merges","archive_url":"https://api.github.com/repos/swegner/incubator-beam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swegner/incubator-beam/downloads","issues_url":"https://api.github.com/repos/swegner/incubator-beam/issues{/number}","pulls_url":"https://api.github.com/repos/swegner/incubator-beam/pulls{/number}","milestones_url":"https://api.github.com/repos/swegner/incubator-beam/milestones{/number}","notifications_url":"https://api.github.com/repos/swegner/incubator-beam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swegner/incubator-beam/labels{/name}","releases_url":"https://api.github.com/repos/swegner/incubator-beam/releases{/id}","deployments_url":"https://api.github.com/repos/swegner/incubator-beam/deployments","created_at":"2016-02-29T23:20:08Z","updated_at":"2016-02-29T23:20:11Z","pushed_at":"2016-03-17T17:23:06Z","git_url":"git://github.com/swegner/incubator-beam.git","ssh_url":"git@github.com:swegner/incubator-beam.git","clone_url":"https://github.com/swegner/incubator-beam.git","svn_url":"https://github.com/swegner/incubator-beam","homepage":null,"size":11450,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"659f0b8779c05e160d7e2c031b18b7bceb00de79","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":50904245,"name":"incubator-beam","full_name":"apache/incubator-beam","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/incubator-beam","description":"Mirror of Apache Beam (Incubating)","fork":false,"url":"https://api.github.com/repos/apache/incubator-beam","forks_url":"https://api.github.com/repos/apache/incubator-beam/forks","keys_url":"https://api.github.com/repos/apache/incubator-beam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-beam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-beam/teams","hooks_url":"https://api.github.com/repos/apache/incubator-beam/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-beam/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-beam/events","assignees_url":"https://api.github.com/repos/apache/incubator-beam/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-beam/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-beam/tags","blobs_url":"https://api.github.com/repos/apache/incubator-beam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-beam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-beam/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-beam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-beam/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-beam/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-beam/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-beam/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-beam/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-beam/subscription","commits_url":"https://api.github.com/repos/apache/incubator-beam/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-beam/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-beam/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-beam/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-beam/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-beam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-beam/merges","archive_url":"https://api.github.com/repos/apache/incubator-beam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-beam/downloads","issues_url":"https://api.github.com/repos/apache/incubator-beam/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-beam/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-beam/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-beam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-beam/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-beam/releases{/id}","deployments_url":"https://api.github.com/repos/apache/incubator-beam/deployments","created_at":"2016-02-02T08:00:06Z","updated_at":"2016-03-17T17:51:58Z","pushed_at":"2016-03-17T17:25:27Z","git_url":"git://github.com/apache/incubator-beam.git","ssh_url":"git@github.com:apache/incubator-beam.git","clone_url":"https://github.com/apache/incubator-beam.git","svn_url":"https://github.com/apache/incubator-beam","homepage":null,"size":11611,"stargazers_count":74,"watchers_count":74,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":40,"mirror_url":"git://git.apache.org/incubator-beam.git","open_issues_count":14,"forks":40,"open_issues":14,"watchers":74,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/56"},"html":{"href":"https://github.com/apache/incubator-beam/pull/56"},"issue":{"href":"https://api.github.com/repos/apache/incubator-beam/issues/56"},"comments":{"href":"https://api.github.com/repos/apache/incubator-beam/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-beam/statuses/de1bce41d366cc97a4b4bdf569e597d3836e123c"}}}}