{"comment":{"url":"https://api.github.com/repos/AnastasiaSulyagina/libphonenumber/comments/13051050","html_url":"https://github.com/AnastasiaSulyagina/libphonenumber/commit/80300165248486185571e2e8ef6efbb560602f58#commitcomment-13051050","id":13051050,"user":{"login":"keghani","id":9949289,"avatar_url":"https://avatars.githubusercontent.com/u/9949289?v=3","gravatar_id":"","url":"https://api.github.com/users/keghani","html_url":"https://github.com/keghani","followers_url":"https://api.github.com/users/keghani/followers","following_url":"https://api.github.com/users/keghani/following{/other_user}","gists_url":"https://api.github.com/users/keghani/gists{/gist_id}","starred_url":"https://api.github.com/users/keghani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keghani/subscriptions","organizations_url":"https://api.github.com/users/keghani/orgs","repos_url":"https://api.github.com/users/keghani/repos","events_url":"https://api.github.com/users/keghani/events{/privacy}","received_events_url":"https://api.github.com/users/keghani/received_events","type":"User","site_admin":false},"position":62,"line":182,"path":"java/libphonenumber/src/com/google/i18n/phonenumbers/AsYouTypeFormatter.java","commit_id":"80300165248486185571e2e8ef6efbb560602f58","created_at":"2015-09-03T15:48:28Z","updated_at":"2015-09-03T15:48:28Z","body":"This becomes tricky if the default value of the proto may change: https://android.googlesource.com/platform/external/protobuf/+/master/java/README.txt - \"Nano version\".\r\n\r\n@jias0001 can we assume that this default value will never be anything but the empty string? If so, a comment should be added at phonemetadata.proto on the national_prefix field never to change the default value.\r\n\r\nIf it may change, @AnastasiaSulyagina can opt in to generate a hazzer method has<fieldname>() by generating the java file using \"optional_field_style=accessors\" as an option to javanano_out (https://android.googlesource.com/platform/external/protobuf/+/master/java/README.txt - \"Nano Generator options\"). In this case, you should use the generated getters and setters too."}}