{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/pulls/comments/77947399","id":77947399,"diff_hunk":"@@ -613,11 +647,41 @@ private Bound(String name, String filenamePrefix, String filenameSuffix, Coder<T\n        * @param <X> the type of the elements of the input {@link PCollection}\n        */\n       public <X> Bound<X> withCoder(Coder<X> coder) {\n-        return new Bound<>(name, filenamePrefix, filenameSuffix, coder, numShards,\n+        return new Bound<>(name, filenamePrefix, filenameSuffix, header, footer, coder, numShards,\n             shardTemplate, validate);\n       }\n \n       /**\n+       * Returns a transform for writing to text files that adds a header string to the files\n+       * it writes.\n+       *\n+       * <p>A {@code null} value will clear any previously configured header.\n+       *\n+       * <p>Does not modify this object.\n+       *\n+       * @param header the string to be added as file header\n+       */\n+      public Bound<T> withHeader(String header) {","path":"sdk/src/main/java/com/google/cloud/dataflow/sdk/io/TextIO.java","position":139,"original_position":139,"commit_id":"0146f95bc7b8341e5fee9ab49467a64c678c65cc","original_commit_id":"0146f95bc7b8341e5fee9ab49467a64c678c65cc","user":{"login":"dhalperi","id":526415,"avatar_url":"https://avatars.githubusercontent.com/u/526415?v=3","gravatar_id":"","url":"https://api.github.com/users/dhalperi","html_url":"https://github.com/dhalperi","followers_url":"https://api.github.com/users/dhalperi/followers","following_url":"https://api.github.com/users/dhalperi/following{/other_user}","gists_url":"https://api.github.com/users/dhalperi/gists{/gist_id}","starred_url":"https://api.github.com/users/dhalperi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhalperi/subscriptions","organizations_url":"https://api.github.com/users/dhalperi/orgs","repos_url":"https://api.github.com/users/dhalperi/repos","events_url":"https://api.github.com/users/dhalperi/events{/privacy}","received_events_url":"https://api.github.com/users/dhalperi/received_events","type":"User","site_admin":false},"body":"needs to be `@Nullable`","created_at":"2016-09-08T05:21:35Z","updated_at":"2016-09-08T05:21:35Z","html_url":"https://github.com/GoogleCloudPlatform/DataflowJavaSDK/pull/423#discussion_r77947399","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/pulls/423","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/pulls/comments/77947399"},"html":{"href":"https://github.com/GoogleCloudPlatform/DataflowJavaSDK/pull/423#discussion_r77947399"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/pulls/423"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/pulls/423","id":84390412,"html_url":"https://github.com/GoogleCloudPlatform/DataflowJavaSDK/pull/423","diff_url":"https://github.com/GoogleCloudPlatform/DataflowJavaSDK/pull/423.diff","patch_url":"https://github.com/GoogleCloudPlatform/DataflowJavaSDK/pull/423.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/issues/423","number":423,"state":"closed","locked":false,"title":"Backport https://github.com/apache/incubator-beam/pull/918","user":{"login":"lukecwik","id":10078956,"avatar_url":"https://avatars.githubusercontent.com/u/10078956?v=3","gravatar_id":"","url":"https://api.github.com/users/lukecwik","html_url":"https://github.com/lukecwik","followers_url":"https://api.github.com/users/lukecwik/followers","following_url":"https://api.github.com/users/lukecwik/following{/other_user}","gists_url":"https://api.github.com/users/lukecwik/gists{/gist_id}","starred_url":"https://api.github.com/users/lukecwik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukecwik/subscriptions","organizations_url":"https://api.github.com/users/lukecwik/orgs","repos_url":"https://api.github.com/users/lukecwik/repos","events_url":"https://api.github.com/users/lukecwik/events{/privacy}","received_events_url":"https://api.github.com/users/lukecwik/received_events","type":"User","site_admin":false},"body":"R: @peihe ","created_at":"2016-09-07T23:20:02Z","updated_at":"2016-09-08T05:21:35Z","closed_at":"2016-09-08T03:41:09Z","merged_at":"2016-09-08T03:41:09Z","merge_commit_sha":"b726911efb8c901c8e23ca20e4dcd5df9f74a24d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/pulls/423/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/pulls/423/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/issues/423/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/statuses/0146f95bc7b8341e5fee9ab49467a64c678c65cc","head":{"label":"lukecwik:backport-918","ref":"backport-918","sha":"0146f95bc7b8341e5fee9ab49467a64c678c65cc","user":{"login":"lukecwik","id":10078956,"avatar_url":"https://avatars.githubusercontent.com/u/10078956?v=3","gravatar_id":"","url":"https://api.github.com/users/lukecwik","html_url":"https://github.com/lukecwik","followers_url":"https://api.github.com/users/lukecwik/followers","following_url":"https://api.github.com/users/lukecwik/following{/other_user}","gists_url":"https://api.github.com/users/lukecwik/gists{/gist_id}","starred_url":"https://api.github.com/users/lukecwik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukecwik/subscriptions","organizations_url":"https://api.github.com/users/lukecwik/orgs","repos_url":"https://api.github.com/users/lukecwik/repos","events_url":"https://api.github.com/users/lukecwik/events{/privacy}","received_events_url":"https://api.github.com/users/lukecwik/received_events","type":"User","site_admin":false},"repo":{"id":53174617,"name":"DataflowJavaSDK","full_name":"lukecwik/DataflowJavaSDK","owner":{"login":"lukecwik","id":10078956,"avatar_url":"https://avatars.githubusercontent.com/u/10078956?v=3","gravatar_id":"","url":"https://api.github.com/users/lukecwik","html_url":"https://github.com/lukecwik","followers_url":"https://api.github.com/users/lukecwik/followers","following_url":"https://api.github.com/users/lukecwik/following{/other_user}","gists_url":"https://api.github.com/users/lukecwik/gists{/gist_id}","starred_url":"https://api.github.com/users/lukecwik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukecwik/subscriptions","organizations_url":"https://api.github.com/users/lukecwik/orgs","repos_url":"https://api.github.com/users/lukecwik/repos","events_url":"https://api.github.com/users/lukecwik/events{/privacy}","received_events_url":"https://api.github.com/users/lukecwik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lukecwik/DataflowJavaSDK","description":"Google Cloud Dataflow provides a simple, powerful model for building both batch and streaming parallel data processing pipelines.","fork":true,"url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK","forks_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/forks","keys_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/teams","hooks_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/hooks","issue_events_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/issues/events{/number}","events_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/events","assignees_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/assignees{/user}","branches_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/branches{/branch}","tags_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/tags","blobs_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/git/refs{/sha}","trees_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/statuses/{sha}","languages_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/languages","stargazers_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/stargazers","contributors_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/contributors","subscribers_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/subscribers","subscription_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/subscription","commits_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/commits{/sha}","git_commits_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/git/commits{/sha}","comments_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/comments{/number}","issue_comment_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/issues/comments{/number}","contents_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/contents/{+path}","compare_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/merges","archive_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/downloads","issues_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/issues{/number}","pulls_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/pulls{/number}","milestones_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/milestones{/number}","notifications_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/labels{/name}","releases_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/releases{/id}","deployments_url":"https://api.github.com/repos/lukecwik/DataflowJavaSDK/deployments","created_at":"2016-03-05T00:35:51Z","updated_at":"2016-03-05T00:35:54Z","pushed_at":"2016-09-07T23:19:41Z","git_url":"git://github.com/lukecwik/DataflowJavaSDK.git","ssh_url":"git@github.com:lukecwik/DataflowJavaSDK.git","clone_url":"https://github.com/lukecwik/DataflowJavaSDK.git","svn_url":"https://github.com/lukecwik/DataflowJavaSDK","homepage":"http://cloud.google.com/dataflow","size":28012,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"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":"c4094b13b3ccb71366bb518a908c4ba828a4adbb","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":27503425,"name":"DataflowJavaSDK","full_name":"GoogleCloudPlatform/DataflowJavaSDK","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/DataflowJavaSDK","description":"Google Cloud Dataflow provides a simple, powerful model for building both batch and streaming parallel data processing pipelines.","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/deployments","created_at":"2014-12-03T19:20:21Z","updated_at":"2016-09-05T08:40:46Z","pushed_at":"2016-09-08T03:41:09Z","git_url":"git://github.com/GoogleCloudPlatform/DataflowJavaSDK.git","ssh_url":"git@github.com:GoogleCloudPlatform/DataflowJavaSDK.git","clone_url":"https://github.com/GoogleCloudPlatform/DataflowJavaSDK.git","svn_url":"https://github.com/GoogleCloudPlatform/DataflowJavaSDK","homepage":"http://cloud.google.com/dataflow","size":13954,"stargazers_count":672,"watchers_count":672,"language":"Java","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":263,"mirror_url":null,"open_issues_count":28,"forks":263,"open_issues":28,"watchers":672,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/pulls/423"},"html":{"href":"https://github.com/GoogleCloudPlatform/DataflowJavaSDK/pull/423"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/issues/423"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/issues/423/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/pulls/423/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/pulls/423/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/DataflowJavaSDK/statuses/0146f95bc7b8341e5fee9ab49467a64c678c65cc"}}}}
{"actor":{"display_login":"dhalperi"}}