{"action":"created","comment":{"url":"https://api.github.com/repos/google/protobuf/pulls/comments/35045199","id":35045199,"diff_hunk":"@@ -115,3 +115,40 @@ - (void)setTimeIntervalSince1970:(NSTimeInterval)timeIntervalSince1970 {\n }\n \n @end\n+\n+NSString *const GPBTypeGoogleApisComPrefix = @\"type.googleapis.com/\";\n+\n+@implementation GPBAny (GBPWellKnownTypes)\n+\n+- (NSString*)getAnyTypeName {","path":"objectivec/GPBWellKnownTypes.m","position":9,"original_position":9,"commit_id":"30dee91339c64ae1f10e2ddcc0ae4a1d26f6dd5b","original_commit_id":"30dee91339c64ae1f10e2ddcc0ae4a1d26f6dd5b","user":{"login":"TeBoring","id":5195749,"avatar_url":"https://avatars.githubusercontent.com/u/5195749?v=3","gravatar_id":"","url":"https://api.github.com/users/TeBoring","html_url":"https://github.com/TeBoring","followers_url":"https://api.github.com/users/TeBoring/followers","following_url":"https://api.github.com/users/TeBoring/following{/other_user}","gists_url":"https://api.github.com/users/TeBoring/gists{/gist_id}","starred_url":"https://api.github.com/users/TeBoring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeBoring/subscriptions","organizations_url":"https://api.github.com/users/TeBoring/orgs","repos_url":"https://api.github.com/users/TeBoring/repos","events_url":"https://api.github.com/users/TeBoring/events{/privacy}","received_events_url":"https://api.github.com/users/TeBoring/received_events","type":"User","site_admin":false},"body":"Is this public?\r\nWhat happens if user call this method when any's type url is empty?","created_at":"2015-07-20T21:16:42Z","updated_at":"2015-07-20T21:16:42Z","html_url":"https://github.com/google/protobuf/pull/602#discussion_r35045199","pull_request_url":"https://api.github.com/repos/google/protobuf/pulls/602","_links":{"self":{"href":"https://api.github.com/repos/google/protobuf/pulls/comments/35045199"},"html":{"href":"https://github.com/google/protobuf/pull/602#discussion_r35045199"},"pull_request":{"href":"https://api.github.com/repos/google/protobuf/pulls/602"}}},"pull_request":{"url":"https://api.github.com/repos/google/protobuf/pulls/602","id":40080986,"html_url":"https://github.com/google/protobuf/pull/602","diff_url":"https://github.com/google/protobuf/pull/602.diff","patch_url":"https://github.com/google/protobuf/pull/602.patch","issue_url":"https://api.github.com/repos/google/protobuf/issues/602","number":602,"state":"open","locked":false,"title":"Add packTo and unpackFrom in google.protobuf.Any.","user":{"login":"TeBoring","id":5195749,"avatar_url":"https://avatars.githubusercontent.com/u/5195749?v=3","gravatar_id":"","url":"https://api.github.com/users/TeBoring","html_url":"https://github.com/TeBoring","followers_url":"https://api.github.com/users/TeBoring/followers","following_url":"https://api.github.com/users/TeBoring/following{/other_user}","gists_url":"https://api.github.com/users/TeBoring/gists{/gist_id}","starred_url":"https://api.github.com/users/TeBoring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeBoring/subscriptions","organizations_url":"https://api.github.com/users/TeBoring/orgs","repos_url":"https://api.github.com/users/TeBoring/repos","events_url":"https://api.github.com/users/TeBoring/events{/privacy}","received_events_url":"https://api.github.com/users/TeBoring/received_events","type":"User","site_admin":false},"body":"These two methods make it easy to transform between any and normal message.\r\nunPackeTo will throw error if the type url in any doesn't match the type of the message to be transformed to.","created_at":"2015-07-15T23:30:06Z","updated_at":"2015-07-20T21:16:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c701f89b6ea135f1beec49e3766d081c5487ce76","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/google/protobuf/pulls/602/commits","review_comments_url":"https://api.github.com/repos/google/protobuf/pulls/602/comments","review_comment_url":"https://api.github.com/repos/google/protobuf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/protobuf/issues/602/comments","statuses_url":"https://api.github.com/repos/google/protobuf/statuses/30dee91339c64ae1f10e2ddcc0ae4a1d26f6dd5b","head":{"label":"TeBoring:objectivec","ref":"objectivec","sha":"30dee91339c64ae1f10e2ddcc0ae4a1d26f6dd5b","user":{"login":"TeBoring","id":5195749,"avatar_url":"https://avatars.githubusercontent.com/u/5195749?v=3","gravatar_id":"","url":"https://api.github.com/users/TeBoring","html_url":"https://github.com/TeBoring","followers_url":"https://api.github.com/users/TeBoring/followers","following_url":"https://api.github.com/users/TeBoring/following{/other_user}","gists_url":"https://api.github.com/users/TeBoring/gists{/gist_id}","starred_url":"https://api.github.com/users/TeBoring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeBoring/subscriptions","organizations_url":"https://api.github.com/users/TeBoring/orgs","repos_url":"https://api.github.com/users/TeBoring/repos","events_url":"https://api.github.com/users/TeBoring/events{/privacy}","received_events_url":"https://api.github.com/users/TeBoring/received_events","type":"User","site_admin":false},"repo":{"id":30283808,"name":"protobuf","full_name":"TeBoring/protobuf","owner":{"login":"TeBoring","id":5195749,"avatar_url":"https://avatars.githubusercontent.com/u/5195749?v=3","gravatar_id":"","url":"https://api.github.com/users/TeBoring","html_url":"https://github.com/TeBoring","followers_url":"https://api.github.com/users/TeBoring/followers","following_url":"https://api.github.com/users/TeBoring/following{/other_user}","gists_url":"https://api.github.com/users/TeBoring/gists{/gist_id}","starred_url":"https://api.github.com/users/TeBoring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeBoring/subscriptions","organizations_url":"https://api.github.com/users/TeBoring/orgs","repos_url":"https://api.github.com/users/TeBoring/repos","events_url":"https://api.github.com/users/TeBoring/events{/privacy}","received_events_url":"https://api.github.com/users/TeBoring/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TeBoring/protobuf","description":"Protocol Buffers - Google's data interchange format","fork":true,"url":"https://api.github.com/repos/TeBoring/protobuf","forks_url":"https://api.github.com/repos/TeBoring/protobuf/forks","keys_url":"https://api.github.com/repos/TeBoring/protobuf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TeBoring/protobuf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TeBoring/protobuf/teams","hooks_url":"https://api.github.com/repos/TeBoring/protobuf/hooks","issue_events_url":"https://api.github.com/repos/TeBoring/protobuf/issues/events{/number}","events_url":"https://api.github.com/repos/TeBoring/protobuf/events","assignees_url":"https://api.github.com/repos/TeBoring/protobuf/assignees{/user}","branches_url":"https://api.github.com/repos/TeBoring/protobuf/branches{/branch}","tags_url":"https://api.github.com/repos/TeBoring/protobuf/tags","blobs_url":"https://api.github.com/repos/TeBoring/protobuf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TeBoring/protobuf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TeBoring/protobuf/git/refs{/sha}","trees_url":"https://api.github.com/repos/TeBoring/protobuf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TeBoring/protobuf/statuses/{sha}","languages_url":"https://api.github.com/repos/TeBoring/protobuf/languages","stargazers_url":"https://api.github.com/repos/TeBoring/protobuf/stargazers","contributors_url":"https://api.github.com/repos/TeBoring/protobuf/contributors","subscribers_url":"https://api.github.com/repos/TeBoring/protobuf/subscribers","subscription_url":"https://api.github.com/repos/TeBoring/protobuf/subscription","commits_url":"https://api.github.com/repos/TeBoring/protobuf/commits{/sha}","git_commits_url":"https://api.github.com/repos/TeBoring/protobuf/git/commits{/sha}","comments_url":"https://api.github.com/repos/TeBoring/protobuf/comments{/number}","issue_comment_url":"https://api.github.com/repos/TeBoring/protobuf/issues/comments{/number}","contents_url":"https://api.github.com/repos/TeBoring/protobuf/contents/{+path}","compare_url":"https://api.github.com/repos/TeBoring/protobuf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TeBoring/protobuf/merges","archive_url":"https://api.github.com/repos/TeBoring/protobuf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TeBoring/protobuf/downloads","issues_url":"https://api.github.com/repos/TeBoring/protobuf/issues{/number}","pulls_url":"https://api.github.com/repos/TeBoring/protobuf/pulls{/number}","milestones_url":"https://api.github.com/repos/TeBoring/protobuf/milestones{/number}","notifications_url":"https://api.github.com/repos/TeBoring/protobuf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TeBoring/protobuf/labels{/name}","releases_url":"https://api.github.com/repos/TeBoring/protobuf/releases{/id}","created_at":"2015-02-04T05:49:53Z","updated_at":"2015-05-21T20:51:42Z","pushed_at":"2015-07-16T01:14:15Z","git_url":"git://github.com/TeBoring/protobuf.git","ssh_url":"git@github.com:TeBoring/protobuf.git","clone_url":"https://github.com/TeBoring/protobuf.git","svn_url":"https://github.com/TeBoring/protobuf","homepage":"https://developers.google.com/protocol-buffers/","size":29364,"stargazers_count":0,"watchers_count":0,"language":"C#","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":"google:master","ref":"master","sha":"fde6e89f99eda04a4f1b8677bcea07e6c2040405","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":23357588,"name":"protobuf","full_name":"google/protobuf","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/protobuf","description":"Protocol Buffers - Google's data interchange format","fork":false,"url":"https://api.github.com/repos/google/protobuf","forks_url":"https://api.github.com/repos/google/protobuf/forks","keys_url":"https://api.github.com/repos/google/protobuf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/protobuf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/protobuf/teams","hooks_url":"https://api.github.com/repos/google/protobuf/hooks","issue_events_url":"https://api.github.com/repos/google/protobuf/issues/events{/number}","events_url":"https://api.github.com/repos/google/protobuf/events","assignees_url":"https://api.github.com/repos/google/protobuf/assignees{/user}","branches_url":"https://api.github.com/repos/google/protobuf/branches{/branch}","tags_url":"https://api.github.com/repos/google/protobuf/tags","blobs_url":"https://api.github.com/repos/google/protobuf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/protobuf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/protobuf/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/protobuf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/protobuf/statuses/{sha}","languages_url":"https://api.github.com/repos/google/protobuf/languages","stargazers_url":"https://api.github.com/repos/google/protobuf/stargazers","contributors_url":"https://api.github.com/repos/google/protobuf/contributors","subscribers_url":"https://api.github.com/repos/google/protobuf/subscribers","subscription_url":"https://api.github.com/repos/google/protobuf/subscription","commits_url":"https://api.github.com/repos/google/protobuf/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/protobuf/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/protobuf/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/protobuf/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/protobuf/contents/{+path}","compare_url":"https://api.github.com/repos/google/protobuf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/protobuf/merges","archive_url":"https://api.github.com/repos/google/protobuf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/protobuf/downloads","issues_url":"https://api.github.com/repos/google/protobuf/issues{/number}","pulls_url":"https://api.github.com/repos/google/protobuf/pulls{/number}","milestones_url":"https://api.github.com/repos/google/protobuf/milestones{/number}","notifications_url":"https://api.github.com/repos/google/protobuf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/protobuf/labels{/name}","releases_url":"https://api.github.com/repos/google/protobuf/releases{/id}","created_at":"2014-08-26T15:52:15Z","updated_at":"2015-07-20T18:09:12Z","pushed_at":"2015-07-20T18:35:24Z","git_url":"git://github.com/google/protobuf.git","ssh_url":"git@github.com:google/protobuf.git","clone_url":"https://github.com/google/protobuf.git","svn_url":"https://github.com/google/protobuf","homepage":"https://developers.google.com/protocol-buffers/","size":49939,"stargazers_count":4205,"watchers_count":4205,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1135,"mirror_url":null,"open_issues_count":183,"forks":1135,"open_issues":183,"watchers":4205,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/protobuf/pulls/602"},"html":{"href":"https://github.com/google/protobuf/pull/602"},"issue":{"href":"https://api.github.com/repos/google/protobuf/issues/602"},"comments":{"href":"https://api.github.com/repos/google/protobuf/issues/602/comments"},"review_comments":{"href":"https://api.github.com/repos/google/protobuf/pulls/602/comments"},"review_comment":{"href":"https://api.github.com/repos/google/protobuf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/protobuf/pulls/602/commits"},"statuses":{"href":"https://api.github.com/repos/google/protobuf/statuses/30dee91339c64ae1f10e2ddcc0ae4a1d26f6dd5b"}}}}