{"action":"created","comment":{"url":"https://api.github.com/repos/googleapis/google-cloud-java/pulls/comments/229543463","pull_request_review_id":170068397,"id":229543463,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyOTU0MzQ2Mw==","diff_hunk":"@@ -23,6 +23,7 @@\n import com.google.cloud.spanner.SpannerImpl.MultiUseReadOnlyTransaction;\n import com.google.cloud.spanner.SpannerImpl.SessionImpl;\n import com.google.cloud.spanner.spi.v1.SpannerRpc;\n+import com.google.cloud.spanner.spi.v1.GapicSpannerRpc;","path":"google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/BatchClientImpl.java","position":4,"original_position":4,"commit_id":"6f6070a6306c9fc0d8a95c59396995c6170d32ec","original_commit_id":"6f6070a6306c9fc0d8a95c59396995c6170d32ec","user":{"login":"codacy-bot","id":19940114,"node_id":"MDQ6VXNlcjE5OTQwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","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://app.codacy.com/assets/images/favicon.png) Issue found: [Avoid unused imports such as 'com.google.cloud.spanner.spi.v1.GapicSpannerRpc'](https://app.codacy.com/app/mziccard/google-cloud-java/pullRequest?prid=2465925)","created_at":"2018-10-31T01:59:36Z","updated_at":"2018-10-31T01:59:36Z","html_url":"https://github.com/googleapis/google-cloud-java/pull/3881#discussion_r229543463","pull_request_url":"https://api.github.com/repos/googleapis/google-cloud-java/pulls/3881","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/googleapis/google-cloud-java/pulls/comments/229543463"},"html":{"href":"https://github.com/googleapis/google-cloud-java/pull/3881#discussion_r229543463"},"pull_request":{"href":"https://api.github.com/repos/googleapis/google-cloud-java/pulls/3881"}}},"pull_request":{"url":"https://api.github.com/repos/googleapis/google-cloud-java/pulls/3881","id":227121188,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3MTIxMTg4","html_url":"https://github.com/googleapis/google-cloud-java/pull/3881","diff_url":"https://github.com/googleapis/google-cloud-java/pull/3881.diff","patch_url":"https://github.com/googleapis/google-cloud-java/pull/3881.patch","issue_url":"https://api.github.com/repos/googleapis/google-cloud-java/issues/3881","number":3881,"state":"open","locked":false,"title":"Spanner gapic migration","user":{"login":"hzyi-google","id":33737743,"node_id":"MDQ6VXNlcjMzNzM3NzQz","avatar_url":"https://avatars0.githubusercontent.com/u/33737743?v=4","gravatar_id":"","url":"https://api.github.com/users/hzyi-google","html_url":"https://github.com/hzyi-google","followers_url":"https://api.github.com/users/hzyi-google/followers","following_url":"https://api.github.com/users/hzyi-google/following{/other_user}","gists_url":"https://api.github.com/users/hzyi-google/gists{/gist_id}","starred_url":"https://api.github.com/users/hzyi-google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzyi-google/subscriptions","organizations_url":"https://api.github.com/users/hzyi-google/orgs","repos_url":"https://api.github.com/users/hzyi-google/repos","events_url":"https://api.github.com/users/hzyi-google/events{/privacy}","received_events_url":"https://api.github.com/users/hzyi-google/received_events","type":"User","site_admin":false},"body":"Merge back to master.","created_at":"2018-10-31T00:12:03Z","updated_at":"2018-10-31T01:59:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1eb704c3b5fd9b6cdb7f4ed2a98bb7669af0b6be","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[{"name":"yoshi-java","id":2775912,"node_id":"MDQ6VGVhbTI3NzU5MTI=","slug":"yoshi-java","description":"","privacy":"closed","url":"https://api.github.com/teams/2775912","members_url":"https://api.github.com/teams/2775912/members{/member}","repositories_url":"https://api.github.com/teams/2775912/repos","permission":"pull"}],"labels":[{"id":175662188,"node_id":"MDU6TGFiZWwxNzU2NjIxODg=","url":"https://api.github.com/repos/googleapis/google-cloud-java/labels/cla:%20yes","name":"cla: yes","color":"0B7601","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/googleapis/google-cloud-java/pulls/3881/commits","review_comments_url":"https://api.github.com/repos/googleapis/google-cloud-java/pulls/3881/comments","review_comment_url":"https://api.github.com/repos/googleapis/google-cloud-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/googleapis/google-cloud-java/issues/3881/comments","statuses_url":"https://api.github.com/repos/googleapis/google-cloud-java/statuses/6f6070a6306c9fc0d8a95c59396995c6170d32ec","head":{"label":"hzyi-google:spanner-gapic-migration","ref":"spanner-gapic-migration","sha":"6f6070a6306c9fc0d8a95c59396995c6170d32ec","user":{"login":"hzyi-google","id":33737743,"node_id":"MDQ6VXNlcjMzNzM3NzQz","avatar_url":"https://avatars0.githubusercontent.com/u/33737743?v=4","gravatar_id":"","url":"https://api.github.com/users/hzyi-google","html_url":"https://github.com/hzyi-google","followers_url":"https://api.github.com/users/hzyi-google/followers","following_url":"https://api.github.com/users/hzyi-google/following{/other_user}","gists_url":"https://api.github.com/users/hzyi-google/gists{/gist_id}","starred_url":"https://api.github.com/users/hzyi-google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzyi-google/subscriptions","organizations_url":"https://api.github.com/users/hzyi-google/orgs","repos_url":"https://api.github.com/users/hzyi-google/repos","events_url":"https://api.github.com/users/hzyi-google/events{/privacy}","received_events_url":"https://api.github.com/users/hzyi-google/received_events","type":"User","site_admin":false},"repo":{"id":111586169,"node_id":"MDEwOlJlcG9zaXRvcnkxMTE1ODYxNjk=","name":"google-cloud-java","full_name":"hzyi-google/google-cloud-java","private":false,"owner":{"login":"hzyi-google","id":33737743,"node_id":"MDQ6VXNlcjMzNzM3NzQz","avatar_url":"https://avatars0.githubusercontent.com/u/33737743?v=4","gravatar_id":"","url":"https://api.github.com/users/hzyi-google","html_url":"https://github.com/hzyi-google","followers_url":"https://api.github.com/users/hzyi-google/followers","following_url":"https://api.github.com/users/hzyi-google/following{/other_user}","gists_url":"https://api.github.com/users/hzyi-google/gists{/gist_id}","starred_url":"https://api.github.com/users/hzyi-google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzyi-google/subscriptions","organizations_url":"https://api.github.com/users/hzyi-google/orgs","repos_url":"https://api.github.com/users/hzyi-google/repos","events_url":"https://api.github.com/users/hzyi-google/events{/privacy}","received_events_url":"https://api.github.com/users/hzyi-google/received_events","type":"User","site_admin":false},"html_url":"https://github.com/hzyi-google/google-cloud-java","description":"Google Cloud Client Library for Java","fork":true,"url":"https://api.github.com/repos/hzyi-google/google-cloud-java","forks_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/forks","keys_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/teams","hooks_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/hooks","issue_events_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/issues/events{/number}","events_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/events","assignees_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/assignees{/user}","branches_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/branches{/branch}","tags_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/tags","blobs_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/statuses/{sha}","languages_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/languages","stargazers_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/stargazers","contributors_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/contributors","subscribers_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/subscribers","subscription_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/subscription","commits_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/contents/{+path}","compare_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/merges","archive_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/downloads","issues_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/issues{/number}","pulls_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/pulls{/number}","milestones_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/milestones{/number}","notifications_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/labels{/name}","releases_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/releases{/id}","deployments_url":"https://api.github.com/repos/hzyi-google/google-cloud-java/deployments","created_at":"2017-11-21T18:27:33Z","updated_at":"2018-09-28T16:20:18Z","pushed_at":"2018-10-31T00:09:55Z","git_url":"git://github.com/hzyi-google/google-cloud-java.git","ssh_url":"git@github.com:hzyi-google/google-cloud-java.git","clone_url":"https://github.com/hzyi-google/google-cloud-java.git","svn_url":"https://github.com/hzyi-google/google-cloud-java","homepage":"https://googlecloudplatform.github.io/google-cloud-java/","size":245968,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"googleapis:master","ref":"master","sha":"f69e7fafe748bc8ce49c2a8d9375b3b3a4644d5d","user":{"login":"googleapis","id":16785467,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2Nzg1NDY3","avatar_url":"https://avatars3.githubusercontent.com/u/16785467?v=4","gravatar_id":"","url":"https://api.github.com/users/googleapis","html_url":"https://github.com/googleapis","followers_url":"https://api.github.com/users/googleapis/followers","following_url":"https://api.github.com/users/googleapis/following{/other_user}","gists_url":"https://api.github.com/users/googleapis/gists{/gist_id}","starred_url":"https://api.github.com/users/googleapis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googleapis/subscriptions","organizations_url":"https://api.github.com/users/googleapis/orgs","repos_url":"https://api.github.com/users/googleapis/repos","events_url":"https://api.github.com/users/googleapis/events{/privacy}","received_events_url":"https://api.github.com/users/googleapis/received_events","type":"Organization","site_admin":false},"repo":{"id":26181278,"node_id":"MDEwOlJlcG9zaXRvcnkyNjE4MTI3OA==","name":"google-cloud-java","full_name":"googleapis/google-cloud-java","private":false,"owner":{"login":"googleapis","id":16785467,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2Nzg1NDY3","avatar_url":"https://avatars3.githubusercontent.com/u/16785467?v=4","gravatar_id":"","url":"https://api.github.com/users/googleapis","html_url":"https://github.com/googleapis","followers_url":"https://api.github.com/users/googleapis/followers","following_url":"https://api.github.com/users/googleapis/following{/other_user}","gists_url":"https://api.github.com/users/googleapis/gists{/gist_id}","starred_url":"https://api.github.com/users/googleapis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googleapis/subscriptions","organizations_url":"https://api.github.com/users/googleapis/orgs","repos_url":"https://api.github.com/users/googleapis/repos","events_url":"https://api.github.com/users/googleapis/events{/privacy}","received_events_url":"https://api.github.com/users/googleapis/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/googleapis/google-cloud-java","description":"Google Cloud Client Library for Java","fork":false,"url":"https://api.github.com/repos/googleapis/google-cloud-java","forks_url":"https://api.github.com/repos/googleapis/google-cloud-java/forks","keys_url":"https://api.github.com/repos/googleapis/google-cloud-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/googleapis/google-cloud-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/googleapis/google-cloud-java/teams","hooks_url":"https://api.github.com/repos/googleapis/google-cloud-java/hooks","issue_events_url":"https://api.github.com/repos/googleapis/google-cloud-java/issues/events{/number}","events_url":"https://api.github.com/repos/googleapis/google-cloud-java/events","assignees_url":"https://api.github.com/repos/googleapis/google-cloud-java/assignees{/user}","branches_url":"https://api.github.com/repos/googleapis/google-cloud-java/branches{/branch}","tags_url":"https://api.github.com/repos/googleapis/google-cloud-java/tags","blobs_url":"https://api.github.com/repos/googleapis/google-cloud-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/googleapis/google-cloud-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/googleapis/google-cloud-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/googleapis/google-cloud-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/googleapis/google-cloud-java/statuses/{sha}","languages_url":"https://api.github.com/repos/googleapis/google-cloud-java/languages","stargazers_url":"https://api.github.com/repos/googleapis/google-cloud-java/stargazers","contributors_url":"https://api.github.com/repos/googleapis/google-cloud-java/contributors","subscribers_url":"https://api.github.com/repos/googleapis/google-cloud-java/subscribers","subscription_url":"https://api.github.com/repos/googleapis/google-cloud-java/subscription","commits_url":"https://api.github.com/repos/googleapis/google-cloud-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/googleapis/google-cloud-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/googleapis/google-cloud-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/googleapis/google-cloud-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/googleapis/google-cloud-java/contents/{+path}","compare_url":"https://api.github.com/repos/googleapis/google-cloud-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/googleapis/google-cloud-java/merges","archive_url":"https://api.github.com/repos/googleapis/google-cloud-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/googleapis/google-cloud-java/downloads","issues_url":"https://api.github.com/repos/googleapis/google-cloud-java/issues{/number}","pulls_url":"https://api.github.com/repos/googleapis/google-cloud-java/pulls{/number}","milestones_url":"https://api.github.com/repos/googleapis/google-cloud-java/milestones{/number}","notifications_url":"https://api.github.com/repos/googleapis/google-cloud-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/googleapis/google-cloud-java/labels{/name}","releases_url":"https://api.github.com/repos/googleapis/google-cloud-java/releases{/id}","deployments_url":"https://api.github.com/repos/googleapis/google-cloud-java/deployments","created_at":"2014-11-04T17:57:16Z","updated_at":"2018-10-30T19:19:37Z","pushed_at":"2018-10-31T00:12:04Z","git_url":"git://github.com/googleapis/google-cloud-java.git","ssh_url":"git@github.com:googleapis/google-cloud-java.git","clone_url":"https://github.com/googleapis/google-cloud-java.git","svn_url":"https://github.com/googleapis/google-cloud-java","homepage":"https://googleapis.github.io/google-cloud-java/","size":543154,"stargazers_count":935,"watchers_count":935,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":571,"mirror_url":null,"archived":false,"open_issues_count":206,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":571,"open_issues":206,"watchers":935,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/googleapis/google-cloud-java/pulls/3881"},"html":{"href":"https://github.com/googleapis/google-cloud-java/pull/3881"},"issue":{"href":"https://api.github.com/repos/googleapis/google-cloud-java/issues/3881"},"comments":{"href":"https://api.github.com/repos/googleapis/google-cloud-java/issues/3881/comments"},"review_comments":{"href":"https://api.github.com/repos/googleapis/google-cloud-java/pulls/3881/comments"},"review_comment":{"href":"https://api.github.com/repos/googleapis/google-cloud-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/googleapis/google-cloud-java/pulls/3881/commits"},"statuses":{"href":"https://api.github.com/repos/googleapis/google-cloud-java/statuses/6f6070a6306c9fc0d8a95c59396995c6170d32ec"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"codacy-bot"}}