{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/comments/174624918","pull_request_review_id":104016300,"id":174624918,"diff_hunk":"@@ -0,0 +1,16 @@\n+package com.google.cloud.dlp.v2beta1;\n+\n+import com.google.privacy.dlp.v2beta1.Color;\n+import org.junit.Assert;\n+import org.junit.Test;\n+\n+public class ColorTest {\n+\n+  @Test\n+  public void asDlpColorTest() {\n+    Color got = Colors.asDlpColor(java.awt.Color.GREEN);\n+    Assert.assertEquals(got.getBlue(), 0, 0);\n+    Assert.assertEquals(got.getGreen(), 255, 0);\n+    Assert.assertEquals(got.getRed(), 0, 0);","path":"google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2beta1/ColorTest.java","position":14,"original_position":14,"commit_id":"be2631d1c55ff872dec98389082478d4cf515b7d","original_commit_id":"be2631d1c55ff872dec98389082478d4cf515b7d","user":{"login":"garrettjonesgoogle","id":13341017,"avatar_url":"https://avatars2.githubusercontent.com/u/13341017?v=4","gravatar_id":"","url":"https://api.github.com/users/garrettjonesgoogle","html_url":"https://github.com/garrettjonesgoogle","followers_url":"https://api.github.com/users/garrettjonesgoogle/followers","following_url":"https://api.github.com/users/garrettjonesgoogle/following{/other_user}","gists_url":"https://api.github.com/users/garrettjonesgoogle/gists{/gist_id}","starred_url":"https://api.github.com/users/garrettjonesgoogle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garrettjonesgoogle/subscriptions","organizations_url":"https://api.github.com/users/garrettjonesgoogle/orgs","repos_url":"https://api.github.com/users/garrettjonesgoogle/repos","events_url":"https://api.github.com/users/garrettjonesgoogle/events{/privacy}","received_events_url":"https://api.github.com/users/garrettjonesgoogle/received_events","type":"User","site_admin":false},"body":"Don't use the same values in more than one field when you're checking plumbing. ","created_at":"2018-03-14T22:06:58Z","updated_at":"2018-03-14T22:10:55Z","html_url":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/3028#discussion_r174624918","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/3028","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/comments/174624918"},"html":{"href":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/3028#discussion_r174624918"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/3028"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/3028","id":174528666,"html_url":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/3028","diff_url":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/3028.diff","patch_url":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/3028.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues/3028","number":3028,"state":"open","locked":false,"title":"dlp: add a utility conversion function","user":{"login":"jadekler","id":3584893,"avatar_url":"https://avatars3.githubusercontent.com/u/3584893?v=4","gravatar_id":"","url":"https://api.github.com/users/jadekler","html_url":"https://github.com/jadekler","followers_url":"https://api.github.com/users/jadekler/followers","following_url":"https://api.github.com/users/jadekler/following{/other_user}","gists_url":"https://api.github.com/users/jadekler/gists{/gist_id}","starred_url":"https://api.github.com/users/jadekler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jadekler/subscriptions","organizations_url":"https://api.github.com/users/jadekler/orgs","repos_url":"https://api.github.com/users/jadekler/repos","events_url":"https://api.github.com/users/jadekler/events{/privacy}","received_events_url":"https://api.github.com/users/jadekler/received_events","type":"User","site_admin":false},"body":"There's a lot about this I'm unsure about, since this is my first commit. So, sorry if a lot is wrong here.\r\n\r\nFixes #2321","created_at":"2018-03-13T00:18:48Z","updated_at":"2018-03-14T22:10:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2eaab8a02907e88d31c90a9d8b316d22082d8774","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/3028/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/3028/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/3028/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/statuses/be2631d1c55ff872dec98389082478d4cf515b7d","head":{"label":"jadekler:dlp_color","ref":"dlp_color","sha":"be2631d1c55ff872dec98389082478d4cf515b7d","user":{"login":"jadekler","id":3584893,"avatar_url":"https://avatars3.githubusercontent.com/u/3584893?v=4","gravatar_id":"","url":"https://api.github.com/users/jadekler","html_url":"https://github.com/jadekler","followers_url":"https://api.github.com/users/jadekler/followers","following_url":"https://api.github.com/users/jadekler/following{/other_user}","gists_url":"https://api.github.com/users/jadekler/gists{/gist_id}","starred_url":"https://api.github.com/users/jadekler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jadekler/subscriptions","organizations_url":"https://api.github.com/users/jadekler/orgs","repos_url":"https://api.github.com/users/jadekler/repos","events_url":"https://api.github.com/users/jadekler/events{/privacy}","received_events_url":"https://api.github.com/users/jadekler/received_events","type":"User","site_admin":false},"repo":{"id":124965753,"name":"google-cloud-java","full_name":"jadekler/google-cloud-java","owner":{"login":"jadekler","id":3584893,"avatar_url":"https://avatars3.githubusercontent.com/u/3584893?v=4","gravatar_id":"","url":"https://api.github.com/users/jadekler","html_url":"https://github.com/jadekler","followers_url":"https://api.github.com/users/jadekler/followers","following_url":"https://api.github.com/users/jadekler/following{/other_user}","gists_url":"https://api.github.com/users/jadekler/gists{/gist_id}","starred_url":"https://api.github.com/users/jadekler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jadekler/subscriptions","organizations_url":"https://api.github.com/users/jadekler/orgs","repos_url":"https://api.github.com/users/jadekler/repos","events_url":"https://api.github.com/users/jadekler/events{/privacy}","received_events_url":"https://api.github.com/users/jadekler/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jadekler/google-cloud-java","description":"Google Cloud Client Library for Java","fork":true,"url":"https://api.github.com/repos/jadekler/google-cloud-java","forks_url":"https://api.github.com/repos/jadekler/google-cloud-java/forks","keys_url":"https://api.github.com/repos/jadekler/google-cloud-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jadekler/google-cloud-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jadekler/google-cloud-java/teams","hooks_url":"https://api.github.com/repos/jadekler/google-cloud-java/hooks","issue_events_url":"https://api.github.com/repos/jadekler/google-cloud-java/issues/events{/number}","events_url":"https://api.github.com/repos/jadekler/google-cloud-java/events","assignees_url":"https://api.github.com/repos/jadekler/google-cloud-java/assignees{/user}","branches_url":"https://api.github.com/repos/jadekler/google-cloud-java/branches{/branch}","tags_url":"https://api.github.com/repos/jadekler/google-cloud-java/tags","blobs_url":"https://api.github.com/repos/jadekler/google-cloud-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jadekler/google-cloud-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jadekler/google-cloud-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/jadekler/google-cloud-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jadekler/google-cloud-java/statuses/{sha}","languages_url":"https://api.github.com/repos/jadekler/google-cloud-java/languages","stargazers_url":"https://api.github.com/repos/jadekler/google-cloud-java/stargazers","contributors_url":"https://api.github.com/repos/jadekler/google-cloud-java/contributors","subscribers_url":"https://api.github.com/repos/jadekler/google-cloud-java/subscribers","subscription_url":"https://api.github.com/repos/jadekler/google-cloud-java/subscription","commits_url":"https://api.github.com/repos/jadekler/google-cloud-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/jadekler/google-cloud-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/jadekler/google-cloud-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/jadekler/google-cloud-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/jadekler/google-cloud-java/contents/{+path}","compare_url":"https://api.github.com/repos/jadekler/google-cloud-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jadekler/google-cloud-java/merges","archive_url":"https://api.github.com/repos/jadekler/google-cloud-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jadekler/google-cloud-java/downloads","issues_url":"https://api.github.com/repos/jadekler/google-cloud-java/issues{/number}","pulls_url":"https://api.github.com/repos/jadekler/google-cloud-java/pulls{/number}","milestones_url":"https://api.github.com/repos/jadekler/google-cloud-java/milestones{/number}","notifications_url":"https://api.github.com/repos/jadekler/google-cloud-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jadekler/google-cloud-java/labels{/name}","releases_url":"https://api.github.com/repos/jadekler/google-cloud-java/releases{/id}","deployments_url":"https://api.github.com/repos/jadekler/google-cloud-java/deployments","created_at":"2018-03-12T23:49:16Z","updated_at":"2018-03-12T23:49:24Z","pushed_at":"2018-03-14T19:39:28Z","git_url":"git://github.com/jadekler/google-cloud-java.git","ssh_url":"git@github.com:jadekler/google-cloud-java.git","clone_url":"https://github.com/jadekler/google-cloud-java.git","svn_url":"https://github.com/jadekler/google-cloud-java","homepage":"https://googlecloudplatform.github.io/google-cloud-java/","size":268778,"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":"12f78dadf4da9353e36e00363efda3d0d0b02eb4","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-03-14T21:45:06Z","pushed_at":"2018-03-14T21:45:02Z","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":268828,"stargazers_count":588,"watchers_count":588,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":394,"mirror_url":null,"archived":false,"open_issues_count":74,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":394,"open_issues":74,"watchers":588,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/3028"},"html":{"href":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/3028"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues/3028"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues/3028/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/3028/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/3028/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/statuses/be2631d1c55ff872dec98389082478d4cf515b7d"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"garrettjonesgoogle"}}