{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/comments/184832666","pull_request_review_id":116113807,"id":184832666,"diff_hunk":"@@ -0,0 +1,428 @@\n+/*\n+ * Copyright 2018 Google LLC\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+ *     https://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+package com.google.cloud.compute.v1;\n+\n+import com.google.api.core.BetaApi;\n+import com.google.api.gax.httpjson.ApiMessage;\n+import java.util.Collections;\n+import java.util.HashMap;\n+import java.util.List;\n+import java.util.Map;\n+import java.util.Objects;\n+import java.util.Set;\n+import javax.annotation.Generated;\n+import javax.annotation.Nullable;\n+\n+@Generated(\"by GAPIC\")\n+@BetaApi\n+public final class DisableXpnHostProjectHttpRequest implements ApiMessage {\n+  private final String access_token;\n+  private final String callback;\n+  private final String fields;\n+  private final String key;\n+  private final String prettyPrint;\n+  private final String project;\n+  private final String quotaUser;\n+  private final String requestId;\n+  private final String userIp;\n+\n+  private DisableXpnHostProjectHttpRequest() {\n+    this.access_token = null;\n+    this.callback = null;\n+    this.fields = null;\n+    this.key = null;\n+    this.prettyPrint = null;\n+    this.project = null;\n+    this.quotaUser = null;\n+    this.requestId = null;\n+    this.userIp = null;\n+  }\n+\n+  private DisableXpnHostProjectHttpRequest(","path":"google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnHostProjectHttpRequest.java","position":54,"original_position":54,"commit_id":"1e95b5560b797f9458ccdc445f13e4f9409ca694","original_commit_id":"1e95b5560b797f9458ccdc445f13e4f9409ca694","user":{"login":"codacy-bot","id":19940114,"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 long parameter lists.](https://app.codacy.com/app/mziccard/google-cloud-java/pullRequest?prid=1485278)","created_at":"2018-04-28T00:37:47Z","updated_at":"2018-04-28T00:37:47Z","html_url":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/3100#discussion_r184832666","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/3100","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/comments/184832666"},"html":{"href":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/3100#discussion_r184832666"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/3100"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/3100","id":178164615,"html_url":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/3100","diff_url":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/3100.diff","patch_url":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/3100.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues/3100","number":3100,"state":"open","locked":false,"title":"GAPIC Compute java library (WIP)","user":{"login":"andreamlin","id":4016818,"avatar_url":"https://avatars2.githubusercontent.com/u/4016818?v=4","gravatar_id":"","url":"https://api.github.com/users/andreamlin","html_url":"https://github.com/andreamlin","followers_url":"https://api.github.com/users/andreamlin/followers","following_url":"https://api.github.com/users/andreamlin/following{/other_user}","gists_url":"https://api.github.com/users/andreamlin/gists{/gist_id}","starred_url":"https://api.github.com/users/andreamlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreamlin/subscriptions","organizations_url":"https://api.github.com/users/andreamlin/orgs","repos_url":"https://api.github.com/users/andreamlin/repos","events_url":"https://api.github.com/users/andreamlin/events{/privacy}","received_events_url":"https://api.github.com/users/andreamlin/received_events","type":"User","site_admin":false},"body":"First gapic for Compute client.\r\n\r\nIncrease the Java heap size for CircleCI openjdk_7 to 1024m from 256m to fix the out of memory error during compilation of google-cloud-compute.","created_at":"2018-03-28T21:08:13Z","updated_at":"2018-04-28T00:37:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c1a0f12d8c7ba4e079fb39ac5fe34ca4b0683122","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":175662188,"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/labels/cla:%20yes","name":"cla: yes","color":"c2e0c6","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/3100/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/3100/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/3100/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/statuses/1e95b5560b797f9458ccdc445f13e4f9409ca694","head":{"label":"andreamlin:discogapic_compute","ref":"discogapic_compute","sha":"1e95b5560b797f9458ccdc445f13e4f9409ca694","user":{"login":"andreamlin","id":4016818,"avatar_url":"https://avatars2.githubusercontent.com/u/4016818?v=4","gravatar_id":"","url":"https://api.github.com/users/andreamlin","html_url":"https://github.com/andreamlin","followers_url":"https://api.github.com/users/andreamlin/followers","following_url":"https://api.github.com/users/andreamlin/following{/other_user}","gists_url":"https://api.github.com/users/andreamlin/gists{/gist_id}","starred_url":"https://api.github.com/users/andreamlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreamlin/subscriptions","organizations_url":"https://api.github.com/users/andreamlin/orgs","repos_url":"https://api.github.com/users/andreamlin/repos","events_url":"https://api.github.com/users/andreamlin/events{/privacy}","received_events_url":"https://api.github.com/users/andreamlin/received_events","type":"User","site_admin":false},"repo":{"id":99830591,"name":"google-cloud-java","full_name":"andreamlin/google-cloud-java","owner":{"login":"andreamlin","id":4016818,"avatar_url":"https://avatars2.githubusercontent.com/u/4016818?v=4","gravatar_id":"","url":"https://api.github.com/users/andreamlin","html_url":"https://github.com/andreamlin","followers_url":"https://api.github.com/users/andreamlin/followers","following_url":"https://api.github.com/users/andreamlin/following{/other_user}","gists_url":"https://api.github.com/users/andreamlin/gists{/gist_id}","starred_url":"https://api.github.com/users/andreamlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreamlin/subscriptions","organizations_url":"https://api.github.com/users/andreamlin/orgs","repos_url":"https://api.github.com/users/andreamlin/repos","events_url":"https://api.github.com/users/andreamlin/events{/privacy}","received_events_url":"https://api.github.com/users/andreamlin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andreamlin/google-cloud-java","description":"Google Cloud Client Library for Java","fork":true,"url":"https://api.github.com/repos/andreamlin/google-cloud-java","forks_url":"https://api.github.com/repos/andreamlin/google-cloud-java/forks","keys_url":"https://api.github.com/repos/andreamlin/google-cloud-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andreamlin/google-cloud-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andreamlin/google-cloud-java/teams","hooks_url":"https://api.github.com/repos/andreamlin/google-cloud-java/hooks","issue_events_url":"https://api.github.com/repos/andreamlin/google-cloud-java/issues/events{/number}","events_url":"https://api.github.com/repos/andreamlin/google-cloud-java/events","assignees_url":"https://api.github.com/repos/andreamlin/google-cloud-java/assignees{/user}","branches_url":"https://api.github.com/repos/andreamlin/google-cloud-java/branches{/branch}","tags_url":"https://api.github.com/repos/andreamlin/google-cloud-java/tags","blobs_url":"https://api.github.com/repos/andreamlin/google-cloud-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andreamlin/google-cloud-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andreamlin/google-cloud-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/andreamlin/google-cloud-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andreamlin/google-cloud-java/statuses/{sha}","languages_url":"https://api.github.com/repos/andreamlin/google-cloud-java/languages","stargazers_url":"https://api.github.com/repos/andreamlin/google-cloud-java/stargazers","contributors_url":"https://api.github.com/repos/andreamlin/google-cloud-java/contributors","subscribers_url":"https://api.github.com/repos/andreamlin/google-cloud-java/subscribers","subscription_url":"https://api.github.com/repos/andreamlin/google-cloud-java/subscription","commits_url":"https://api.github.com/repos/andreamlin/google-cloud-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/andreamlin/google-cloud-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/andreamlin/google-cloud-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/andreamlin/google-cloud-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/andreamlin/google-cloud-java/contents/{+path}","compare_url":"https://api.github.com/repos/andreamlin/google-cloud-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andreamlin/google-cloud-java/merges","archive_url":"https://api.github.com/repos/andreamlin/google-cloud-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andreamlin/google-cloud-java/downloads","issues_url":"https://api.github.com/repos/andreamlin/google-cloud-java/issues{/number}","pulls_url":"https://api.github.com/repos/andreamlin/google-cloud-java/pulls{/number}","milestones_url":"https://api.github.com/repos/andreamlin/google-cloud-java/milestones{/number}","notifications_url":"https://api.github.com/repos/andreamlin/google-cloud-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andreamlin/google-cloud-java/labels{/name}","releases_url":"https://api.github.com/repos/andreamlin/google-cloud-java/releases{/id}","deployments_url":"https://api.github.com/repos/andreamlin/google-cloud-java/deployments","created_at":"2017-08-09T16:36:12Z","updated_at":"2018-03-17T00:21:15Z","pushed_at":"2018-04-28T00:28:05Z","git_url":"git://github.com/andreamlin/google-cloud-java.git","ssh_url":"git@github.com:andreamlin/google-cloud-java.git","clone_url":"https://github.com/andreamlin/google-cloud-java.git","svn_url":"https://github.com/andreamlin/google-cloud-java","homepage":"https://googlecloudplatform.github.io/google-cloud-java/","size":25324,"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":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"GoogleCloudPlatform:master","ref":"master","sha":"60b1d27dff266a1c27f04cac76235fefd4e303f3","user":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars0.githubusercontent.com/u/2810941?v=4","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://avatars0.githubusercontent.com/u/2810941?v=4","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":"2018-04-28T00:16:00Z","pushed_at":"2018-04-28T00:28:09Z","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":"https://googlecloudplatform.github.io/google-cloud-java/","size":307278,"stargazers_count":641,"watchers_count":641,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":436,"mirror_url":null,"archived":false,"open_issues_count":112,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":436,"open_issues":112,"watchers":641,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/3100"},"html":{"href":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/3100"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues/3100"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues/3100/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/3100/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/3100/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/statuses/1e95b5560b797f9458ccdc445f13e4f9409ca694"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"codacy-bot"}}