{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/comments/80206197","id":80206197,"diff_hunk":"@@ -0,0 +1,597 @@\n+/*\n+ * Copyright 2016 Google Inc. All Rights Reserved.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of 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,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+/*\n+ * EDITING INSTRUCTIONS\n+ * This file is referenced in BigQuery's javadoc. Any change to this file should be reflected in\n+ * BigQuery's javadoc.\n+ */\n+\n+package com.google.cloud.examples.bigquery.snippets;\n+\n+import com.google.api.client.util.Charsets;\n+import com.google.cloud.BaseWriteChannel;\n+import com.google.cloud.Page;\n+import com.google.cloud.bigquery.BigQuery;\n+import com.google.cloud.bigquery.BigQuery.DatasetDeleteOption;\n+import com.google.cloud.bigquery.BigQuery.DatasetListOption;\n+import com.google.cloud.bigquery.BigQuery.JobListOption;\n+import com.google.cloud.bigquery.BigQuery.TableDataListOption;\n+import com.google.cloud.bigquery.BigQuery.TableListOption;\n+import com.google.cloud.bigquery.BigQueryError;\n+import com.google.cloud.bigquery.BigQueryException;\n+import com.google.cloud.bigquery.BigQueryOptions;\n+import com.google.cloud.bigquery.Dataset;\n+import com.google.cloud.bigquery.DatasetId;\n+import com.google.cloud.bigquery.DatasetInfo;\n+import com.google.cloud.bigquery.Field;\n+import com.google.cloud.bigquery.FieldValue;\n+import com.google.cloud.bigquery.FormatOptions;\n+import com.google.cloud.bigquery.InsertAllRequest;\n+import com.google.cloud.bigquery.InsertAllResponse;\n+import com.google.cloud.bigquery.Job;\n+import com.google.cloud.bigquery.JobConfiguration;\n+import com.google.cloud.bigquery.JobId;\n+import com.google.cloud.bigquery.JobInfo;\n+import com.google.cloud.bigquery.QueryJobConfiguration;\n+import com.google.cloud.bigquery.QueryRequest;\n+import com.google.cloud.bigquery.QueryResponse;\n+import com.google.cloud.bigquery.QueryResult;\n+import com.google.cloud.bigquery.Schema;\n+import com.google.cloud.bigquery.StandardTableDefinition;\n+import com.google.cloud.bigquery.Table;\n+import com.google.cloud.bigquery.TableDefinition;\n+import com.google.cloud.bigquery.TableId;\n+import com.google.cloud.bigquery.TableInfo;\n+import com.google.cloud.bigquery.WriteChannelConfiguration;\n+\n+import java.io.IOException;\n+import java.nio.ByteBuffer;\n+import java.util.HashMap;\n+import java.util.Iterator;\n+import java.util.List;\n+import java.util.Map;\n+import java.util.Map.Entry;\n+\n+/**\n+ * This class contains a number of snippets for the {@link BigQuery} interface.\n+ */\n+public class BigQuerySnippets {\n+\n+  private final BigQuery bigquery;\n+\n+  public BigQuerySnippets(BigQuery bigquery) {\n+    this.bigquery = bigquery;\n+  }\n+\n+  /**\n+   * Example of creating a dataset.\n+   */\n+  // [TARGET create(DatasetInfo, DatasetOption...)]\n+  // [VARIABLE \"my_dataset_name\"]\n+  public Dataset createDataset(String datasetName) {\n+    // [START createDataset]\n+    Dataset dataset = null;\n+    DatasetInfo datasetInfo = DatasetInfo.builder(datasetName).build();\n+    try {\n+      // the dataset was created\n+      dataset = bigquery.create(datasetInfo);\n+    } catch (BigQueryException e) {\n+      // the dataset was not created\n+    }\n+    // [END createDataset]\n+    return dataset;\n+  }\n+\n+  /**\n+   * Example of updating a dataset by changing its friendly name.\n+   */\n+  // [TARGET update(DatasetInfo, DatasetOption...)]\n+  // [VARIABLE \"my_dataset_name\"]\n+  // [VARIABLE \"some_new_friendly_name\"]\n+  public Dataset updateDataset(String datasetName, String newFriendlyName) {\n+    // [START updateDataset]\n+    Dataset oldDataset = bigquery.getDataset(datasetName);\n+    DatasetInfo datasetInfo = oldDataset.toBuilder().friendlyName(newFriendlyName).build();\n+    Dataset newDataset = bigquery.update(datasetInfo);\n+    // [END updateDataset]\n+    return newDataset;\n+  }\n+\n+  /**\n+   * Example of updating a table by changing its friendly name.\n+   */\n+  // [TARGET update(TableInfo, TableOption...)]\n+  // [VARIABLE \"my_dataset_name\"]\n+  // [VARIABLE \"my_table_name\"]\n+  // [VARIABLE \"new_friendly_name\"]\n+  public Table updateTable(String datasetName, String tableName, String newFriendlyName) {\n+    // [START updateTable]\n+    Table oldTable = bigquery.getTable(datasetName, tableName);\n+    TableInfo tableInfo = oldTable.toBuilder().friendlyName(newFriendlyName).build();\n+    Table newTable = bigquery.update(tableInfo);\n+    // [END updateTable]\n+    return newTable;\n+  }\n+\n+  /**\n+   * Example of listing datasets, specifying the page size.\n+   */\n+  // [TARGET listDatasets(DatasetListOption...)]\n+  public Page<Dataset> listDatasets() {\n+    // [START listDatasets]\n+    Page<Dataset> datasets = bigquery.listDatasets(DatasetListOption.pageSize(100));\n+    Iterator<Dataset> datasetIterator = datasets.iterateAll();\n+    while (datasetIterator.hasNext()) {\n+      Dataset dataset = datasetIterator.next();\n+      // do something with the dataset\n+    }\n+    // [END listDatasets]\n+    return datasets;\n+  }\n+\n+  /**\n+   * Example of listing datasets in a project, specifying the page size.\n+   */\n+  // [TARGET listDatasets(String, DatasetListOption...)]\n+  // [VARIABLE \"my_project_id\"]\n+  public Page<Dataset> listDatasets(String projectId) {\n+    // [START listDatasets]\n+    Page<Dataset> datasets = bigquery.listDatasets(projectId, DatasetListOption.pageSize(100));\n+    Iterator<Dataset> datasetIterator = datasets.iterateAll();\n+    while (datasetIterator.hasNext()) {\n+      Dataset dataset = datasetIterator.next();\n+      // do something with the dataset\n+    }\n+    // [END listDatasets]\n+    return datasets;\n+  }\n+\n+  /**\n+   * Example of deleting a dataset from its id, even if non-empty.\n+   */\n+  // [TARGET delete(String, DatasetDeleteOption...)]\n+  // [VARIABLE \"my_dataset_name\"]\n+  public Boolean deleteDataset(String datasetName) {\n+    // [START deleteDataset]\n+    Boolean deleted = bigquery.delete(datasetName, DatasetDeleteOption.deleteContents());\n+    if (deleted) {\n+      // the dataset was deleted\n+    } else {\n+      // the dataset was not found\n+    }\n+    // [END deleteDataset]\n+    return deleted;\n+  }\n+\n+  /**\n+   * Example of deleting a dataset, even if non-empty.\n+   */\n+  // [TARGET delete(DatasetId, DatasetDeleteOption...)]\n+  // [VARIABLE \"my_project_id\"]\n+  // [VARIABLE \"my_dataset_name\"]\n+  public Boolean deleteDatasetFromId(String projectId, String datasetName) {\n+    // [START deleteDatasetFromId]\n+    DatasetId datasetId = DatasetId.of(projectId, datasetName);\n+    Boolean deleted = bigquery.delete(datasetId, DatasetDeleteOption.deleteContents());\n+    if (deleted) {\n+      // the dataset was deleted\n+    } else {\n+      // the dataset was not found\n+    }\n+    // [END deleteDatasetFromId]\n+    return deleted;\n+  }\n+\n+  /**\n+   * Example of deleting a table.\n+   */\n+  // [TARGET delete(String, String)]\n+  // [VARIABLE \"my_dataset_name\"]\n+  // [VARIABLE \"my_table_name\"]\n+  public Boolean deleteTable(String datasetName, String tableName) {\n+    // [START deleteTable]\n+    Boolean deleted = bigquery.delete(datasetName, tableName);\n+    if (deleted) {\n+      // the table was deleted\n+    } else {\n+      // the table was not found\n+    }\n+    // [END deleteTable]\n+    return deleted;\n+  }\n+\n+  /**\n+   * Example of deleting a table.\n+   */\n+  // [TARGET delete(TableId)]\n+  // [VARIABLE \"my_project_id\"]\n+  // [VARIABLE \"my_dataset_name\"]\n+  // [VARIABLE \"my_table_name\"]\n+  public Boolean deleteTableFromId(String projectId, String datasetName, String tableName) {\n+    // [START deleteTableFromId]\n+    TableId tableId = TableId.of(projectId, datasetName, tableName);\n+    Boolean deleted = bigquery.delete(tableId);\n+    if (deleted) {\n+      // the table was deleted\n+    } else {\n+      // the table was not found\n+    }\n+    // [END deleteTableFromId]\n+    return deleted;\n+  }\n+\n+  /**\n+   * Example of listing the tables in a dataset, specifying the page size.\n+   */\n+  // [TARGET listTables(String, TableListOption...)]\n+  // [VARIABLE \"my_dataset_name\"]\n+  public Page<Table> listTables(String datasetName) {\n+    // [START listTables]\n+    Page<Table> tables = bigquery.listTables(datasetName, TableListOption.pageSize(100));\n+    Iterator<Table> tableIterator = tables.iterateAll();\n+    while (tableIterator.hasNext()) {\n+      Table table = tableIterator.next();","path":"google-cloud-examples/src/main/java/com/google/cloud/examples/bigquery/snippets/BigQuerySnippets.java","position":247,"original_position":247,"commit_id":"39e63b5b1cb6902b02539aa41a2fff42558481c6","original_commit_id":"39e63b5b1cb6902b02539aa41a2fff42558481c6","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars.githubusercontent.com/u/19940114?v=3","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Avoid unused local variables such as 'table'.](https://www.codacy.com/app/mziccard/google-cloud-java/file/4015631891/issues/source?bid=3123103&fileBranchId=3737848#l247)","created_at":"2016-09-23T08:59:59Z","updated_at":"2016-09-23T08:59:59Z","html_url":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/1279#discussion_r80206197","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/1279","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/comments/80206197"},"html":{"href":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/1279#discussion_r80206197"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/1279"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/1279","id":86476081,"html_url":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/1279","diff_url":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/1279.diff","patch_url":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/1279.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues/1279","number":1279,"state":"open","locked":false,"title":"Add snippets to BigQuery's javadoc, BigQuerySnippets class and tests","user":{"login":"mziccard","id":450933,"avatar_url":"https://avatars.githubusercontent.com/u/450933?v=3","gravatar_id":"","url":"https://api.github.com/users/mziccard","html_url":"https://github.com/mziccard","followers_url":"https://api.github.com/users/mziccard/followers","following_url":"https://api.github.com/users/mziccard/following{/other_user}","gists_url":"https://api.github.com/users/mziccard/gists{/gist_id}","starred_url":"https://api.github.com/users/mziccard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mziccard/subscriptions","organizations_url":"https://api.github.com/users/mziccard/orgs","repos_url":"https://api.github.com/users/mziccard/repos","events_url":"https://api.github.com/users/mziccard/events{/privacy}","received_events_url":"https://api.github.com/users/mziccard/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-23T08:56:37Z","updated_at":"2016-09-23T08:59:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0fd186c0216837334a38e412db974c3efd7013f3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/1279/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/1279/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues/1279/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/statuses/39e63b5b1cb6902b02539aa41a2fff42558481c6","head":{"label":"mziccard:bigquery-snippets","ref":"bigquery-snippets","sha":"39e63b5b1cb6902b02539aa41a2fff42558481c6","user":{"login":"mziccard","id":450933,"avatar_url":"https://avatars.githubusercontent.com/u/450933?v=3","gravatar_id":"","url":"https://api.github.com/users/mziccard","html_url":"https://github.com/mziccard","followers_url":"https://api.github.com/users/mziccard/followers","following_url":"https://api.github.com/users/mziccard/following{/other_user}","gists_url":"https://api.github.com/users/mziccard/gists{/gist_id}","starred_url":"https://api.github.com/users/mziccard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mziccard/subscriptions","organizations_url":"https://api.github.com/users/mziccard/orgs","repos_url":"https://api.github.com/users/mziccard/repos","events_url":"https://api.github.com/users/mziccard/events{/privacy}","received_events_url":"https://api.github.com/users/mziccard/received_events","type":"User","site_admin":false},"repo":{"id":40965279,"name":"gcloud-java","full_name":"mziccard/gcloud-java","owner":{"login":"mziccard","id":450933,"avatar_url":"https://avatars.githubusercontent.com/u/450933?v=3","gravatar_id":"","url":"https://api.github.com/users/mziccard","html_url":"https://github.com/mziccard","followers_url":"https://api.github.com/users/mziccard/followers","following_url":"https://api.github.com/users/mziccard/following{/other_user}","gists_url":"https://api.github.com/users/mziccard/gists{/gist_id}","starred_url":"https://api.github.com/users/mziccard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mziccard/subscriptions","organizations_url":"https://api.github.com/users/mziccard/orgs","repos_url":"https://api.github.com/users/mziccard/repos","events_url":"https://api.github.com/users/mziccard/events{/privacy}","received_events_url":"https://api.github.com/users/mziccard/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mziccard/gcloud-java","description":"Google Cloud Client Library for Java","fork":true,"url":"https://api.github.com/repos/mziccard/gcloud-java","forks_url":"https://api.github.com/repos/mziccard/gcloud-java/forks","keys_url":"https://api.github.com/repos/mziccard/gcloud-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mziccard/gcloud-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mziccard/gcloud-java/teams","hooks_url":"https://api.github.com/repos/mziccard/gcloud-java/hooks","issue_events_url":"https://api.github.com/repos/mziccard/gcloud-java/issues/events{/number}","events_url":"https://api.github.com/repos/mziccard/gcloud-java/events","assignees_url":"https://api.github.com/repos/mziccard/gcloud-java/assignees{/user}","branches_url":"https://api.github.com/repos/mziccard/gcloud-java/branches{/branch}","tags_url":"https://api.github.com/repos/mziccard/gcloud-java/tags","blobs_url":"https://api.github.com/repos/mziccard/gcloud-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mziccard/gcloud-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mziccard/gcloud-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/mziccard/gcloud-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mziccard/gcloud-java/statuses/{sha}","languages_url":"https://api.github.com/repos/mziccard/gcloud-java/languages","stargazers_url":"https://api.github.com/repos/mziccard/gcloud-java/stargazers","contributors_url":"https://api.github.com/repos/mziccard/gcloud-java/contributors","subscribers_url":"https://api.github.com/repos/mziccard/gcloud-java/subscribers","subscription_url":"https://api.github.com/repos/mziccard/gcloud-java/subscription","commits_url":"https://api.github.com/repos/mziccard/gcloud-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/mziccard/gcloud-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/mziccard/gcloud-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/mziccard/gcloud-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/mziccard/gcloud-java/contents/{+path}","compare_url":"https://api.github.com/repos/mziccard/gcloud-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mziccard/gcloud-java/merges","archive_url":"https://api.github.com/repos/mziccard/gcloud-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mziccard/gcloud-java/downloads","issues_url":"https://api.github.com/repos/mziccard/gcloud-java/issues{/number}","pulls_url":"https://api.github.com/repos/mziccard/gcloud-java/pulls{/number}","milestones_url":"https://api.github.com/repos/mziccard/gcloud-java/milestones{/number}","notifications_url":"https://api.github.com/repos/mziccard/gcloud-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mziccard/gcloud-java/labels{/name}","releases_url":"https://api.github.com/repos/mziccard/gcloud-java/releases{/id}","deployments_url":"https://api.github.com/repos/mziccard/gcloud-java/deployments","created_at":"2015-08-18T10:16:17Z","updated_at":"2016-01-12T12:42:25Z","pushed_at":"2016-09-22T12:49:40Z","git_url":"git://github.com/mziccard/gcloud-java.git","ssh_url":"git@github.com:mziccard/gcloud-java.git","clone_url":"https://github.com/mziccard/gcloud-java.git","svn_url":"https://github.com/mziccard/gcloud-java","homepage":"http://googlecloudplatform.github.io/gcloud-java/site/0.0.6/","size":54900,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"GoogleCloudPlatform:master","ref":"master","sha":"ac786de81e5e3c2860eada661798aa8cfaf2a85f","user":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":26181278,"name":"google-cloud-java","full_name":"GoogleCloudPlatform/google-cloud-java","owner":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleCloudPlatform/google-cloud-java","description":"Google Cloud Client Library for Java","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/deployments","created_at":"2014-11-04T17:57:16Z","updated_at":"2016-09-22T13:00:24Z","pushed_at":"2016-09-23T08:56:37Z","git_url":"git://github.com/GoogleCloudPlatform/google-cloud-java.git","ssh_url":"git@github.com:GoogleCloudPlatform/google-cloud-java.git","clone_url":"https://github.com/GoogleCloudPlatform/google-cloud-java.git","svn_url":"https://github.com/GoogleCloudPlatform/google-cloud-java","homepage":"http://googlecloudplatform.github.io/google-cloud-java/","size":249427,"stargazers_count":154,"watchers_count":154,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":82,"mirror_url":null,"open_issues_count":134,"forks":82,"open_issues":134,"watchers":154,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/1279"},"html":{"href":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/1279"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues/1279"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues/1279/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/1279/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/1279/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/statuses/39e63b5b1cb6902b02539aa41a2fff42558481c6"}}}}
{"actor":{"display_login":"codacy-bot"}}