@fonoster/sdk 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +358 -2
- package/dist/node/Applications.d.ts +206 -0
- package/dist/node/Applications.js +267 -0
- package/dist/node/client/AbstractClient.d.ts +22 -0
- package/dist/node/client/AbstractClient.js +86 -0
- package/dist/node/client/Client.d.ts +15 -0
- package/dist/node/client/Client.js +61 -0
- package/dist/node/client/TokenRefresherNode.d.ts +8 -0
- package/dist/node/client/TokenRefresherNode.js +43 -0
- package/dist/node/client/TokenRefresherWeb.d.ts +13 -0
- package/dist/node/client/TokenRefresherWeb.js +44 -0
- package/dist/node/client/isJwtExpired.d.ts +2 -0
- package/dist/node/client/isJwtExpired.js +37 -0
- package/dist/node/client/jsonToObject.d.ts +8 -0
- package/dist/node/client/jsonToObject.js +31 -0
- package/dist/node/client/makeRpcRequest.d.ts +11 -0
- package/dist/node/client/makeRpcRequest.js +44 -0
- package/dist/node/client/objectToJson.d.ts +3 -0
- package/dist/node/client/objectToJson.js +32 -0
- package/dist/node/client/types.d.ts +26 -0
- package/dist/node/client/types.js +2 -0
- package/dist/node/client/utils.d.ts +5 -0
- package/dist/node/client/utils.js +17 -0
- package/dist/node/generated/node/acls.ts +1054 -0
- package/dist/node/generated/node/acls_grpc_pb.js +200 -0
- package/dist/node/generated/node/acls_pb.js +2063 -0
- package/dist/node/generated/node/agents.ts +1388 -0
- package/dist/node/generated/node/agents_grpc_pb.js +202 -0
- package/dist/node/generated/node/agents_pb.js +2403 -0
- package/dist/node/generated/node/applications.ts +1411 -0
- package/dist/node/generated/node/applications_grpc_pb.js +201 -0
- package/dist/node/generated/node/applications_pb.js +2651 -0
- package/dist/node/generated/node/calls.ts +1123 -0
- package/dist/node/generated/node/calls_grpc_pb.js +169 -0
- package/dist/node/generated/node/calls_pb.js +1916 -0
- package/dist/node/generated/node/credentials.ts +1054 -0
- package/dist/node/generated/node/credentials_grpc_pb.js +200 -0
- package/dist/node/generated/node/credentials_pb.js +1928 -0
- package/dist/node/generated/node/domains.ts +1144 -0
- package/dist/node/generated/node/domains_grpc_pb.js +200 -0
- package/dist/node/generated/node/domains_pb.js +2170 -0
- package/dist/node/generated/node/google/protobuf/empty.ts +48 -0
- package/dist/node/generated/node/google/protobuf/struct.ts +408 -0
- package/dist/node/generated/node/identity.ts +4267 -0
- package/dist/node/generated/node/identity_grpc_pb.js +761 -0
- package/dist/node/generated/node/identity_pb.js +8058 -0
- package/dist/node/generated/node/numbers.ts +1371 -0
- package/dist/node/generated/node/numbers_grpc_pb.js +201 -0
- package/dist/node/generated/node/numbers_pb.js +2470 -0
- package/dist/node/generated/node/secrets.ts +985 -0
- package/dist/node/generated/node/secrets_grpc_pb.js +200 -0
- package/dist/node/generated/node/secrets_pb.js +1838 -0
- package/dist/node/generated/node/trunks.ts +1546 -0
- package/dist/node/generated/node/trunks_grpc_pb.js +202 -0
- package/dist/node/generated/node/trunks_pb.js +2777 -0
- package/dist/node/generated/web/AclsServiceClientPb.ts +258 -0
- package/dist/node/generated/web/AgentsServiceClientPb.ts +258 -0
- package/dist/node/generated/web/ApplicationsServiceClientPb.ts +258 -0
- package/dist/node/generated/web/CallsServiceClientPb.ts +194 -0
- package/dist/node/generated/web/CredentialsServiceClientPb.ts +258 -0
- package/dist/node/generated/web/DomainsServiceClientPb.ts +258 -0
- package/dist/node/generated/web/IdentityServiceClientPb.ts +990 -0
- package/dist/node/generated/web/NumbersServiceClientPb.ts +258 -0
- package/dist/node/generated/web/SecretsServiceClientPb.ts +258 -0
- package/dist/node/generated/web/TrunksServiceClientPb.ts +258 -0
- package/dist/node/generated/web/acls.ts +1054 -0
- package/dist/node/generated/web/acls_pb.d.ts +246 -0
- package/dist/node/generated/web/acls_pb.js +2063 -0
- package/dist/node/generated/web/agents.ts +1388 -0
- package/dist/node/generated/web/agents_pb.d.ts +300 -0
- package/dist/node/generated/web/agents_pb.js +2403 -0
- package/dist/node/generated/web/applications.ts +1411 -0
- package/dist/node/generated/web/applications_pb.d.ts +322 -0
- package/dist/node/generated/web/applications_pb.js +2651 -0
- package/dist/node/generated/web/calls.ts +1123 -0
- package/dist/node/generated/web/calls_pb.d.ts +262 -0
- package/dist/node/generated/web/calls_pb.js +1916 -0
- package/dist/node/generated/web/credentials.ts +1054 -0
- package/dist/node/generated/web/credentials_pb.d.ts +234 -0
- package/dist/node/generated/web/credentials_pb.js +1928 -0
- package/dist/node/generated/web/domains.ts +1144 -0
- package/dist/node/generated/web/domains_pb.d.ts +260 -0
- package/dist/node/generated/web/domains_pb.js +2170 -0
- package/dist/node/generated/web/google/protobuf/empty.ts +48 -0
- package/dist/node/generated/web/google/protobuf/struct.ts +408 -0
- package/dist/node/generated/web/identity.ts +4267 -0
- package/dist/node/generated/web/identity_pb.d.ts +973 -0
- package/dist/node/generated/web/identity_pb.js +8058 -0
- package/dist/node/generated/web/numbers.ts +1371 -0
- package/dist/node/generated/web/numbers_pb.d.ts +305 -0
- package/dist/node/generated/web/numbers_pb.js +2470 -0
- package/dist/node/generated/web/secrets.ts +985 -0
- package/dist/node/generated/web/secrets_pb.d.ts +222 -0
- package/dist/node/generated/web/secrets_pb.js +1838 -0
- package/dist/node/generated/web/trunks.ts +1546 -0
- package/dist/node/generated/web/trunks_pb.d.ts +338 -0
- package/dist/node/generated/web/trunks_pb.js +2777 -0
- package/dist/node/node.d.ts +2 -0
- package/dist/node/node.js +36 -0
- package/dist/node/tsconfig.node.tsbuildinfo +1 -0
- package/dist/node/utils.d.ts +22 -0
- package/dist/node/utils.js +54 -0
- package/dist/web/fonoster.min.js +1 -0
- package/dist/web/index.esm.js +1 -0
- package/package.json +24 -12
- package/dist/fonoster.min.js +0 -1
- package/dist/index.d.ts +0 -6
- package/dist/index.esm.js +0 -1
- package/dist/index.js +0 -1
- package/dist/printHello.d.ts +0 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e,t,o,r){return new(o||(o=Promise))((function(i,n){function s(e){try{p(r.next(e))}catch(e){n(e)}}function a(e){try{p(r.throw(e))}catch(e){n(e)}}function p(e){var t;e.done?i(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(s,a)}p((r=r.apply(e,t||[])).next())}))}function t(e,t){return null==t?void 0:t.some((t=>t[0]===e))}function o(e){const{json:r,objectConstructor:i,enumMapping:n,objectMapping:s}=e,a=new i;return Object.keys(r).forEach((e=>{const i=`set${e.charAt(0).toUpperCase()+e.slice(1)}`;if(r[e])if(t(e,n)){const t=function(e,t,o){const r=o.find((t=>t[0]===e));return r?r[1][t]:0}(e,r[e],n);a[i](t)}else if(t(e,s)){const t=o({json:r[e],objectConstructor:s.find((t=>t[0]===e))[1],enumMapping:n,objectMapping:s});a[i](t)}else"function"==typeof a[i]&&a[i](r[e])})),a}function r(e,o,i){const n={};return Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((s=>{if(s.startsWith("get")&&"function"==typeof e[s]&&"getPrototypeOf"!==s){const a=s.charAt(3).toLowerCase()+s.slice(4);try{const p=e[s]();if(t(a,o))n[a]=function(e,t,o){const r=o.find((t=>t[0]===e));return Object.keys(r[1]).find((e=>r[1][e]===t))||""}(a,p,o);else if(t(a,i)){const e=a.slice(0,-4);n[e]=p.map((e=>r(e)))}else void 0!==p&&(n[a]=p)}catch(e){}}})),n}function i(e){const{method:t,requestPBObjectConstructor:i,metadata:n,request:s,enumMapping:a,objectMapping:p,repeatableObjectMapping:l}=e,u=o({json:s,objectConstructor:i,enumMapping:a,objectMapping:p});return new Promise(((e,o)=>{t(u,n,((t,i)=>{if(t)return void o(t);const n=r(i,null,l);e(n)}))}))}"function"==typeof SuppressedError&&SuppressedError;var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},s={},a={};!function(e){var t="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,o){e!=Array.prototype&&e!=Object.prototype&&(e[t]=o.value)},o=("undefined"!=typeof window&&window,n);function r(){r=function(){},o.Symbol||(o.Symbol=a)}function i(e,o){this.a=e,t(this,"description",{configurable:!0,writable:!0,value:o})}i.prototype.toString=function(){return this.a};var s,a=(s=0,function e(t){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new i("jscomp_symbol_"+(t||"")+"_"+s++,t)});function p(){r();var e=o.Symbol.iterator;e||(e=o.Symbol.iterator=o.Symbol("Symbol.iterator")),"function"!=typeof Array.prototype[e]&&t(Array.prototype,e,{configurable:!0,writable:!0,value:function(){return function(e){return p(),e={next:e},e[o.Symbol.iterator]=function(){return this},e}(function(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}(this))}}),p=function(){}}!function(e,r){if(r){var i=o;e=e.split(".");for(var n=0;n<e.length-1;n++){var s=e[n];s in i||(i[s]={}),i=i[s]}(r=r(n=i[e=e[e.length-1]]))!=n&&null!=r&&t(i,e,{configurable:!0,writable:!0,value:r})}}("Array.prototype.entries",(function(e){return e||function(){return function(e,t){p(),e instanceof String&&(e+="");var o=0,r={next:function(){if(o<e.length){var i=o++;return{value:t(i,e[i]),done:!1}}return r.next=function(){return{done:!0,value:void 0}},r.next()}};return r[Symbol.iterator]=function(){return r},r}(this,(function(e,t){return[e,t]}))}}));var l=n||self;function u(e,t,o){e=e.split("."),o=o||l,e[0]in o||void 0===o.execScript||o.execScript("var "+e[0]);for(var r;e.length&&(r=e.shift());)e.length||void 0===t?o=o[r]&&o[r]!==Object.prototype[r]?o[r]:o[r]={}:o[r]=t}function c(e){var t=typeof e;if("object"==t){if(!e)return"null";if(e instanceof Array)return"array";if(e instanceof Object)return t;var o=Object.prototype.toString.call(e);if("[object Window]"==o)return"object";if("[object Array]"==o||"number"==typeof e.length&&void 0!==e.splice&&void 0!==e.propertyIsEnumerable&&!e.propertyIsEnumerable("splice"))return"array";if("[object Function]"==o||void 0!==e.call&&void 0!==e.propertyIsEnumerable&&!e.propertyIsEnumerable("call"))return"function"}else if("function"==t&&void 0===e.call)return"object";return t}function f(e){var t=typeof e;return"object"==t&&null!=e||"function"==t}var d="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");var y=Array.prototype.forEach?function(e,t){Array.prototype.forEach.call(e,t,void 0)}:function(e,t){for(var o=e.length,r="string"==typeof e?e.split(""):e,i=0;i<o;i++)i in r&&t.call(void 0,r[i],i,e)},g=Array.prototype.map?function(e,t){return Array.prototype.map.call(e,t,void 0)}:function(e,t){for(var o=e.length,r=Array(o),i="string"==typeof e?e.split(""):e,n=0;n<o;n++)n in i&&(r[n]=t.call(void 0,i[n],n,e));return r};function h(e,t,o){return 2>=arguments.length?Array.prototype.slice.call(e,t):Array.prototype.slice.call(e,t,o)}function b(e,t,o,r){var i="Assertion failed";if(o){i+=": "+o;var n=r}else e&&(i+=": "+e,n=t);throw Error(i,n||[])}function v(e,t,o){for(var r=[],i=2;i<arguments.length;++i)r[i-2]=arguments[i];return e||b("",null,t,r),e}function R(e,t){for(var o=[],r=1;r<arguments.length;++r)o[r-1]=arguments[r];throw Error("Failure"+(e?": "+e:""),o)}function A(e,t,o,r){for(var i=[],n=3;n<arguments.length;++n)i[n-3]=arguments[n];e instanceof t||b("Expected instanceof %s but got %s.",[k(t),k(e)],o,i)}function k(e){return e instanceof Function?e.displayName||e.name||"unknown type name":e instanceof Object?e.constructor.displayName||e.constructor.name||Object.prototype.toString.call(e):null===e?"null":typeof e}function M(e,t){if(this.c=e,this.b=t,this.a={},this.arrClean=!0,0<this.c.length){for(e=0;e<this.c.length;e++){var o=(t=this.c[e])[0];this.a[o.toString()]=new T(o,t[1])}this.arrClean=!0}}function F(e){this.a=0,this.b=e}function W(e,t){return e.b?(t.a||(t.a=new e.b(t.value)),t.a):t.value}function m(e){e=e.a;var t,o=[];for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.push(t);return o}function T(e,t){this.key=e,this.value=t,this.a=void 0}function B(e){if(8192>=e.length)return String.fromCharCode.apply(null,e);for(var t="",o=0;o<e.length;o+=8192)t+=String.fromCharCode.apply(null,h(e,o,o+8192));return t}u("jspb.Map",M,void 0),M.prototype.g=function(){if(this.arrClean){if(this.b){var e,t=this.a;for(e in t)if(Object.prototype.hasOwnProperty.call(t,e)){var o=t[e].a;o&&o.g()}}}else{for(this.c.length=0,(t=m(this)).sort(),e=0;e<t.length;e++){var r=this.a[t[e]];(o=r.a)&&o.g(),this.c.push([r.key,r.value])}this.arrClean=!0}return this.c},M.prototype.toArray=M.prototype.g,M.prototype.Mc=function(e,t){for(var o=this.g(),r=[],i=0;i<o.length;i++){var n=this.a[o[i][0].toString()];W(this,n);var s=n.a;s?(v(t),r.push([n.key,t(e,s)])):r.push([n.key,n.value])}return r},M.prototype.toObject=M.prototype.Mc,M.fromObject=function(e,t,o){t=new M([],t);for(var r=0;r<e.length;r++){var i=e[r][0],n=o(e[r][1]);t.set(i,n)}return t},F.prototype.next=function(){return this.a<this.b.length?{done:!1,value:this.b[this.a++]}:{done:!0,value:void 0}},"undefined"!=typeof Symbol&&(F.prototype[Symbol.iterator]=function(){return this}),M.prototype.Jb=function(){return m(this).length},M.prototype.getLength=M.prototype.Jb,M.prototype.clear=function(){this.a={},this.arrClean=!1},M.prototype.clear=M.prototype.clear,M.prototype.Cb=function(e){e=e.toString();var t=this.a.hasOwnProperty(e);return delete this.a[e],this.arrClean=!1,t},M.prototype.del=M.prototype.Cb,M.prototype.Eb=function(){var e=[],t=m(this);t.sort();for(var o=0;o<t.length;o++){var r=this.a[t[o]];e.push([r.key,r.value])}return e},M.prototype.getEntryList=M.prototype.Eb,M.prototype.entries=function(){var e=[],t=m(this);t.sort();for(var o=0;o<t.length;o++){var r=this.a[t[o]];e.push([r.key,W(this,r)])}return new F(e)},M.prototype.entries=M.prototype.entries,M.prototype.keys=function(){var e=[],t=m(this);t.sort();for(var o=0;o<t.length;o++)e.push(this.a[t[o]].key);return new F(e)},M.prototype.keys=M.prototype.keys,M.prototype.values=function(){var e=[],t=m(this);t.sort();for(var o=0;o<t.length;o++)e.push(W(this,this.a[t[o]]));return new F(e)},M.prototype.values=M.prototype.values,M.prototype.forEach=function(e,t){var o=m(this);o.sort();for(var r=0;r<o.length;r++){var i=this.a[o[r]];e.call(t,W(this,i),i.key,this)}},M.prototype.forEach=M.prototype.forEach,M.prototype.set=function(e,t){var o=new T(e);return this.b?(o.a=t,o.value=t.g()):o.value=t,this.a[e.toString()]=o,this.arrClean=!1,this},M.prototype.set=M.prototype.set,M.prototype.get=function(e){if(e=this.a[e.toString()])return W(this,e)},M.prototype.get=M.prototype.get,M.prototype.has=function(e){return e.toString()in this.a},M.prototype.has=M.prototype.has,M.prototype.Jc=function(e,t,o,r,i){var n=m(this);n.sort();for(var s=0;s<n.length;s++){var a=this.a[n[s]];t.Va(e),o.call(t,1,a.key),this.b?r.call(t,2,W(this,a),i):r.call(t,2,a.value),t.Ya()}},M.prototype.serializeBinary=M.prototype.Jc,M.deserializeBinary=function(e,t,o,r,i,n,s){for(;t.oa()&&!t.bb();){var a=t.c;1==a?n=o.call(t):2==a&&(e.b?(v(i),s||(s=new e.b),r.call(t,s,i)):s=r.call(t))}v(null!=n),v(null!=s),e.set(n,s)};var E={"\0":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"},C={"'":"\\'"},S={},w=null;function U(e,t){void 0===t&&(t=0),q(),t=S[t];for(var o=[],r=0;r<e.length;r+=3){var i=e[r],n=r+1<e.length,s=n?e[r+1]:0,a=r+2<e.length,p=a?e[r+2]:0,l=i>>2;i=(3&i)<<4|s>>4,s=(15&s)<<2|p>>6,p&=63,a||(p=64,n||(s=64)),o.push(t[l],t[i],t[s]||"",t[p]||"")}return o.join("")}function D(e){var t=e.length,o=3*t/4;o%3?o=Math.floor(o):-1!="=.".indexOf(e[t-1])&&(o=-1!="=.".indexOf(e[t-2])?o-2:o-1);var r=new Uint8Array(o),i=0;return function(e,t){function o(t){for(;r<e.length;){var o=e.charAt(r++),i=w[o];if(null!=i)return i;if(!/^[\s\xa0]*$/.test(o))throw Error("Unknown base64 encoding at char: "+o)}return t}q();for(var r=0;;){var i=o(-1),n=o(0),s=o(64),a=o(64);if(64===a&&-1===i)break;t(i<<2|n>>4),64!=s&&(t(n<<4&240|s>>2),64!=a&&t(s<<6&192|a))}}(e,(function(e){r[i++]=e})),r.subarray(0,i)}function q(){if(!w){w={};for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),t=["+/=","+/","-_=","-_.","-_"],o=0;5>o;o++){var r=e.concat(t[o].split(""));S[o]=r;for(var i=0;i<r.length;i++){var n=r[i];void 0===w[n]&&(w[n]=i)}}}}u("jspb.ConstBinaryMessage",(function(){}),void 0),u("jspb.BinaryMessage",(function(){}),void 0),u("jspb.BinaryConstants.FieldType",{yb:-1,ee:1,FLOAT:2,ke:3,te:4,je:5,xb:6,wb:7,BOOL:8,re:9,ie:10,le:11,ce:12,se:13,ge:14,me:15,ne:16,oe:17,pe:18,he:30,ve:31},void 0),u("jspb.BinaryConstants.WireType",{yb:-1,ue:0,xb:1,de:2,qe:3,fe:4,wb:5},void 0),u("jspb.BinaryConstants.FieldTypeToWireType",(function(e){switch(e){case 5:case 3:case 13:case 4:case 17:case 18:case 8:case 14:case 31:return 0;case 1:case 6:case 16:case 30:return 1;case 9:case 11:case 12:return 2;case 2:case 7:case 15:return 5;default:return-1}}),void 0),u("jspb.BinaryConstants.INVALID_FIELD_NUMBER",-1,void 0),u("jspb.BinaryConstants.FLOAT32_EPS",1401298464324817e-60,void 0),u("jspb.BinaryConstants.FLOAT32_MIN",11754943508222875e-54,void 0),u("jspb.BinaryConstants.FLOAT32_MAX",34028234663852886e22,void 0),u("jspb.BinaryConstants.FLOAT64_EPS",5e-324,void 0),u("jspb.BinaryConstants.FLOAT64_MIN",22250738585072014e-324,void 0),u("jspb.BinaryConstants.FLOAT64_MAX",17976931348623157e292,void 0),u("jspb.BinaryConstants.TWO_TO_20",1048576,void 0),u("jspb.BinaryConstants.TWO_TO_23",8388608,void 0),u("jspb.BinaryConstants.TWO_TO_31",2147483648,void 0),u("jspb.BinaryConstants.TWO_TO_32",4294967296,void 0),u("jspb.BinaryConstants.TWO_TO_52",4503599627370496,void 0),u("jspb.BinaryConstants.TWO_TO_63",0x8000000000000000,void 0),u("jspb.BinaryConstants.TWO_TO_64",0x10000000000000000,void 0),u("jspb.BinaryConstants.ZERO_HASH","\0\0\0\0\0\0\0\0",void 0);var O=0,z=0;function x(e){var t=e>>>0;e=Math.floor((e-t)/4294967296)>>>0,O=t,z=e}function I(e){var t=0>e,o=(e=Math.abs(e))>>>0;e=Math.floor((e-o)/4294967296),e>>>=0,t&&(e=~e>>>0,4294967295<(o=1+(~o>>>0))&&(o=0,4294967295<++e&&(e=0))),O=o,z=e}function P(e){var t=0>e;x(e=2*Math.abs(e)),e=O;var o=z;t&&(0==e?0==o?o=e=4294967295:(o--,e=4294967295):e--),O=e,z=o}function j(e){var t=0>e?1:0;if(0===(e=t?-e:e))0<1/e?O=z=0:(z=0,O=2147483648);else if(isNaN(e))z=0,O=2147483647;else if(34028234663852886e22<e)z=0,O=(t<<31|2139095040)>>>0;else if(11754943508222875e-54>e)e=Math.round(e/Math.pow(2,-149)),z=0,O=(t<<31|e)>>>0;else{var o=Math.floor(Math.log(e)/Math.LN2);e*=Math.pow(2,-o),16777216<=(e=Math.round(8388608*e))&&++o,z=0,O=(t<<31|o+127<<23|8388607&e)>>>0}}function K(e){var t=0>e?1:0;if(0===(e=t?-e:e))z=0<1/e?0:2147483648,O=0;else if(isNaN(e))z=2147483647,O=4294967295;else if(17976931348623157e292<e)z=(t<<31|2146435072)>>>0,O=0;else if(22250738585072014e-324>e)e/=Math.pow(2,-1074),z=(t<<31|e/4294967296)>>>0,O=e>>>0;else{var o=e,r=0;if(2<=o)for(;2<=o&&1023>r;)r++,o/=2;else for(;1>o&&-1022<r;)o*=2,r--;e*=Math.pow(2,-r),z=(t<<31|r+1023<<20|1048576*e&1048575)>>>0,O=4503599627370496*e>>>0}}function G(e){var t=e.charCodeAt(4),o=e.charCodeAt(5),r=e.charCodeAt(6),i=e.charCodeAt(7);O=e.charCodeAt(0)+(e.charCodeAt(1)<<8)+(e.charCodeAt(2)<<16)+(e.charCodeAt(3)<<24)>>>0,z=t+(o<<8)+(r<<16)+(i<<24)>>>0}function L(e,t){return 4294967296*t+(e>>>0)}function N(e,t){var o=2147483648&t;return o&&(t=~t>>>0,0==(e=1+~e>>>0)&&(t=t+1>>>0)),e=L(e,t),o?-e:e}function _(e,t,o){var r=t>>31;return o(e<<1^r,(t<<1|e>>>31)^r)}function V(e,t){return J(e,t,N)}function J(e,t,o){var r=-(1&e);return o((e>>>1|t<<31)^r,t>>>1^r)}function $(e){var t=2*(e>>31)+1,o=e>>>23&255;return e&=8388607,255==o?e?NaN:1/0*t:0==o?t*Math.pow(2,-149)*e:t*Math.pow(2,o-150)*(e+Math.pow(2,23))}function H(e,t){var o=2*(t>>31)+1,r=t>>>20&2047;return e=4294967296*(1048575&t)+e,2047==r?e?NaN:1/0*o:0==r?o*Math.pow(2,-1074)*e:o*Math.pow(2,r-1075)*(e+4503599627370496)}function X(e,t){return String.fromCharCode(e>>>0&255,e>>>8&255,e>>>16&255,e>>>24&255,t>>>0&255,t>>>8&255,t>>>16&255,t>>>24&255)}function Z(e,t){function o(e,t){return e=e?String(e):"",t?"0000000".slice(e.length)+e:e}if(2097151>=t)return""+L(e,t);var r=(e>>>24|t<<8)>>>0&16777215;return e=(16777215&e)+6777216*r+6710656*(t=t>>16&65535),r+=8147497*t,t*=2,1e7<=e&&(r+=Math.floor(e/1e7),e%=1e7),1e7<=r&&(t+=Math.floor(r/1e7),r%=1e7),o(t,0)+o(r,t)+o(e,1)}function Y(e,t){var o=2147483648&t;return o&&(t=~t+(0==(e=1+~e>>>0)?1:0)>>>0),e=Z(e,t),o?"-"+e:e}function Q(e,t){G(e),e=O;var o=z;return t?Y(e,o):Z(e,o)}function ee(e){function t(e,t){for(var o=0;8>o&&(1!==e||0<t);o++)t=e*r[o]+t,r[o]=255&t,t>>>=8}v(0<e.length);var o=!1;"-"===e[0]&&(o=!0,e=e.slice(1));for(var r=[0,0,0,0,0,0,0,0],i=0;i<e.length;i++)t(10,e.charCodeAt(i)-48);return o&&(function(){for(var e=0;8>e;e++)r[e]=255&~r[e]}(),t(1,1)),B(r)}function te(e){return String.fromCharCode(10>e?48+e:87+e)}function oe(e){return 97<=e?e-97+10:e-48}function re(e,t,o,r,i){var n=0;if(128>r)for(;t<o&&e[t++]==r;)n++,t+=i;else for(;t<o;){for(var s=r;128<s;){if(e[t++]!=(127&s|128))return n;s>>=7}if(e[t++]!=s)break;n++,t+=i}return n}function ie(e){return e.constructor===Uint8Array?e:e.constructor===ArrayBuffer||e.constructor===Array?new Uint8Array(e):e.constructor===String?D(e):e instanceof Uint8Array?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):(R("Type not convertible to Uint8Array."),new Uint8Array(0))}function ne(e,t,o){this.b=null,this.a=this.c=this.h=0,this.v=!1,e&&this.H(e,t,o)}u("jspb.utils.getSplit64Low",(function(){return O}),void 0),u("jspb.utils.getSplit64High",(function(){return z}),void 0),u("jspb.utils.splitUint64",x,void 0),u("jspb.utils.splitInt64",I,void 0),u("jspb.utils.splitZigzag64",P,void 0),u("jspb.utils.splitFloat32",j,void 0),u("jspb.utils.splitFloat64",K,void 0),u("jspb.utils.splitHash64",G,void 0),u("jspb.utils.joinUint64",L,void 0),u("jspb.utils.joinInt64",N,void 0),u("jspb.utils.toZigzag64",_,void 0),u("jspb.utils.joinZigzag64",V,void 0),u("jspb.utils.fromZigzag64",J,void 0),u("jspb.utils.joinFloat32",$,void 0),u("jspb.utils.joinFloat64",H,void 0),u("jspb.utils.joinHash64",X,void 0),u("jspb.utils.DIGITS","0123456789abcdef".split(""),void 0),u("jspb.utils.joinUnsignedDecimalString",Z,void 0),u("jspb.utils.joinSignedDecimalString",Y,void 0),u("jspb.utils.hash64ToDecimalString",Q,void 0),u("jspb.utils.hash64ArrayToDecimalStrings",(function(e,t){for(var o=Array(e.length),r=0;r<e.length;r++)o[r]=Q(e[r],t);return o}),void 0),u("jspb.utils.decimalStringToHash64",ee,void 0),u("jspb.utils.splitDecimalString",(function(e){G(ee(e))}),void 0),u("jspb.utils.hash64ToHexString",(function(e){var t=Array(18);t[0]="0",t[1]="x";for(var o=0;8>o;o++){var r=e.charCodeAt(7-o);t[2*o+2]=te(r>>4),t[2*o+3]=te(15&r)}return t.join("")}),void 0),u("jspb.utils.hexStringToHash64",(function(e){v(18==(e=e.toLowerCase()).length),v("0"==e[0]),v("x"==e[1]);for(var t="",o=0;8>o;o++)t=String.fromCharCode(16*oe(e.charCodeAt(2*o+2))+oe(e.charCodeAt(2*o+3)))+t;return t}),void 0),u("jspb.utils.hash64ToNumber",(function(e,t){G(e),e=O;var o=z;return t?N(e,o):L(e,o)}),void 0),u("jspb.utils.numberToHash64",(function(e){return I(e),X(O,z)}),void 0),u("jspb.utils.countVarints",(function(e,t,o){for(var r=0,i=t;i<o;i++)r+=e[i]>>7;return o-t-r}),void 0),u("jspb.utils.countVarintFields",(function(e,t,o,r){var i=0;if(128>(r*=8))for(;t<o&&e[t++]==r;)for(i++;;){var n=e[t++];if(!(128&n))break}else for(;t<o;){for(n=r;128<n;){if(e[t]!=(127&n|128))return i;t++,n>>=7}if(e[t++]!=n)break;for(i++;128&(n=e[t++]););}return i}),void 0),u("jspb.utils.countFixed32Fields",(function(e,t,o,r){return re(e,t,o,8*r+5,4)}),void 0),u("jspb.utils.countFixed64Fields",(function(e,t,o,r){return re(e,t,o,8*r+1,8)}),void 0),u("jspb.utils.countDelimitedFields",(function(e,t,o,r){var i=0;for(r=8*r+2;t<o;){for(var n=r;128<n;){if(e[t++]!=(127&n|128))return i;n>>=7}if(e[t++]!=n)break;i++;for(var s=0,a=1;s+=(127&(n=e[t++]))*a,a*=128,128&n;);t+=s}return i}),void 0),u("jspb.utils.debugBytesToTextFormat",(function(e){var t='"';if(e){e=ie(e);for(var o=0;o<e.length;o++)t+="\\x",16>e[o]&&(t+="0"),t+=e[o].toString(16)}return t+'"'}),void 0),u("jspb.utils.debugScalarToTextFormat",(function(e){if("string"==typeof e){e=String(e);for(var t=['"'],o=0;o<e.length;o++){var r,i=e.charAt(o),n=i.charCodeAt(0),s=o+1;(r=E[i])||(31<n&&127>n||((n=i)in C?i=C[n]:n in E?i=C[n]=E[n]:(31<(r=n.charCodeAt(0))&&127>r?i=n:(256>r?(i="\\x",(16>r||256<r)&&(i+="0")):(i="\\u",4096>r&&(i+="0")),i+=r.toString(16).toUpperCase()),i=C[n]=i)),r=i),t[s]=r}t.push('"'),e=t.join("")}else e=e.toString();return e}),void 0),u("jspb.utils.stringToByteArray",(function(e){for(var t=new Uint8Array(e.length),o=0;o<e.length;o++){var r=e.charCodeAt(o);if(255<r)throw Error("Conversion error: string contains codepoint outside of byte range");t[o]=r}return t}),void 0),u("jspb.utils.byteSourceToUint8Array",ie,void 0),u("jspb.BinaryDecoder",ne,void 0);var se=[];function ae(e,t,o){if(se.length){var r=se.pop();return e&&r.H(e,t,o),r}return new ne(e,t,o)}function pe(e,t,o){this.a=ae(e,t,o),this.O=this.a.B(),this.b=this.c=-1,this.h=!1,this.v=null}ne.getInstanceCacheLength=function(){return se.length},ne.alloc=ae,ne.prototype.Ca=function(){this.clear(),100>se.length&&se.push(this)},ne.prototype.free=ne.prototype.Ca,ne.prototype.clone=function(){return ae(this.b,this.h,this.c-this.h)},ne.prototype.clone=ne.prototype.clone,ne.prototype.clear=function(){this.b=null,this.a=this.c=this.h=0,this.v=!1},ne.prototype.clear=ne.prototype.clear,ne.prototype.Y=function(){return this.b},ne.prototype.getBuffer=ne.prototype.Y,ne.prototype.H=function(e,t,o){this.b=ie(e),this.h=void 0!==t?t:0,this.c=void 0!==o?this.h+o:this.b.length,this.a=this.h},ne.prototype.setBlock=ne.prototype.H,ne.prototype.Db=function(){return this.c},ne.prototype.getEnd=ne.prototype.Db,ne.prototype.setEnd=function(e){this.c=e},ne.prototype.setEnd=ne.prototype.setEnd,ne.prototype.reset=function(){this.a=this.h},ne.prototype.reset=ne.prototype.reset,ne.prototype.B=function(){return this.a},ne.prototype.getCursor=ne.prototype.B,ne.prototype.Ma=function(e){this.a=e},ne.prototype.setCursor=ne.prototype.Ma,ne.prototype.advance=function(e){this.a+=e,v(this.a<=this.c)},ne.prototype.advance=ne.prototype.advance,ne.prototype.ya=function(){return this.a==this.c},ne.prototype.atEnd=ne.prototype.ya,ne.prototype.Qb=function(){return this.a>this.c},ne.prototype.pastEnd=ne.prototype.Qb,ne.prototype.getError=function(){return this.v||0>this.a||this.a>this.c},ne.prototype.getError=ne.prototype.getError,ne.prototype.w=function(e){for(var t=128,o=0,r=0,i=0;4>i&&128<=t;i++)o|=(127&(t=this.b[this.a++]))<<7*i;if(128<=t&&(o|=(127&(t=this.b[this.a++]))<<28,r|=(127&t)>>4),128<=t)for(i=0;5>i&&128<=t;i++)r|=(127&(t=this.b[this.a++]))<<7*i+3;if(128>t)return e(o>>>0,r>>>0);R("Failed to read varint, encoding is invalid."),this.v=!0},ne.prototype.readSplitVarint64=ne.prototype.w,ne.prototype.ea=function(e){return this.w((function(t,o){return J(t,o,e)}))},ne.prototype.readSplitZigzagVarint64=ne.prototype.ea,ne.prototype.ta=function(e){var t=this.b,o=this.a;this.a+=8;for(var r=0,i=0,n=o+7;n>=o;n--)r=r<<8|t[n],i=i<<8|t[n+4];return e(r,i)},ne.prototype.readSplitFixed64=ne.prototype.ta,ne.prototype.kb=function(){for(;128&this.b[this.a];)this.a++;this.a++},ne.prototype.skipVarint=ne.prototype.kb,ne.prototype.mb=function(e){for(;128<e;)this.a--,e>>>=7;this.a--},ne.prototype.unskipVarint=ne.prototype.mb,ne.prototype.o=function(){var e=this.b,t=e[this.a],o=127&t;return 128>t?(this.a+=1,v(this.a<=this.c),o):(o|=(127&(t=e[this.a+1]))<<7,128>t?(this.a+=2,v(this.a<=this.c),o):(o|=(127&(t=e[this.a+2]))<<14,128>t?(this.a+=3,v(this.a<=this.c),o):(o|=(127&(t=e[this.a+3]))<<21,128>t?(this.a+=4,v(this.a<=this.c),o):(o|=(15&(t=e[this.a+4]))<<28,128>t?(this.a+=5,v(this.a<=this.c),o>>>0):(this.a+=5,128<=e[this.a++]&&128<=e[this.a++]&&128<=e[this.a++]&&128<=e[this.a++]&&128<=e[this.a++]&&v(!1),v(this.a<=this.c),o)))))},ne.prototype.readUnsignedVarint32=ne.prototype.o,ne.prototype.da=function(){return~~this.o()},ne.prototype.readSignedVarint32=ne.prototype.da,ne.prototype.O=function(){return this.o().toString()},ne.prototype.Ea=function(){return this.da().toString()},ne.prototype.readSignedVarint32String=ne.prototype.Ea,ne.prototype.Ia=function(){var e=this.o();return e>>>1^-(1&e)},ne.prototype.readZigzagVarint32=ne.prototype.Ia,ne.prototype.Ga=function(){return this.w(L)},ne.prototype.readUnsignedVarint64=ne.prototype.Ga,ne.prototype.Ha=function(){return this.w(Z)},ne.prototype.readUnsignedVarint64String=ne.prototype.Ha,ne.prototype.sa=function(){return this.w(N)},ne.prototype.readSignedVarint64=ne.prototype.sa,ne.prototype.Fa=function(){return this.w(Y)},ne.prototype.readSignedVarint64String=ne.prototype.Fa,ne.prototype.Ja=function(){return this.w(V)},ne.prototype.readZigzagVarint64=ne.prototype.Ja,ne.prototype.fb=function(){return this.ea(X)},ne.prototype.readZigzagVarintHash64=ne.prototype.fb,ne.prototype.Ka=function(){return this.ea(Y)},ne.prototype.readZigzagVarint64String=ne.prototype.Ka,ne.prototype.Gc=function(){var e=this.b[this.a];return this.a+=1,v(this.a<=this.c),e},ne.prototype.readUint8=ne.prototype.Gc,ne.prototype.Ec=function(){var e=this.b[this.a],t=this.b[this.a+1];return this.a+=2,v(this.a<=this.c),e|t<<8},ne.prototype.readUint16=ne.prototype.Ec,ne.prototype.m=function(){var e=this.b[this.a],t=this.b[this.a+1],o=this.b[this.a+2],r=this.b[this.a+3];return this.a+=4,v(this.a<=this.c),(e|t<<8|o<<16|r<<24)>>>0},ne.prototype.readUint32=ne.prototype.m,ne.prototype.ga=function(){return L(this.m(),this.m())},ne.prototype.readUint64=ne.prototype.ga,ne.prototype.ha=function(){return Z(this.m(),this.m())},ne.prototype.readUint64String=ne.prototype.ha,ne.prototype.Xb=function(){var e=this.b[this.a];return this.a+=1,v(this.a<=this.c),e<<24>>24},ne.prototype.readInt8=ne.prototype.Xb,ne.prototype.Vb=function(){var e=this.b[this.a],t=this.b[this.a+1];return this.a+=2,v(this.a<=this.c),(e|t<<8)<<16>>16},ne.prototype.readInt16=ne.prototype.Vb,ne.prototype.P=function(){var e=this.b[this.a],t=this.b[this.a+1],o=this.b[this.a+2],r=this.b[this.a+3];return this.a+=4,v(this.a<=this.c),e|t<<8|o<<16|r<<24},ne.prototype.readInt32=ne.prototype.P,ne.prototype.ba=function(){return N(this.m(),this.m())},ne.prototype.readInt64=ne.prototype.ba,ne.prototype.ca=function(){return Y(this.m(),this.m())},ne.prototype.readInt64String=ne.prototype.ca,ne.prototype.aa=function(){return $(this.m())},ne.prototype.readFloat=ne.prototype.aa,ne.prototype.Z=function(){return H(this.m(),this.m())},ne.prototype.readDouble=ne.prototype.Z,ne.prototype.pa=function(){return!!this.b[this.a++]},ne.prototype.readBool=ne.prototype.pa,ne.prototype.ra=function(){return this.da()},ne.prototype.readEnum=ne.prototype.ra,ne.prototype.fa=function(e){var t=this.b,o=this.a;e=o+e;for(var r=[],i="";o<e;){var n=t[o++];if(128>n)r.push(n);else{if(192>n)continue;if(224>n){var s=t[o++];r.push((31&n)<<6|63&s)}else if(240>n){s=t[o++];var a=t[o++];r.push((15&n)<<12|(63&s)<<6|63&a)}else if(248>n){n=(7&n)<<18|(63&(s=t[o++]))<<12|(63&(a=t[o++]))<<6|63&t[o++],n-=65536,r.push(55296+(n>>10&1023),56320+(1023&n))}}8192<=r.length&&(i+=String.fromCharCode.apply(null,r),r.length=0)}return i+=B(r),this.a=o,i},ne.prototype.readString=ne.prototype.fa,ne.prototype.Dc=function(){var e=this.o();return this.fa(e)},ne.prototype.readStringWithLength=ne.prototype.Dc,ne.prototype.qa=function(e){if(0>e||this.a+e>this.b.length)return this.v=!0,R("Invalid byte length!"),new Uint8Array(0);var t=this.b.subarray(this.a,this.a+e);return this.a+=e,v(this.a<=this.c),t},ne.prototype.readBytes=ne.prototype.qa,ne.prototype.ia=function(){return this.w(X)},ne.prototype.readVarintHash64=ne.prototype.ia,ne.prototype.$=function(){var e=this.b,t=this.a,o=e[t],r=e[t+1],i=e[t+2],n=e[t+3],s=e[t+4],a=e[t+5],p=e[t+6];return e=e[t+7],this.a+=8,String.fromCharCode(o,r,i,n,s,a,p,e)},ne.prototype.readFixedHash64=ne.prototype.$,u("jspb.BinaryReader",pe,void 0);var le=[];function ue(e,t,o){if(le.length){var r=le.pop();return e&&r.a.H(e,t,o),r}return new pe(e,t,o)}function ce(e,t){v(2==e.b);var o=e.a.o();o=e.a.B()+o;for(var r=[];e.a.B()<o;)r.push(t.call(e.a));return r}function fe(e,t,o,r,i){this.ma=e,this.Ba=t,this.la=o,this.Na=r,this.na=i}function de(e,t,o,r,i,n){this.Za=e,this.za=t,this.Aa=o,this.Wa=r,this.Ab=i,this.Nb=n}function ye(){}pe.clearInstanceCache=function(){le=[]},pe.getInstanceCacheLength=function(){return le.length},pe.alloc=ue,pe.prototype.zb=ue,pe.prototype.alloc=pe.prototype.zb,pe.prototype.Ca=function(){this.a.clear(),this.b=this.c=-1,this.h=!1,this.v=null,100>le.length&&le.push(this)},pe.prototype.free=pe.prototype.Ca,pe.prototype.Fb=function(){return this.O},pe.prototype.getFieldCursor=pe.prototype.Fb,pe.prototype.B=function(){return this.a.B()},pe.prototype.getCursor=pe.prototype.B,pe.prototype.Y=function(){return this.a.Y()},pe.prototype.getBuffer=pe.prototype.Y,pe.prototype.Hb=function(){return this.c},pe.prototype.getFieldNumber=pe.prototype.Hb,pe.prototype.Lb=function(){return this.b},pe.prototype.getWireType=pe.prototype.Lb,pe.prototype.Mb=function(){return 2==this.b},pe.prototype.isDelimited=pe.prototype.Mb,pe.prototype.bb=function(){return 4==this.b},pe.prototype.isEndGroup=pe.prototype.bb,pe.prototype.getError=function(){return this.h||this.a.getError()},pe.prototype.getError=pe.prototype.getError,pe.prototype.H=function(e,t,o){this.a.H(e,t,o),this.b=this.c=-1},pe.prototype.setBlock=pe.prototype.H,pe.prototype.reset=function(){this.a.reset(),this.b=this.c=-1},pe.prototype.reset=pe.prototype.reset,pe.prototype.advance=function(e){this.a.advance(e)},pe.prototype.advance=pe.prototype.advance,pe.prototype.oa=function(){if(this.a.ya())return!1;if(this.getError())return R("Decoder hit an error"),!1;this.O=this.a.B();var e=this.a.o(),t=e>>>3;return 0!=(e&=7)&&5!=e&&1!=e&&2!=e&&3!=e&&4!=e?(R("Invalid wire type: %s (at position %s)",e,this.O),this.h=!0,!1):(this.c=t,this.b=e,!0)},pe.prototype.nextField=pe.prototype.oa,pe.prototype.Oa=function(){this.a.mb(this.c<<3|this.b)},pe.prototype.unskipHeader=pe.prototype.Oa,pe.prototype.Lc=function(){var e=this.c;for(this.Oa();this.oa()&&this.c==e;)this.C();this.a.ya()||this.Oa()},pe.prototype.skipMatchingFields=pe.prototype.Lc,pe.prototype.lb=function(){0!=this.b?(R("Invalid wire type for skipVarintField"),this.C()):this.a.kb()},pe.prototype.skipVarintField=pe.prototype.lb,pe.prototype.gb=function(){if(2!=this.b)R("Invalid wire type for skipDelimitedField"),this.C();else{var e=this.a.o();this.a.advance(e)}},pe.prototype.skipDelimitedField=pe.prototype.gb,pe.prototype.hb=function(){5!=this.b?(R("Invalid wire type for skipFixed32Field"),this.C()):this.a.advance(4)},pe.prototype.skipFixed32Field=pe.prototype.hb,pe.prototype.ib=function(){1!=this.b?(R("Invalid wire type for skipFixed64Field"),this.C()):this.a.advance(8)},pe.prototype.skipFixed64Field=pe.prototype.ib,pe.prototype.jb=function(){for(var e=this.c;;){if(!this.oa()){R("Unmatched start-group tag: stream EOF"),this.h=!0;break}if(4==this.b){this.c!=e&&(R("Unmatched end-group tag"),this.h=!0);break}this.C()}},pe.prototype.skipGroup=pe.prototype.jb,pe.prototype.C=function(){switch(this.b){case 0:this.lb();break;case 1:this.ib();break;case 2:this.gb();break;case 5:this.hb();break;case 3:this.jb();break;default:R("Invalid wire encoding for field.")}},pe.prototype.skipField=pe.prototype.C,pe.prototype.Hc=function(e,t){null===this.v&&(this.v={}),v(!this.v[e]),this.v[e]=t},pe.prototype.registerReadCallback=pe.prototype.Hc,pe.prototype.Ic=function(e){return v(null!==this.v),v(e=this.v[e]),e(this)},pe.prototype.runReadCallback=pe.prototype.Ic,pe.prototype.Yb=function(e,t){v(2==this.b);var o=this.a.c,r=this.a.o();r=this.a.B()+r,this.a.setEnd(r),t(e,this),this.a.Ma(r),this.a.setEnd(o)},pe.prototype.readMessage=pe.prototype.Yb,pe.prototype.Ub=function(e,t,o){v(3==this.b),v(this.c==e),o(t,this),this.h||4==this.b||(R("Group submessage did not end with an END_GROUP tag"),this.h=!0)},pe.prototype.readGroup=pe.prototype.Ub,pe.prototype.Gb=function(){v(2==this.b);var e=this.a.o(),t=this.a.B(),o=t+e;return e=ae(this.a.Y(),t,e),this.a.Ma(o),e},pe.prototype.getFieldDecoder=pe.prototype.Gb,pe.prototype.P=function(){return v(0==this.b),this.a.da()},pe.prototype.readInt32=pe.prototype.P,pe.prototype.Wb=function(){return v(0==this.b),this.a.Ea()},pe.prototype.readInt32String=pe.prototype.Wb,pe.prototype.ba=function(){return v(0==this.b),this.a.sa()},pe.prototype.readInt64=pe.prototype.ba,pe.prototype.ca=function(){return v(0==this.b),this.a.Fa()},pe.prototype.readInt64String=pe.prototype.ca,pe.prototype.m=function(){return v(0==this.b),this.a.o()},pe.prototype.readUint32=pe.prototype.m,pe.prototype.Fc=function(){return v(0==this.b),this.a.O()},pe.prototype.readUint32String=pe.prototype.Fc,pe.prototype.ga=function(){return v(0==this.b),this.a.Ga()},pe.prototype.readUint64=pe.prototype.ga,pe.prototype.ha=function(){return v(0==this.b),this.a.Ha()},pe.prototype.readUint64String=pe.prototype.ha,pe.prototype.zc=function(){return v(0==this.b),this.a.Ia()},pe.prototype.readSint32=pe.prototype.zc,pe.prototype.Ac=function(){return v(0==this.b),this.a.Ja()},pe.prototype.readSint64=pe.prototype.Ac,pe.prototype.Bc=function(){return v(0==this.b),this.a.Ka()},pe.prototype.readSint64String=pe.prototype.Bc,pe.prototype.Rb=function(){return v(5==this.b),this.a.m()},pe.prototype.readFixed32=pe.prototype.Rb,pe.prototype.Sb=function(){return v(1==this.b),this.a.ga()},pe.prototype.readFixed64=pe.prototype.Sb,pe.prototype.Tb=function(){return v(1==this.b),this.a.ha()},pe.prototype.readFixed64String=pe.prototype.Tb,pe.prototype.vc=function(){return v(5==this.b),this.a.P()},pe.prototype.readSfixed32=pe.prototype.vc,pe.prototype.wc=function(){return v(5==this.b),this.a.P().toString()},pe.prototype.readSfixed32String=pe.prototype.wc,pe.prototype.xc=function(){return v(1==this.b),this.a.ba()},pe.prototype.readSfixed64=pe.prototype.xc,pe.prototype.yc=function(){return v(1==this.b),this.a.ca()},pe.prototype.readSfixed64String=pe.prototype.yc,pe.prototype.aa=function(){return v(5==this.b),this.a.aa()},pe.prototype.readFloat=pe.prototype.aa,pe.prototype.Z=function(){return v(1==this.b),this.a.Z()},pe.prototype.readDouble=pe.prototype.Z,pe.prototype.pa=function(){return v(0==this.b),!!this.a.o()},pe.prototype.readBool=pe.prototype.pa,pe.prototype.ra=function(){return v(0==this.b),this.a.sa()},pe.prototype.readEnum=pe.prototype.ra,pe.prototype.fa=function(){v(2==this.b);var e=this.a.o();return this.a.fa(e)},pe.prototype.readString=pe.prototype.fa,pe.prototype.qa=function(){v(2==this.b);var e=this.a.o();return this.a.qa(e)},pe.prototype.readBytes=pe.prototype.qa,pe.prototype.ia=function(){return v(0==this.b),this.a.ia()},pe.prototype.readVarintHash64=pe.prototype.ia,pe.prototype.Cc=function(){return v(0==this.b),this.a.fb()},pe.prototype.readSintHash64=pe.prototype.Cc,pe.prototype.w=function(e){return v(0==this.b),this.a.w(e)},pe.prototype.readSplitVarint64=pe.prototype.w,pe.prototype.ea=function(e){return v(0==this.b),this.a.w((function(t,o){return J(t,o,e)}))},pe.prototype.readSplitZigzagVarint64=pe.prototype.ea,pe.prototype.$=function(){return v(1==this.b),this.a.$()},pe.prototype.readFixedHash64=pe.prototype.$,pe.prototype.ta=function(e){return v(1==this.b),this.a.ta(e)},pe.prototype.readSplitFixed64=pe.prototype.ta,pe.prototype.gc=function(){return ce(this,this.a.da)},pe.prototype.readPackedInt32=pe.prototype.gc,pe.prototype.hc=function(){return ce(this,this.a.Ea)},pe.prototype.readPackedInt32String=pe.prototype.hc,pe.prototype.ic=function(){return ce(this,this.a.sa)},pe.prototype.readPackedInt64=pe.prototype.ic,pe.prototype.jc=function(){return ce(this,this.a.Fa)},pe.prototype.readPackedInt64String=pe.prototype.jc,pe.prototype.qc=function(){return ce(this,this.a.o)},pe.prototype.readPackedUint32=pe.prototype.qc,pe.prototype.rc=function(){return ce(this,this.a.O)},pe.prototype.readPackedUint32String=pe.prototype.rc,pe.prototype.sc=function(){return ce(this,this.a.Ga)},pe.prototype.readPackedUint64=pe.prototype.sc,pe.prototype.tc=function(){return ce(this,this.a.Ha)},pe.prototype.readPackedUint64String=pe.prototype.tc,pe.prototype.nc=function(){return ce(this,this.a.Ia)},pe.prototype.readPackedSint32=pe.prototype.nc,pe.prototype.oc=function(){return ce(this,this.a.Ja)},pe.prototype.readPackedSint64=pe.prototype.oc,pe.prototype.pc=function(){return ce(this,this.a.Ka)},pe.prototype.readPackedSint64String=pe.prototype.pc,pe.prototype.bc=function(){return ce(this,this.a.m)},pe.prototype.readPackedFixed32=pe.prototype.bc,pe.prototype.cc=function(){return ce(this,this.a.ga)},pe.prototype.readPackedFixed64=pe.prototype.cc,pe.prototype.dc=function(){return ce(this,this.a.ha)},pe.prototype.readPackedFixed64String=pe.prototype.dc,pe.prototype.kc=function(){return ce(this,this.a.P)},pe.prototype.readPackedSfixed32=pe.prototype.kc,pe.prototype.lc=function(){return ce(this,this.a.ba)},pe.prototype.readPackedSfixed64=pe.prototype.lc,pe.prototype.mc=function(){return ce(this,this.a.ca)},pe.prototype.readPackedSfixed64String=pe.prototype.mc,pe.prototype.fc=function(){return ce(this,this.a.aa)},pe.prototype.readPackedFloat=pe.prototype.fc,pe.prototype.$b=function(){return ce(this,this.a.Z)},pe.prototype.readPackedDouble=pe.prototype.$b,pe.prototype.Zb=function(){return ce(this,this.a.pa)},pe.prototype.readPackedBool=pe.prototype.Zb,pe.prototype.ac=function(){return ce(this,this.a.ra)},pe.prototype.readPackedEnum=pe.prototype.ac,pe.prototype.uc=function(){return ce(this,this.a.ia)},pe.prototype.readPackedVarintHash64=pe.prototype.uc,pe.prototype.ec=function(){return ce(this,this.a.$)},pe.prototype.readPackedFixedHash64=pe.prototype.ec,u("jspb.ExtensionFieldInfo",fe,void 0),u("jspb.ExtensionFieldBinaryInfo",de,void 0),fe.prototype.F=function(){return!!this.la},fe.prototype.isMessageType=fe.prototype.F,u("jspb.Message",ye,void 0),ye.GENERATE_TO_OBJECT=!0,ye.GENERATE_FROM_OBJECT=!0;var ge="function"==typeof Uint8Array;ye.prototype.Ib=function(){return this.b},ye.prototype.getJsPbMessageId=ye.prototype.Ib,ye.initialize=function(e,t,o,r,i,n){if(e.f=null,t||(t=o?[o]:[]),e.b=o?String(o):void 0,e.D=0===o?-1:0,e.u=t,t=-1,!(o=e.u.length)||(t=o-1,null===(o=e.u[t])||"object"!=typeof o||Array.isArray(o)||ge&&o instanceof Uint8Array)?-1<r?(e.G=Math.max(r,t+1-e.D),e.i=null):e.G=Number.MAX_VALUE:(e.G=t-e.D,e.i=o),e.a={},i)for(r=0;r<i.length;r++)(t=i[r])<e.G?(t+=e.D,e.u[t]=e.u[t]||he):(be(e),e.i[t]=e.i[t]||he);if(n&&n.length)for(r=0;r<n.length;r++)Ce(e,n[r])};var he=Object.freeze?Object.freeze([]):[];function be(e){var t=e.G+e.D;e.u[t]||(e.i=e.u[t]={})}function ve(e,t,o){for(var r=[],i=0;i<e.length;i++)r[i]=t.call(e[i],o,e[i]);return r}function Re(e,t){if(t<e.G){t+=e.D;var o=e.u[t];return o===he?e.u[t]=[]:o}if(e.i)return(o=e.i[t])===he?e.i[t]=[]:o}function Ae(e,t){return null==(e=Re(e,t))?e:+e}function ke(e,t){return null==(e=Re(e,t))?e:!!e}function Me(e){return null==e||"string"==typeof e?e:ge&&e instanceof Uint8Array?U(e):(R("Cannot coerce to b64 string: "+c(e)),null)}function Fe(e){return null==e||e instanceof Uint8Array?e:"string"==typeof e?D(e):(R("Cannot coerce to Uint8Array: "+c(e)),null)}function We(e){if(e&&1<e.length){var t=c(e[0]);y(e,(function(e){c(e)!=t&&R("Inconsistent type in JSPB repeated field array. Got "+c(e)+" expected "+t)}))}}function me(e,t,o){return null==(e=Re(e,t))?o:e}function Te(e,t,o){return A(e,ye),t<e.G?e.u[t+e.D]=o:(be(e),e.i[t]=o),e}function Be(e,t,o,r){return A(e,ye),o!==r?Te(e,t,o):t<e.G?e.u[t+e.D]=null:(be(e),delete e.i[t]),e}function Ee(e,t,o,r){return A(e,ye),(o=Ce(e,o))&&o!==t&&void 0!==r&&(e.f&&o in e.f&&(e.f[o]=void 0),Te(e,o,void 0)),Te(e,t,r)}function Ce(e,t){for(var o,r,i=0;i<t.length;i++){var n=t[i],s=Re(e,n);null!=s&&(o=n,r=s,Te(e,n,void 0))}return o?(Te(e,o,r),o):0}function Se(e,t,o){if(e.f||(e.f={}),!e.f[o]){for(var r=Re(e,o),i=[],n=0;n<r.length;n++)i[n]=new t(r[n]);e.f[o]=i}}function we(e){if(e.f)for(var t in e.f){var o=e.f[t];if(Array.isArray(o))for(var r=0;r<o.length;r++)o[r]&&o[r].g();else o&&o.g()}}function Ue(e,t){e=e||{},t=t||{};var o,r={};for(o in e)r[o]=0;for(o in t)r[o]=0;for(o in r)if(!De(e[o],t[o]))return!1;return!0}function De(e,t){if(e==t)return!0;if(!f(e)||!f(t))return!!("number"==typeof e&&isNaN(e)||"number"==typeof t&&isNaN(t))&&String(e)==String(t);if(e.constructor!=t.constructor)return!1;if(ge&&e.constructor===Uint8Array){if(e.length!=t.length)return!1;for(var o=0;o<e.length;o++)if(e[o]!=t[o])return!1;return!0}if(e.constructor===Array){var r=void 0,i=void 0,n=Math.max(e.length,t.length);for(o=0;o<n;o++){var s=e[o],a=t[o];if(s&&s.constructor==Object&&(v(void 0===r),v(o===e.length-1),r=s,s=void 0),a&&a.constructor==Object&&(v(void 0===i),v(o===t.length-1),i=a,a=void 0),!De(s,a))return!1}return!r&&!i||Ue(r=r||{},i=i||{})}if(e.constructor===Object)return Ue(e,t);throw Error("Invalid type in JSPB array")}function qe(e){return new e.constructor(Oe(e.g()))}function Oe(e){if(Array.isArray(e)){for(var t=Array(e.length),o=0;o<e.length;o++){var r=e[o];null!=r&&(t[o]="object"==typeof r?Oe(v(r)):r)}return t}if(ge&&e instanceof Uint8Array)return new Uint8Array(e);for(o in t={},e)null!=(r=e[o])&&(t[o]="object"==typeof r?Oe(v(r)):r);return t}ye.toObjectList=ve,ye.toObjectExtension=function(e,t,o,r,i){for(var n in o){var s=o[n],a=r.call(e,s);if(null!=a){for(var p in s.Ba)if(s.Ba.hasOwnProperty(p))break;t[p]=s.Na?s.na?ve(a,s.Na,i):s.Na(i,a):a}}},ye.serializeBinaryExtensions=function(e,t,o,r){for(var i in o){var n=o[i],s=n.Za;if(!n.Aa)throw Error("Message extension present that was generated without binary serialization support");var a=r.call(e,s);if(null!=a)if(s.F()){if(!n.Wa)throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format");n.Aa.call(t,s.ma,a,n.Wa)}else n.Aa.call(t,s.ma,a)}},ye.readBinaryExtension=function(e,t,o,r,i){var n=o[t.c];if(n){if(o=n.Za,!n.za)throw Error("Deserializing extension whose generated code does not support binary format");if(o.F()){var s=new o.la;n.za.call(t,s,n.Ab)}else s=n.za.call(t);o.na&&!n.Nb?(t=r.call(e,o))?t.push(s):i.call(e,o,[s]):i.call(e,o,s)}else t.C()},ye.getField=Re,ye.getRepeatedField=function(e,t){return Re(e,t)},ye.getOptionalFloatingPointField=Ae,ye.getBooleanField=ke,ye.getRepeatedFloatingPointField=function(e,t){var o=Re(e,t);if(e.a||(e.a={}),!e.a[t]){for(var r=0;r<o.length;r++)o[r]=+o[r];e.a[t]=!0}return o},ye.getRepeatedBooleanField=function(e,t){var o=Re(e,t);if(e.a||(e.a={}),!e.a[t]){for(var r=0;r<o.length;r++)o[r]=!!o[r];e.a[t]=!0}return o},ye.bytesAsB64=Me,ye.bytesAsU8=Fe,ye.bytesListAsB64=function(e){return We(e),e.length&&"string"!=typeof e[0]?g(e,Me):e},ye.bytesListAsU8=function(e){return We(e),!e.length||e[0]instanceof Uint8Array?e:g(e,Fe)},ye.getFieldWithDefault=me,ye.getBooleanFieldWithDefault=function(e,t,o){return null==(e=ke(e,t))?o:e},ye.getFloatingPointFieldWithDefault=function(e,t,o){return null==(e=Ae(e,t))?o:e},ye.getFieldProto3=me,ye.getMapField=function(e,t,o,r){if(e.f||(e.f={}),t in e.f)return e.f[t];var i=Re(e,t);if(!i){if(o)return;Te(e,t,i=[])}return e.f[t]=new M(i,r)},ye.setField=Te,ye.setProto3IntField=function(e,t,o){return Be(e,t,o,0)},ye.setProto3FloatField=function(e,t,o){return Be(e,t,o,0)},ye.setProto3BooleanField=function(e,t,o){return Be(e,t,o,!1)},ye.setProto3StringField=function(e,t,o){return Be(e,t,o,"")},ye.setProto3BytesField=function(e,t,o){return Be(e,t,o,"")},ye.setProto3EnumField=function(e,t,o){return Be(e,t,o,0)},ye.setProto3StringIntField=function(e,t,o){return Be(e,t,o,"0")},ye.addToRepeatedField=function(e,t,o,r){return A(e,ye),t=Re(e,t),null!=r?t.splice(r,0,o):t.push(o),e},ye.setOneofField=Ee,ye.computeOneofCase=Ce,ye.getWrapperField=function(e,t,o,r){if(e.f||(e.f={}),!e.f[o]){var i=Re(e,o);(r||i)&&(e.f[o]=new t(i))}return e.f[o]},ye.getRepeatedWrapperField=function(e,t,o){return Se(e,t,o),(t=e.f[o])==he&&(t=e.f[o]=[]),t},ye.setWrapperField=function(e,t,o){A(e,ye),e.f||(e.f={});var r=o?o.g():o;return e.f[t]=o,Te(e,t,r)},ye.setOneofWrapperField=function(e,t,o,r){A(e,ye),e.f||(e.f={});var i=r?r.g():r;return e.f[t]=r,Ee(e,t,o,i)},ye.setRepeatedWrapperField=function(e,t,o){A(e,ye),e.f||(e.f={}),o=o||[];for(var r=[],i=0;i<o.length;i++)r[i]=o[i].g();return e.f[t]=o,Te(e,t,r)},ye.addToRepeatedWrapperField=function(e,t,o,r,i){Se(e,r,t);var n=e.f[t];return n||(n=e.f[t]=[]),o=o||new r,e=Re(e,t),null!=i?(n.splice(i,0,o),e.splice(i,0,o.g())):(n.push(o),e.push(o.g())),o},ye.toMap=function(e,t,o,r){for(var i={},n=0;n<e.length;n++)i[t.call(e[n])]=o?o.call(e[n],r,e[n]):e[n];return i},ye.prototype.g=function(){return we(this),this.u},ye.prototype.toArray=ye.prototype.g,ye.prototype.toString=function(){return we(this),this.u.toString()},ye.prototype.getExtension=function(e){if(this.i){this.f||(this.f={});var t=e.ma;if(e.na){if(e.F())return this.f[t]||(this.f[t]=g(this.i[t]||[],(function(t){return new e.la(t)}))),this.f[t]}else if(e.F())return!this.f[t]&&this.i[t]&&(this.f[t]=new e.la(this.i[t])),this.f[t];return this.i[t]}},ye.prototype.getExtension=ye.prototype.getExtension,ye.prototype.Kc=function(e,t){this.f||(this.f={}),be(this);var o=e.ma;return e.na?(t=t||[],e.F()?(this.f[o]=t,this.i[o]=g(t,(function(e){return e.g()}))):this.i[o]=t):e.F()?(this.f[o]=t,this.i[o]=t?t.g():t):this.i[o]=t,this},ye.prototype.setExtension=ye.prototype.Kc,ye.difference=function(e,t){if(!(e instanceof t.constructor))throw Error("Messages have different types.");var o=e.g();t=t.g();var r=[],i=0,n=o.length>t.length?o.length:t.length;for(e.b&&(r[0]=e.b,i=1);i<n;i++)De(o[i],t[i])||(r[i]=t[i]);return new e.constructor(r)},ye.equals=function(e,t){return e==t||!(!e||!t)&&e instanceof t.constructor&&De(e.g(),t.g())},ye.compareExtensions=Ue,ye.compareFields=De,ye.prototype.Bb=function(){return qe(this)},ye.prototype.cloneMessage=ye.prototype.Bb,ye.prototype.clone=function(){return qe(this)},ye.prototype.clone=ye.prototype.clone,ye.clone=function(e){return qe(e)},ye.copyInto=function(e,t){A(e,ye),A(t,ye),v(e.constructor==t.constructor,"Copy source and target message should have the same type."),e=qe(e);for(var o=t.g(),r=e.g(),i=o.length=0;i<r.length;i++)o[i]=r[i];t.f=e.f,t.i=e.i},ye.registerMessageType=function(e,t){t.we=e};var ze={dump:function(e){return A(e,ye,"jspb.Message instance expected"),v(e.getExtension,"Only unobfuscated and unoptimized compilation modes supported."),ze.X(e)}};function xe(){this.a=[]}function Ie(e,t){this.lo=e,this.hi=t}function Pe(e,t){var o=65535&e,r=65535&t,i=t>>>16;for(t=o*r+65536*(o*i&65535)+65536*((e>>>=16)*r&65535),o=e*i+(o*i>>>16)+(e*r>>>16);4294967296<=t;)t-=4294967296,o+=1;return new Ie(t>>>0,o>>>0)}function je(e){for(var t=new Ie(0,0),o=new Ie(0,0),r=0;r<e.length;r++){if("0">e[r]||"9"<e[r])return null;o.lo=parseInt(e[r],10),t=t.eb(10).add(o)}return t}function Ke(e,t){this.lo=e,this.hi=t}function Ge(e){var t=0<e.length&&"-"==e[0];return t&&(e=e.substring(1)),null===(e=je(e))?null:(t&&(e=new Ie(0,0).sub(e)),new Ke(e.lo,e.hi))}function Le(){this.c=[],this.b=0,this.a=new xe,this.h=[]}function Ne(e,t){var o=e.a.end();e.c.push(o),e.c.push(t),e.b+=o.length+t.length}function _e(e,t){return Je(e,t,2),t=e.a.end(),e.c.push(t),e.b+=t.length,t.push(e.b),t}function Ve(e,t){var o=t.pop();for(v(0<=(o=e.b+e.a.length()-o));127<o;)t.push(127&o|128),o>>>=7,e.b++;t.push(o),e.b++}function Je(e,t,o){v(1<=t&&t==Math.floor(t)),e.a.j(8*t+o)}function $e(e,t,o){null!=o&&(Je(e,t,0),e.a.j(o))}function He(e,t,o){null!=o&&(Je(e,t,0),e.a.M(o))}u("jspb.debug.dump",ze.dump,void 0),ze.X=function(e){var t=c(e);if("number"==t||"string"==t||"boolean"==t||"null"==t||"undefined"==t||"undefined"!=typeof Uint8Array&&e instanceof Uint8Array)return e;if("array"==t)return function(e,t,o){for(var r=[],i=2;i<arguments.length;++i)r[i-2]=arguments[i];Array.isArray(e)||b("Expected array but got %s: %s.",[c(e),e],t,r)}(e),g(e,ze.X);if(e instanceof M){for(var o={},r=(e=e.entries()).next();!r.done;r=e.next())o[r.value[0]]=ze.X(r.value[1]);return o}A(e,ye,"Only messages expected: "+e);var i={$name:(t=e.constructor).name||t.displayName};for(a in t.prototype){var n=/^get([A-Z]\w*)/.exec(a);if(n&&"getExtension"!=a&&"getJsPbMessageId"!=a){var s="has"+n[1];e[s]&&!e[s]()||(s=e[a](),i[ze.$a(n[1])]=ze.X(s))}}if(e.extensionObject_)return i.$extensions="Recursive dumping of extensions not supported in compiled code. Switch to uncompiled or dump extension object directly",i;for(r in t.extensions)if(/^\d+$/.test(r)){s=t.extensions[r];var a=e.getExtension(s);n=void 0,s=s.Ba;var p=[],l=0;for(n in s)p[l++]=n;n=p[0],null!=a&&(o||(o=i.$extensions={}),o[ze.$a(n)]=ze.X(a))}return i},ze.$a=function(e){return e.replace(/^[A-Z]/,(function(e){return e.toLowerCase()}))},u("jspb.BinaryEncoder",xe,void 0),xe.prototype.length=function(){return this.a.length},xe.prototype.length=xe.prototype.length,xe.prototype.end=function(){var e=this.a;return this.a=[],e},xe.prototype.end=xe.prototype.end,xe.prototype.l=function(e,t){for(v(e==Math.floor(e)),v(t==Math.floor(t)),v(0<=e&&4294967296>e),v(0<=t&&4294967296>t);0<t||127<e;)this.a.push(127&e|128),e=(e>>>7|t<<25)>>>0,t>>>=7;this.a.push(e)},xe.prototype.writeSplitVarint64=xe.prototype.l,xe.prototype.A=function(e,t){v(e==Math.floor(e)),v(t==Math.floor(t)),v(0<=e&&4294967296>e),v(0<=t&&4294967296>t),this.s(e),this.s(t)},xe.prototype.writeSplitFixed64=xe.prototype.A,xe.prototype.j=function(e){for(v(e==Math.floor(e)),v(0<=e&&4294967296>e);127<e;)this.a.push(127&e|128),e>>>=7;this.a.push(e)},xe.prototype.writeUnsignedVarint32=xe.prototype.j,xe.prototype.M=function(e){if(v(e==Math.floor(e)),v(-2147483648<=e&&2147483648>e),0<=e)this.j(e);else{for(var t=0;9>t;t++)this.a.push(127&e|128),e>>=7;this.a.push(1)}},xe.prototype.writeSignedVarint32=xe.prototype.M,xe.prototype.va=function(e){v(e==Math.floor(e)),v(0<=e&&0x10000000000000000>e),I(e),this.l(O,z)},xe.prototype.writeUnsignedVarint64=xe.prototype.va,xe.prototype.ua=function(e){v(e==Math.floor(e)),v(-0x8000000000000000<=e&&0x8000000000000000>e),I(e),this.l(O,z)},xe.prototype.writeSignedVarint64=xe.prototype.ua,xe.prototype.wa=function(e){v(e==Math.floor(e)),v(-2147483648<=e&&2147483648>e),this.j((e<<1^e>>31)>>>0)},xe.prototype.writeZigzagVarint32=xe.prototype.wa,xe.prototype.xa=function(e){v(e==Math.floor(e)),v(-0x8000000000000000<=e&&0x8000000000000000>e),P(e),this.l(O,z)},xe.prototype.writeZigzagVarint64=xe.prototype.xa,xe.prototype.Ta=function(e){this.W(ee(e))},xe.prototype.writeZigzagVarint64String=xe.prototype.Ta,xe.prototype.W=function(e){var t=this;G(e),_(O,z,(function(e,o){t.l(e>>>0,o>>>0)}))},xe.prototype.writeZigzagVarintHash64=xe.prototype.W,xe.prototype.be=function(e){v(e==Math.floor(e)),v(0<=e&&256>e),this.a.push(e>>>0&255)},xe.prototype.writeUint8=xe.prototype.be,xe.prototype.ae=function(e){v(e==Math.floor(e)),v(0<=e&&65536>e),this.a.push(e>>>0&255),this.a.push(e>>>8&255)},xe.prototype.writeUint16=xe.prototype.ae,xe.prototype.s=function(e){v(e==Math.floor(e)),v(0<=e&&4294967296>e),this.a.push(e>>>0&255),this.a.push(e>>>8&255),this.a.push(e>>>16&255),this.a.push(e>>>24&255)},xe.prototype.writeUint32=xe.prototype.s,xe.prototype.V=function(e){v(e==Math.floor(e)),v(0<=e&&0x10000000000000000>e),x(e),this.s(O),this.s(z)},xe.prototype.writeUint64=xe.prototype.V,xe.prototype.Qc=function(e){v(e==Math.floor(e)),v(-128<=e&&128>e),this.a.push(e>>>0&255)},xe.prototype.writeInt8=xe.prototype.Qc,xe.prototype.Pc=function(e){v(e==Math.floor(e)),v(-32768<=e&&32768>e),this.a.push(e>>>0&255),this.a.push(e>>>8&255)},xe.prototype.writeInt16=xe.prototype.Pc,xe.prototype.S=function(e){v(e==Math.floor(e)),v(-2147483648<=e&&2147483648>e),this.a.push(e>>>0&255),this.a.push(e>>>8&255),this.a.push(e>>>16&255),this.a.push(e>>>24&255)},xe.prototype.writeInt32=xe.prototype.S,xe.prototype.T=function(e){v(e==Math.floor(e)),v(-0x8000000000000000<=e&&0x8000000000000000>e),I(e),this.A(O,z)},xe.prototype.writeInt64=xe.prototype.T,xe.prototype.ka=function(e){v(e==Math.floor(e)),v(-0x8000000000000000<=+e&&0x8000000000000000>+e),G(ee(e)),this.A(O,z)},xe.prototype.writeInt64String=xe.prototype.ka,xe.prototype.L=function(e){v(1/0===e||-1/0===e||isNaN(e)||-34028234663852886e22<=e&&34028234663852886e22>=e),j(e),this.s(O)},xe.prototype.writeFloat=xe.prototype.L,xe.prototype.J=function(e){v(1/0===e||-1/0===e||isNaN(e)||-17976931348623157e292<=e&&17976931348623157e292>=e),K(e),this.s(O),this.s(z)},xe.prototype.writeDouble=xe.prototype.J,xe.prototype.I=function(e){v("boolean"==typeof e||"number"==typeof e),this.a.push(e?1:0)},xe.prototype.writeBool=xe.prototype.I,xe.prototype.R=function(e){v(e==Math.floor(e)),v(-2147483648<=e&&2147483648>e),this.M(e)},xe.prototype.writeEnum=xe.prototype.R,xe.prototype.ja=function(e){this.a.push.apply(this.a,e)},xe.prototype.writeBytes=xe.prototype.ja,xe.prototype.N=function(e){G(e),this.l(O,z)},xe.prototype.writeVarintHash64=xe.prototype.N,xe.prototype.K=function(e){G(e),this.s(O),this.s(z)},xe.prototype.writeFixedHash64=xe.prototype.K,xe.prototype.U=function(e){var t=this.a.length;!function(e,t,o){for(var r=[],i=2;i<arguments.length;++i)r[i-2]=arguments[i];"string"!=typeof e&&b("Expected string but got %s: %s.",[c(e),e],t,r)}(e);for(var o=0;o<e.length;o++){var r=e.charCodeAt(o);if(128>r)this.a.push(r);else if(2048>r)this.a.push(r>>6|192),this.a.push(63&r|128);else if(65536>r)if(55296<=r&&56319>=r&&o+1<e.length){var i=e.charCodeAt(o+1);56320<=i&&57343>=i&&(r=1024*(r-55296)+i-56320+65536,this.a.push(r>>18|240),this.a.push(r>>12&63|128),this.a.push(r>>6&63|128),this.a.push(63&r|128),o++)}else this.a.push(r>>12|224),this.a.push(r>>6&63|128),this.a.push(63&r|128)}return this.a.length-t},xe.prototype.writeString=xe.prototype.U,u("jspb.arith.UInt64",Ie,void 0),Ie.prototype.cmp=function(e){return this.hi<e.hi||this.hi==e.hi&&this.lo<e.lo?-1:this.hi==e.hi&&this.lo==e.lo?0:1},Ie.prototype.cmp=Ie.prototype.cmp,Ie.prototype.La=function(){return new Ie((this.lo>>>1|(1&this.hi)<<31)>>>0,this.hi>>>1>>>0)},Ie.prototype.rightShift=Ie.prototype.La,Ie.prototype.Da=function(){return new Ie(this.lo<<1>>>0,(this.hi<<1|this.lo>>>31)>>>0)},Ie.prototype.leftShift=Ie.prototype.Da,Ie.prototype.cb=function(){return!!(2147483648&this.hi)},Ie.prototype.msb=Ie.prototype.cb,Ie.prototype.Ob=function(){return!!(1&this.lo)},Ie.prototype.lsb=Ie.prototype.Ob,Ie.prototype.Ua=function(){return 0==this.lo&&0==this.hi},Ie.prototype.zero=Ie.prototype.Ua,Ie.prototype.add=function(e){return new Ie((this.lo+e.lo&4294967295)>>>0>>>0,((this.hi+e.hi&4294967295)>>>0)+(4294967296<=this.lo+e.lo?1:0)>>>0)},Ie.prototype.add=Ie.prototype.add,Ie.prototype.sub=function(e){return new Ie((this.lo-e.lo&4294967295)>>>0>>>0,((this.hi-e.hi&4294967295)>>>0)-(0>this.lo-e.lo?1:0)>>>0)},Ie.prototype.sub=Ie.prototype.sub,Ie.mul32x32=Pe,Ie.prototype.eb=function(e){var t=Pe(this.lo,e);return(e=Pe(this.hi,e)).hi=e.lo,e.lo=0,t.add(e)},Ie.prototype.mul=Ie.prototype.eb,Ie.prototype.Xa=function(e){if(0==e)return[];var t=new Ie(0,0),o=new Ie(this.lo,this.hi);e=new Ie(e,0);for(var r=new Ie(1,0);!e.cb();)e=e.Da(),r=r.Da();for(;!r.Ua();)0>=e.cmp(o)&&(t=t.add(r),o=o.sub(e)),e=e.La(),r=r.La();return[t,o]},Ie.prototype.div=Ie.prototype.Xa,Ie.prototype.toString=function(){for(var e="",t=this;!t.Ua();){var o=(t=t.Xa(10))[0];e=t[1].lo+e,t=o}return""==e&&(e="0"),e},Ie.prototype.toString=Ie.prototype.toString,Ie.fromString=je,Ie.prototype.clone=function(){return new Ie(this.lo,this.hi)},Ie.prototype.clone=Ie.prototype.clone,u("jspb.arith.Int64",Ke,void 0),Ke.prototype.add=function(e){return new Ke((this.lo+e.lo&4294967295)>>>0>>>0,((this.hi+e.hi&4294967295)>>>0)+(4294967296<=this.lo+e.lo?1:0)>>>0)},Ke.prototype.add=Ke.prototype.add,Ke.prototype.sub=function(e){return new Ke((this.lo-e.lo&4294967295)>>>0>>>0,((this.hi-e.hi&4294967295)>>>0)-(0>this.lo-e.lo?1:0)>>>0)},Ke.prototype.sub=Ke.prototype.sub,Ke.prototype.clone=function(){return new Ke(this.lo,this.hi)},Ke.prototype.clone=Ke.prototype.clone,Ke.prototype.toString=function(){var e=!!(2147483648&this.hi),t=new Ie(this.lo,this.hi);return e&&(t=new Ie(0,0).sub(t)),(e?"-":"")+t.toString()},Ke.prototype.toString=Ke.prototype.toString,Ke.fromString=Ge,u("jspb.BinaryWriter",Le,void 0),Le.prototype.pb=function(e,t,o){Ne(this,e.subarray(t,o))},Le.prototype.writeSerializedMessage=Le.prototype.pb,Le.prototype.Pb=function(e,t,o){null!=e&&null!=t&&null!=o&&this.pb(e,t,o)},Le.prototype.maybeWriteSerializedMessage=Le.prototype.Pb,Le.prototype.reset=function(){this.c=[],this.a.end(),this.b=0,this.h=[]},Le.prototype.reset=Le.prototype.reset,Le.prototype.ab=function(){v(0==this.h.length);for(var e=new Uint8Array(this.b+this.a.length()),t=this.c,o=t.length,r=0,i=0;i<o;i++){var n=t[i];e.set(n,r),r+=n.length}return t=this.a.end(),e.set(t,r),v((r+=t.length)==e.length),this.c=[e],e},Le.prototype.getResultBuffer=Le.prototype.ab,Le.prototype.Kb=function(e){return U(this.ab(),e)},Le.prototype.getResultBase64String=Le.prototype.Kb,Le.prototype.Va=function(e){this.h.push(_e(this,e))},Le.prototype.beginSubMessage=Le.prototype.Va,Le.prototype.Ya=function(){v(0<=this.h.length),Ve(this,this.h.pop())},Le.prototype.endSubMessage=Le.prototype.Ya,Le.prototype.Nc=function(e,t,o){switch(e){case 1:this.J(t,o);break;case 2:this.L(t,o);break;case 3:this.T(t,o);break;case 4:this.V(t,o);break;case 5:this.S(t,o);break;case 6:this.Qa(t,o);break;case 7:this.Pa(t,o);break;case 8:this.I(t,o);break;case 9:this.U(t,o);break;case 10:R("Group field type not supported in writeAny()");break;case 11:R("Message field type not supported in writeAny()");break;case 12:this.ja(t,o);break;case 13:this.s(t,o);break;case 14:this.R(t,o);break;case 15:this.Ra(t,o);break;case 16:this.Sa(t,o);break;case 17:this.rb(t,o);break;case 18:this.sb(t,o);break;case 30:this.K(t,o);break;case 31:this.N(t,o);break;default:R("Invalid field type in writeAny()")}},Le.prototype.writeAny=Le.prototype.Nc,Le.prototype.S=function(e,t){null!=t&&(v(-2147483648<=t&&2147483648>t),He(this,e,t))},Le.prototype.writeInt32=Le.prototype.S,Le.prototype.ob=function(e,t){null!=t&&(v(-2147483648<=(t=parseInt(t,10))&&2147483648>t),He(this,e,t))},Le.prototype.writeInt32String=Le.prototype.ob,Le.prototype.T=function(e,t){null!=t&&(v(-0x8000000000000000<=t&&0x8000000000000000>t),null!=t&&(Je(this,e,0),this.a.ua(t)))},Le.prototype.writeInt64=Le.prototype.T,Le.prototype.ka=function(e,t){null!=t&&(t=Ge(t),Je(this,e,0),this.a.l(t.lo,t.hi))},Le.prototype.writeInt64String=Le.prototype.ka,Le.prototype.s=function(e,t){null!=t&&(v(0<=t&&4294967296>t),$e(this,e,t))},Le.prototype.writeUint32=Le.prototype.s,Le.prototype.ub=function(e,t){null!=t&&(v(0<=(t=parseInt(t,10))&&4294967296>t),$e(this,e,t))},Le.prototype.writeUint32String=Le.prototype.ub,Le.prototype.V=function(e,t){null!=t&&(v(0<=t&&0x10000000000000000>t),null!=t&&(Je(this,e,0),this.a.va(t)))},Le.prototype.writeUint64=Le.prototype.V,Le.prototype.vb=function(e,t){null!=t&&(t=je(t),Je(this,e,0),this.a.l(t.lo,t.hi))},Le.prototype.writeUint64String=Le.prototype.vb,Le.prototype.rb=function(e,t){null!=t&&(v(-2147483648<=t&&2147483648>t),null!=t&&(Je(this,e,0),this.a.wa(t)))},Le.prototype.writeSint32=Le.prototype.rb,Le.prototype.sb=function(e,t){null!=t&&(v(-0x8000000000000000<=t&&0x8000000000000000>t),null!=t&&(Je(this,e,0),this.a.xa(t)))},Le.prototype.writeSint64=Le.prototype.sb,Le.prototype.$d=function(e,t){null!=t&&null!=t&&(Je(this,e,0),this.a.W(t))},Le.prototype.writeSintHash64=Le.prototype.$d,Le.prototype.Zd=function(e,t){null!=t&&null!=t&&(Je(this,e,0),this.a.Ta(t))},Le.prototype.writeSint64String=Le.prototype.Zd,Le.prototype.Pa=function(e,t){null!=t&&(v(0<=t&&4294967296>t),Je(this,e,5),this.a.s(t))},Le.prototype.writeFixed32=Le.prototype.Pa,Le.prototype.Qa=function(e,t){null!=t&&(v(0<=t&&0x10000000000000000>t),Je(this,e,1),this.a.V(t))},Le.prototype.writeFixed64=Le.prototype.Qa,Le.prototype.nb=function(e,t){null!=t&&(t=je(t),Je(this,e,1),this.a.A(t.lo,t.hi))},Le.prototype.writeFixed64String=Le.prototype.nb,Le.prototype.Ra=function(e,t){null!=t&&(v(-2147483648<=t&&2147483648>t),Je(this,e,5),this.a.S(t))},Le.prototype.writeSfixed32=Le.prototype.Ra,Le.prototype.Sa=function(e,t){null!=t&&(v(-0x8000000000000000<=t&&0x8000000000000000>t),Je(this,e,1),this.a.T(t))},Le.prototype.writeSfixed64=Le.prototype.Sa,Le.prototype.qb=function(e,t){null!=t&&(t=Ge(t),Je(this,e,1),this.a.A(t.lo,t.hi))},Le.prototype.writeSfixed64String=Le.prototype.qb,Le.prototype.L=function(e,t){null!=t&&(Je(this,e,5),this.a.L(t))},Le.prototype.writeFloat=Le.prototype.L,Le.prototype.J=function(e,t){null!=t&&(Je(this,e,1),this.a.J(t))},Le.prototype.writeDouble=Le.prototype.J,Le.prototype.I=function(e,t){null!=t&&(v("boolean"==typeof t||"number"==typeof t),Je(this,e,0),this.a.I(t))},Le.prototype.writeBool=Le.prototype.I,Le.prototype.R=function(e,t){null!=t&&(v(-2147483648<=t&&2147483648>t),Je(this,e,0),this.a.M(t))},Le.prototype.writeEnum=Le.prototype.R,Le.prototype.U=function(e,t){null!=t&&(e=_e(this,e),this.a.U(t),Ve(this,e))},Le.prototype.writeString=Le.prototype.U,Le.prototype.ja=function(e,t){null!=t&&(t=ie(t),Je(this,e,2),this.a.j(t.length),Ne(this,t))},Le.prototype.writeBytes=Le.prototype.ja,Le.prototype.Rc=function(e,t,o){null!=t&&(e=_e(this,e),o(t,this),Ve(this,e))},Le.prototype.writeMessage=Le.prototype.Rc,Le.prototype.Sc=function(e,t,o){null!=t&&(Je(this,1,3),Je(this,2,0),this.a.M(e),e=_e(this,3),o(t,this),Ve(this,e),Je(this,1,4))},Le.prototype.writeMessageSet=Le.prototype.Sc,Le.prototype.Oc=function(e,t,o){null!=t&&(Je(this,e,3),o(t,this),Je(this,e,4))},Le.prototype.writeGroup=Le.prototype.Oc,Le.prototype.K=function(e,t){null!=t&&(v(8==t.length),Je(this,e,1),this.a.K(t))},Le.prototype.writeFixedHash64=Le.prototype.K,Le.prototype.N=function(e,t){null!=t&&(v(8==t.length),Je(this,e,0),this.a.N(t))},Le.prototype.writeVarintHash64=Le.prototype.N,Le.prototype.A=function(e,t,o){Je(this,e,1),this.a.A(t,o)},Le.prototype.writeSplitFixed64=Le.prototype.A,Le.prototype.l=function(e,t,o){Je(this,e,0),this.a.l(t,o)},Le.prototype.writeSplitVarint64=Le.prototype.l,Le.prototype.tb=function(e,t,o){Je(this,e,0);var r=this.a;_(t,o,(function(e,t){r.l(e>>>0,t>>>0)}))},Le.prototype.writeSplitZigzagVarint64=Le.prototype.tb,Le.prototype.Ed=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)He(this,e,t[o])},Le.prototype.writeRepeatedInt32=Le.prototype.Ed,Le.prototype.Fd=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.ob(e,t[o])},Le.prototype.writeRepeatedInt32String=Le.prototype.Fd,Le.prototype.Gd=function(e,t){if(null!=t)for(var o=0;o<t.length;o++){var r=t[o];null!=r&&(Je(this,e,0),this.a.ua(r))}},Le.prototype.writeRepeatedInt64=Le.prototype.Gd,Le.prototype.Qd=function(e,t,o,r){if(null!=t)for(var i=0;i<t.length;i++)this.A(e,o(t[i]),r(t[i]))},Le.prototype.writeRepeatedSplitFixed64=Le.prototype.Qd,Le.prototype.Rd=function(e,t,o,r){if(null!=t)for(var i=0;i<t.length;i++)this.l(e,o(t[i]),r(t[i]))},Le.prototype.writeRepeatedSplitVarint64=Le.prototype.Rd,Le.prototype.Sd=function(e,t,o,r){if(null!=t)for(var i=0;i<t.length;i++)this.tb(e,o(t[i]),r(t[i]))},Le.prototype.writeRepeatedSplitZigzagVarint64=Le.prototype.Sd,Le.prototype.Hd=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.ka(e,t[o])},Le.prototype.writeRepeatedInt64String=Le.prototype.Hd,Le.prototype.Ud=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)$e(this,e,t[o])},Le.prototype.writeRepeatedUint32=Le.prototype.Ud,Le.prototype.Vd=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.ub(e,t[o])},Le.prototype.writeRepeatedUint32String=Le.prototype.Vd,Le.prototype.Wd=function(e,t){if(null!=t)for(var o=0;o<t.length;o++){var r=t[o];null!=r&&(Je(this,e,0),this.a.va(r))}},Le.prototype.writeRepeatedUint64=Le.prototype.Wd,Le.prototype.Xd=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.vb(e,t[o])},Le.prototype.writeRepeatedUint64String=Le.prototype.Xd,Le.prototype.Md=function(e,t){if(null!=t)for(var o=0;o<t.length;o++){var r=t[o];null!=r&&(Je(this,e,0),this.a.wa(r))}},Le.prototype.writeRepeatedSint32=Le.prototype.Md,Le.prototype.Nd=function(e,t){if(null!=t)for(var o=0;o<t.length;o++){var r=t[o];null!=r&&(Je(this,e,0),this.a.xa(r))}},Le.prototype.writeRepeatedSint64=Le.prototype.Nd,Le.prototype.Od=function(e,t){if(null!=t)for(var o=0;o<t.length;o++){var r=t[o];null!=r&&(Je(this,e,0),this.a.Ta(r))}},Le.prototype.writeRepeatedSint64String=Le.prototype.Od,Le.prototype.Pd=function(e,t){if(null!=t)for(var o=0;o<t.length;o++){var r=t[o];null!=r&&(Je(this,e,0),this.a.W(r))}},Le.prototype.writeRepeatedSintHash64=Le.prototype.Pd,Le.prototype.yd=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.Pa(e,t[o])},Le.prototype.writeRepeatedFixed32=Le.prototype.yd,Le.prototype.zd=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.Qa(e,t[o])},Le.prototype.writeRepeatedFixed64=Le.prototype.zd,Le.prototype.Ad=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.nb(e,t[o])},Le.prototype.writeRepeatedFixed64String=Le.prototype.Ad,Le.prototype.Jd=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.Ra(e,t[o])},Le.prototype.writeRepeatedSfixed32=Le.prototype.Jd,Le.prototype.Kd=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.Sa(e,t[o])},Le.prototype.writeRepeatedSfixed64=Le.prototype.Kd,Le.prototype.Ld=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.qb(e,t[o])},Le.prototype.writeRepeatedSfixed64String=Le.prototype.Ld,Le.prototype.Cd=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.L(e,t[o])},Le.prototype.writeRepeatedFloat=Le.prototype.Cd,Le.prototype.wd=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.J(e,t[o])},Le.prototype.writeRepeatedDouble=Le.prototype.wd,Le.prototype.ud=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.I(e,t[o])},Le.prototype.writeRepeatedBool=Le.prototype.ud,Le.prototype.xd=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.R(e,t[o])},Le.prototype.writeRepeatedEnum=Le.prototype.xd,Le.prototype.Td=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.U(e,t[o])},Le.prototype.writeRepeatedString=Le.prototype.Td,Le.prototype.vd=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.ja(e,t[o])},Le.prototype.writeRepeatedBytes=Le.prototype.vd,Le.prototype.Id=function(e,t,o){if(null!=t)for(var r=0;r<t.length;r++){var i=_e(this,e);o(t[r],this),Ve(this,i)}},Le.prototype.writeRepeatedMessage=Le.prototype.Id,Le.prototype.Dd=function(e,t,o){if(null!=t)for(var r=0;r<t.length;r++)Je(this,e,3),o(t[r],this),Je(this,e,4)},Le.prototype.writeRepeatedGroup=Le.prototype.Dd,Le.prototype.Bd=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.K(e,t[o])},Le.prototype.writeRepeatedFixedHash64=Le.prototype.Bd,Le.prototype.Yd=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.N(e,t[o])},Le.prototype.writeRepeatedVarintHash64=Le.prototype.Yd,Le.prototype.ad=function(e,t){if(null!=t&&t.length){e=_e(this,e);for(var o=0;o<t.length;o++)this.a.M(t[o]);Ve(this,e)}},Le.prototype.writePackedInt32=Le.prototype.ad,Le.prototype.bd=function(e,t){if(null!=t&&t.length){e=_e(this,e);for(var o=0;o<t.length;o++)this.a.M(parseInt(t[o],10));Ve(this,e)}},Le.prototype.writePackedInt32String=Le.prototype.bd,Le.prototype.cd=function(e,t){if(null!=t&&t.length){e=_e(this,e);for(var o=0;o<t.length;o++)this.a.ua(t[o]);Ve(this,e)}},Le.prototype.writePackedInt64=Le.prototype.cd,Le.prototype.md=function(e,t,o,r){if(null!=t){e=_e(this,e);for(var i=0;i<t.length;i++)this.a.A(o(t[i]),r(t[i]));Ve(this,e)}},Le.prototype.writePackedSplitFixed64=Le.prototype.md,Le.prototype.nd=function(e,t,o,r){if(null!=t){e=_e(this,e);for(var i=0;i<t.length;i++)this.a.l(o(t[i]),r(t[i]));Ve(this,e)}},Le.prototype.writePackedSplitVarint64=Le.prototype.nd,Le.prototype.od=function(e,t,o,r){if(null!=t){e=_e(this,e);for(var i=this.a,n=0;n<t.length;n++)_(o(t[n]),r(t[n]),(function(e,t){i.l(e>>>0,t>>>0)}));Ve(this,e)}},Le.prototype.writePackedSplitZigzagVarint64=Le.prototype.od,Le.prototype.dd=function(e,t){if(null!=t&&t.length){e=_e(this,e);for(var o=0;o<t.length;o++){var r=Ge(t[o]);this.a.l(r.lo,r.hi)}Ve(this,e)}},Le.prototype.writePackedInt64String=Le.prototype.dd,Le.prototype.pd=function(e,t){if(null!=t&&t.length){e=_e(this,e);for(var o=0;o<t.length;o++)this.a.j(t[o]);Ve(this,e)}},Le.prototype.writePackedUint32=Le.prototype.pd,Le.prototype.qd=function(e,t){if(null!=t&&t.length){e=_e(this,e);for(var o=0;o<t.length;o++)this.a.j(parseInt(t[o],10));Ve(this,e)}},Le.prototype.writePackedUint32String=Le.prototype.qd,Le.prototype.rd=function(e,t){if(null!=t&&t.length){e=_e(this,e);for(var o=0;o<t.length;o++)this.a.va(t[o]);Ve(this,e)}},Le.prototype.writePackedUint64=Le.prototype.rd,Le.prototype.sd=function(e,t){if(null!=t&&t.length){e=_e(this,e);for(var o=0;o<t.length;o++){var r=je(t[o]);this.a.l(r.lo,r.hi)}Ve(this,e)}},Le.prototype.writePackedUint64String=Le.prototype.sd,Le.prototype.hd=function(e,t){if(null!=t&&t.length){e=_e(this,e);for(var o=0;o<t.length;o++)this.a.wa(t[o]);Ve(this,e)}},Le.prototype.writePackedSint32=Le.prototype.hd,Le.prototype.jd=function(e,t){if(null!=t&&t.length){e=_e(this,e);for(var o=0;o<t.length;o++)this.a.xa(t[o]);Ve(this,e)}},Le.prototype.writePackedSint64=Le.prototype.jd,Le.prototype.kd=function(e,t){if(null!=t&&t.length){e=_e(this,e);for(var o=0;o<t.length;o++)this.a.W(ee(t[o]));Ve(this,e)}},Le.prototype.writePackedSint64String=Le.prototype.kd,Le.prototype.ld=function(e,t){if(null!=t&&t.length){e=_e(this,e);for(var o=0;o<t.length;o++)this.a.W(t[o]);Ve(this,e)}},Le.prototype.writePackedSintHash64=Le.prototype.ld,Le.prototype.Wc=function(e,t){if(null!=t&&t.length)for(Je(this,e,2),this.a.j(4*t.length),e=0;e<t.length;e++)this.a.s(t[e])},Le.prototype.writePackedFixed32=Le.prototype.Wc,Le.prototype.Xc=function(e,t){if(null!=t&&t.length)for(Je(this,e,2),this.a.j(8*t.length),e=0;e<t.length;e++)this.a.V(t[e])},Le.prototype.writePackedFixed64=Le.prototype.Xc,Le.prototype.Yc=function(e,t){if(null!=t&&t.length)for(Je(this,e,2),this.a.j(8*t.length),e=0;e<t.length;e++){var o=je(t[e]);this.a.A(o.lo,o.hi)}},Le.prototype.writePackedFixed64String=Le.prototype.Yc,Le.prototype.ed=function(e,t){if(null!=t&&t.length)for(Je(this,e,2),this.a.j(4*t.length),e=0;e<t.length;e++)this.a.S(t[e])},Le.prototype.writePackedSfixed32=Le.prototype.ed,Le.prototype.fd=function(e,t){if(null!=t&&t.length)for(Je(this,e,2),this.a.j(8*t.length),e=0;e<t.length;e++)this.a.T(t[e])},Le.prototype.writePackedSfixed64=Le.prototype.fd,Le.prototype.gd=function(e,t){if(null!=t&&t.length)for(Je(this,e,2),this.a.j(8*t.length),e=0;e<t.length;e++)this.a.ka(t[e])},Le.prototype.writePackedSfixed64String=Le.prototype.gd,Le.prototype.$c=function(e,t){if(null!=t&&t.length)for(Je(this,e,2),this.a.j(4*t.length),e=0;e<t.length;e++)this.a.L(t[e])},Le.prototype.writePackedFloat=Le.prototype.$c,Le.prototype.Uc=function(e,t){if(null!=t&&t.length)for(Je(this,e,2),this.a.j(8*t.length),e=0;e<t.length;e++)this.a.J(t[e])},Le.prototype.writePackedDouble=Le.prototype.Uc,Le.prototype.Tc=function(e,t){if(null!=t&&t.length)for(Je(this,e,2),this.a.j(t.length),e=0;e<t.length;e++)this.a.I(t[e])},Le.prototype.writePackedBool=Le.prototype.Tc,Le.prototype.Vc=function(e,t){if(null!=t&&t.length){e=_e(this,e);for(var o=0;o<t.length;o++)this.a.R(t[o]);Ve(this,e)}},Le.prototype.writePackedEnum=Le.prototype.Vc,Le.prototype.Zc=function(e,t){if(null!=t&&t.length)for(Je(this,e,2),this.a.j(8*t.length),e=0;e<t.length;e++)this.a.K(t[e])},Le.prototype.writePackedFixedHash64=Le.prototype.Zc,Le.prototype.td=function(e,t){if(null!=t&&t.length){e=_e(this,e);for(var o=0;o<t.length;o++)this.a.N(t[o]);Ve(this,e)}},Le.prototype.writePackedVarintHash64=Le.prototype.td,e.debug=ze,e.Map=M,e.Message=ye,e.BinaryReader=pe,e.BinaryWriter=Le,e.ExtensionFieldInfo=fe,e.ExtensionFieldBinaryInfo=de,e.exportSymbol=function(e,t,o){u(e,t,o)},e.inherits=function(e,t){function o(){}o.prototype=t.prototype,e.prototype=new o,e.prototype.constructor=e},e.object={extend:function(e,t){for(var o,r,i=1;i<arguments.length;i++){for(o in r=arguments[i])e[o]=r[o];for(var n=0;n<d.length;n++)o=d[n],Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}}},e.typeOf=c}(a);var p,l={};!function(e){var t=a,o=t,r="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof window&&window||void 0!==r&&r||"undefined"!=typeof self&&self||function(){return this}.call(null)||Function("return this")();o.exportSymbol("proto.google.protobuf.Empty",null,r),proto.google.protobuf.Empty=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.google.protobuf.Empty,t.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.Empty.displayName="proto.google.protobuf.Empty"),t.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Empty.prototype.toObject=function(e){return proto.google.protobuf.Empty.toObject(e,this)},proto.google.protobuf.Empty.toObject=function(e,t){var o={};return e&&(o.$jspbMessageInstance=t),o}),proto.google.protobuf.Empty.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.google.protobuf.Empty;return proto.google.protobuf.Empty.deserializeBinaryFromReader(r,o)},proto.google.protobuf.Empty.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.google.protobuf.Empty.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.google.protobuf.Empty.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.Empty.serializeBinaryToWriter=function(e,t){},o.object.extend(e,proto.google.protobuf)}(l),function(e){var t=a,o=t,r=function(){return this||window||r||self||Function("return this")()}.call(null),i=l;o.object.extend(proto,i),o.exportSymbol("proto.fonoster.identity.v1beta2.ApiKey",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.CreateApiKeyRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.CreateApiKeyResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.CreateUserRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.CreateUserResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.CreateWorkspaceRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.CreateWorkspaceResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.DeleteApiKeyRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.DeleteApiKeyResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.DeleteUserRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.DeleteUserResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.GetPublicKeyResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.GetUserRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.GetUserResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.GetWorkspaceRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ListApiKeysRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ListApiKeysResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ListWorkspacesRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ListWorkspacesResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.RevokeTokenRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.RevokeTokenResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.UpdateUserRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.UpdateUserResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.Workspace",null,r),proto.fonoster.identity.v1beta2.CreateWorkspaceRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.CreateWorkspaceRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.displayName="proto.fonoster.identity.v1beta2.CreateWorkspaceRequest"),proto.fonoster.identity.v1beta2.CreateWorkspaceResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.CreateWorkspaceResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.displayName="proto.fonoster.identity.v1beta2.CreateWorkspaceResponse"),proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.displayName="proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest"),proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.displayName="proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse"),proto.fonoster.identity.v1beta2.GetWorkspaceRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.GetWorkspaceRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.GetWorkspaceRequest.displayName="proto.fonoster.identity.v1beta2.GetWorkspaceRequest"),proto.fonoster.identity.v1beta2.ListWorkspacesRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ListWorkspacesRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ListWorkspacesRequest.displayName="proto.fonoster.identity.v1beta2.ListWorkspacesRequest"),proto.fonoster.identity.v1beta2.ListWorkspacesResponse=function(e){t.Message.initialize(this,e,0,-1,proto.fonoster.identity.v1beta2.ListWorkspacesResponse.repeatedFields_,null)},o.inherits(proto.fonoster.identity.v1beta2.ListWorkspacesResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ListWorkspacesResponse.displayName="proto.fonoster.identity.v1beta2.ListWorkspacesResponse"),proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.displayName="proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest"),proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.displayName="proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse"),proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.displayName="proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest"),proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.displayName="proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse"),proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.displayName="proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest"),proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.displayName="proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse"),proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.displayName="proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest"),proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.displayName="proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse"),proto.fonoster.identity.v1beta2.CreateUserRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.CreateUserRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.CreateUserRequest.displayName="proto.fonoster.identity.v1beta2.CreateUserRequest"),proto.fonoster.identity.v1beta2.CreateUserResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.CreateUserResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.CreateUserResponse.displayName="proto.fonoster.identity.v1beta2.CreateUserResponse"),proto.fonoster.identity.v1beta2.GetUserRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.GetUserRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.GetUserRequest.displayName="proto.fonoster.identity.v1beta2.GetUserRequest"),proto.fonoster.identity.v1beta2.GetUserResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.GetUserResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.GetUserResponse.displayName="proto.fonoster.identity.v1beta2.GetUserResponse"),proto.fonoster.identity.v1beta2.UpdateUserRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.UpdateUserRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.UpdateUserRequest.displayName="proto.fonoster.identity.v1beta2.UpdateUserRequest"),proto.fonoster.identity.v1beta2.UpdateUserResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.UpdateUserResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.UpdateUserResponse.displayName="proto.fonoster.identity.v1beta2.UpdateUserResponse"),proto.fonoster.identity.v1beta2.DeleteUserRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.DeleteUserRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.DeleteUserRequest.displayName="proto.fonoster.identity.v1beta2.DeleteUserRequest"),proto.fonoster.identity.v1beta2.DeleteUserResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.DeleteUserResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.DeleteUserResponse.displayName="proto.fonoster.identity.v1beta2.DeleteUserResponse"),proto.fonoster.identity.v1beta2.Workspace=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.Workspace,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.Workspace.displayName="proto.fonoster.identity.v1beta2.Workspace"),proto.fonoster.identity.v1beta2.CreateApiKeyRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.CreateApiKeyRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.CreateApiKeyRequest.displayName="proto.fonoster.identity.v1beta2.CreateApiKeyRequest"),proto.fonoster.identity.v1beta2.CreateApiKeyResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.CreateApiKeyResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.CreateApiKeyResponse.displayName="proto.fonoster.identity.v1beta2.CreateApiKeyResponse"),proto.fonoster.identity.v1beta2.DeleteApiKeyRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.DeleteApiKeyRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.displayName="proto.fonoster.identity.v1beta2.DeleteApiKeyRequest"),proto.fonoster.identity.v1beta2.DeleteApiKeyResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.DeleteApiKeyResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.displayName="proto.fonoster.identity.v1beta2.DeleteApiKeyResponse"),proto.fonoster.identity.v1beta2.ListApiKeysRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ListApiKeysRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ListApiKeysRequest.displayName="proto.fonoster.identity.v1beta2.ListApiKeysRequest"),proto.fonoster.identity.v1beta2.ListApiKeysResponse=function(e){t.Message.initialize(this,e,0,-1,proto.fonoster.identity.v1beta2.ListApiKeysResponse.repeatedFields_,null)},o.inherits(proto.fonoster.identity.v1beta2.ListApiKeysResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ListApiKeysResponse.displayName="proto.fonoster.identity.v1beta2.ListApiKeysResponse"),proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.displayName="proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest"),proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.displayName="proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse"),proto.fonoster.identity.v1beta2.ApiKey=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ApiKey,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ApiKey.displayName="proto.fonoster.identity.v1beta2.ApiKey"),proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.displayName="proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest"),proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.displayName="proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse"),proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.displayName="proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest"),proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.displayName="proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse"),proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.displayName="proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest"),proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.displayName="proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse"),proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.displayName="proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest"),proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.displayName="proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse"),proto.fonoster.identity.v1beta2.RevokeTokenRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.RevokeTokenRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.RevokeTokenRequest.displayName="proto.fonoster.identity.v1beta2.RevokeTokenRequest"),proto.fonoster.identity.v1beta2.RevokeTokenResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.RevokeTokenResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.RevokeTokenResponse.displayName="proto.fonoster.identity.v1beta2.RevokeTokenResponse"),proto.fonoster.identity.v1beta2.GetPublicKeyResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.GetPublicKeyResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.GetPublicKeyResponse.displayName="proto.fonoster.identity.v1beta2.GetPublicKeyResponse"),t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.toObject=function(e,o){var r={name:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.CreateWorkspaceRequest;return proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setName(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getName()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.prototype.getName=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.prototype.setName=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.CreateWorkspaceResponse;return proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest;return proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse;return proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.GetWorkspaceRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.GetWorkspaceRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.GetWorkspaceRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.GetWorkspaceRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.GetWorkspaceRequest;return proto.fonoster.identity.v1beta2.GetWorkspaceRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.GetWorkspaceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.GetWorkspaceRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.GetWorkspaceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.GetWorkspaceRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.GetWorkspaceRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.GetWorkspaceRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ListWorkspacesRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ListWorkspacesRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.toObject=function(e,o){var r={pageToken:t.Message.getFieldWithDefault(o,1,""),pageSize:t.Message.getFieldWithDefault(o,2,0)};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ListWorkspacesRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ListWorkspacesRequest;return proto.fonoster.identity.v1beta2.ListWorkspacesRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setPageToken(o);break;case 2:o=t.readInt32();e.setPageSize(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ListWorkspacesRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getPageToken()).length>0&&t.writeString(1,o),0!==(o=e.getPageSize())&&t.writeInt32(2,o)},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.prototype.getPageToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.prototype.setPageToken=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.prototype.getPageSize=function(){return t.Message.getFieldWithDefault(this,2,0)},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.prototype.setPageSize=function(e){return t.Message.setProto3IntField(this,2,e)},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.repeatedFields_=[1],t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ListWorkspacesResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.toObject=function(e,o){var r={workspacesList:t.Message.toObjectList(o.getWorkspacesList(),proto.fonoster.identity.v1beta2.Workspace.toObject,e),nextPageToken:t.Message.getFieldWithDefault(o,2,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ListWorkspacesResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ListWorkspacesResponse;return proto.fonoster.identity.v1beta2.ListWorkspacesResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new proto.fonoster.identity.v1beta2.Workspace;t.readMessage(o,proto.fonoster.identity.v1beta2.Workspace.deserializeBinaryFromReader),e.addWorkspaces(o);break;case 2:o=t.readString();e.setNextPageToken(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ListWorkspacesResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getWorkspacesList()).length>0&&t.writeRepeatedMessage(1,o,proto.fonoster.identity.v1beta2.Workspace.serializeBinaryToWriter),(o=e.getNextPageToken()).length>0&&t.writeString(2,o)},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.getWorkspacesList=function(){return t.Message.getRepeatedWrapperField(this,proto.fonoster.identity.v1beta2.Workspace,1)},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.setWorkspacesList=function(e){return t.Message.setRepeatedWrapperField(this,1,e)},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.addWorkspaces=function(e,o){return t.Message.addToRepeatedWrapperField(this,1,e,proto.fonoster.identity.v1beta2.Workspace,o)},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.clearWorkspacesList=function(){return this.setWorkspacesList([])},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.getNextPageToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.setNextPageToken=function(e){return t.Message.setProto3StringField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,""),name:t.Message.getFieldWithDefault(o,2,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest;return proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setName(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getName()).length>0&&t.writeString(2,o)},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.prototype.getName=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.prototype.setName=function(e){return t.Message.setProto3StringField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse;return proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.toObject=function(e,o){var r={email:t.Message.getFieldWithDefault(o,1,""),role:t.Message.getFieldWithDefault(o,2,""),name:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest;return proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setEmail(o);break;case 2:o=t.readString();e.setRole(o);break;case 3:o=t.readString();e.setName(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getEmail()).length>0&&t.writeString(1,o),(o=e.getRole()).length>0&&t.writeString(2,o),(o=e.getName()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.getEmail=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.setEmail=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.getRole=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.setRole=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.getName=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.setName=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.toObject=function(e,o){var r={userRef:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse;return proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setUserRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getUserRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.prototype.getUserRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.prototype.setUserRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.toObject=function(e,o){var r={userRef:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest;return proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setUserRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getUserRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.prototype.getUserRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.prototype.setUserRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.toObject=function(e,o){var r={userRef:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse;return proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setUserRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getUserRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.prototype.getUserRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.prototype.setUserRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.toObject=function(e,o){var r={userRef:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest;return proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setUserRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getUserRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.prototype.getUserRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.prototype.setUserRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.toObject=function(e,o){var r={userRef:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse;return proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setUserRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getUserRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.prototype.getUserRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.prototype.setUserRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.CreateUserRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.CreateUserRequest.toObject=function(e,o){var r={email:t.Message.getFieldWithDefault(o,1,""),password:t.Message.getFieldWithDefault(o,2,""),name:t.Message.getFieldWithDefault(o,3,""),avatar:t.Message.getFieldWithDefault(o,4,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.CreateUserRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.CreateUserRequest;return proto.fonoster.identity.v1beta2.CreateUserRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.CreateUserRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setEmail(o);break;case 2:o=t.readString();e.setPassword(o);break;case 3:o=t.readString();e.setName(o);break;case 4:o=t.readString();e.setAvatar(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.CreateUserRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.CreateUserRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getEmail()).length>0&&t.writeString(1,o),(o=e.getPassword()).length>0&&t.writeString(2,o),(o=e.getName()).length>0&&t.writeString(3,o),(o=e.getAvatar()).length>0&&t.writeString(4,o)},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.getEmail=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.setEmail=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.getPassword=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.setPassword=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.getName=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.setName=function(e){return t.Message.setProto3StringField(this,3,e)},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.getAvatar=function(){return t.Message.getFieldWithDefault(this,4,"")},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.setAvatar=function(e){return t.Message.setProto3StringField(this,4,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.CreateUserResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.CreateUserResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.CreateUserResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.CreateUserResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.CreateUserResponse;return proto.fonoster.identity.v1beta2.CreateUserResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.CreateUserResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.CreateUserResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.CreateUserResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.CreateUserResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.CreateUserResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.CreateUserResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.GetUserRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.GetUserRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.GetUserRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.GetUserRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.GetUserRequest;return proto.fonoster.identity.v1beta2.GetUserRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.GetUserRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.GetUserRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.GetUserRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.GetUserRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.GetUserRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.GetUserRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.GetUserResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.GetUserResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.GetUserResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,""),email:t.Message.getFieldWithDefault(o,2,""),name:t.Message.getFieldWithDefault(o,3,""),avatar:t.Message.getFieldWithDefault(o,4,""),createdAt:t.Message.getFieldWithDefault(o,5,0),updatedAt:t.Message.getFieldWithDefault(o,6,0)};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.GetUserResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.GetUserResponse;return proto.fonoster.identity.v1beta2.GetUserResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.GetUserResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setEmail(o);break;case 3:o=t.readString();e.setName(o);break;case 4:o=t.readString();e.setAvatar(o);break;case 5:o=t.readInt64();e.setCreatedAt(o);break;case 6:o=t.readInt64();e.setUpdatedAt(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.GetUserResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.GetUserResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getEmail()).length>0&&t.writeString(2,o),(o=e.getName()).length>0&&t.writeString(3,o),(o=e.getAvatar()).length>0&&t.writeString(4,o),0!==(o=e.getCreatedAt())&&t.writeInt64(5,o),0!==(o=e.getUpdatedAt())&&t.writeInt64(6,o)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.getEmail=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.setEmail=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.getName=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.setName=function(e){return t.Message.setProto3StringField(this,3,e)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.getAvatar=function(){return t.Message.getFieldWithDefault(this,4,"")},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.setAvatar=function(e){return t.Message.setProto3StringField(this,4,e)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.getCreatedAt=function(){return t.Message.getFieldWithDefault(this,5,0)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.setCreatedAt=function(e){return t.Message.setProto3IntField(this,5,e)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.getUpdatedAt=function(){return t.Message.getFieldWithDefault(this,6,0)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.setUpdatedAt=function(e){return t.Message.setProto3IntField(this,6,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.UpdateUserRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.UpdateUserRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,""),password:t.Message.getFieldWithDefault(o,2,""),name:t.Message.getFieldWithDefault(o,3,""),avatar:t.Message.getFieldWithDefault(o,4,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.UpdateUserRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.UpdateUserRequest;return proto.fonoster.identity.v1beta2.UpdateUserRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.UpdateUserRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setPassword(o);break;case 3:o=t.readString();e.setName(o);break;case 4:o=t.readString();e.setAvatar(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.UpdateUserRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.UpdateUserRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getPassword()).length>0&&t.writeString(2,o),(o=e.getName()).length>0&&t.writeString(3,o),(o=e.getAvatar()).length>0&&t.writeString(4,o)},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.getPassword=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.setPassword=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.getName=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.setName=function(e){return t.Message.setProto3StringField(this,3,e)},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.getAvatar=function(){return t.Message.getFieldWithDefault(this,4,"")},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.setAvatar=function(e){return t.Message.setProto3StringField(this,4,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.UpdateUserResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.UpdateUserResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.UpdateUserResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.UpdateUserResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.UpdateUserResponse;return proto.fonoster.identity.v1beta2.UpdateUserResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.UpdateUserResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.UpdateUserResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.UpdateUserResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.UpdateUserResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.UpdateUserResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.UpdateUserResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.DeleteUserRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.DeleteUserRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.DeleteUserRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.DeleteUserRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.DeleteUserRequest;return proto.fonoster.identity.v1beta2.DeleteUserRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.DeleteUserRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.DeleteUserRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.DeleteUserRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.DeleteUserRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.DeleteUserRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.DeleteUserRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.DeleteUserResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.DeleteUserResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.DeleteUserResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.DeleteUserResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.DeleteUserResponse;return proto.fonoster.identity.v1beta2.DeleteUserResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.DeleteUserResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.DeleteUserResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.DeleteUserResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.DeleteUserResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.DeleteUserResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.DeleteUserResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.Workspace.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.Workspace.toObject(e,this)},proto.fonoster.identity.v1beta2.Workspace.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,""),name:t.Message.getFieldWithDefault(o,2,""),ownerRef:t.Message.getFieldWithDefault(o,3,""),createdAt:t.Message.getFieldWithDefault(o,4,0),updatedAt:t.Message.getFieldWithDefault(o,5,0)};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.Workspace.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.Workspace;return proto.fonoster.identity.v1beta2.Workspace.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.Workspace.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setName(o);break;case 3:o=t.readString();e.setOwnerRef(o);break;case 4:o=t.readInt64();e.setCreatedAt(o);break;case 5:o=t.readInt64();e.setUpdatedAt(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.Workspace.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.Workspace.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.Workspace.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getName()).length>0&&t.writeString(2,o),(o=e.getOwnerRef()).length>0&&t.writeString(3,o),0!==(o=e.getCreatedAt())&&t.writeInt64(4,o),0!==(o=e.getUpdatedAt())&&t.writeInt64(5,o)},proto.fonoster.identity.v1beta2.Workspace.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.Workspace.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.Workspace.prototype.getName=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.Workspace.prototype.setName=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.Workspace.prototype.getOwnerRef=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.Workspace.prototype.setOwnerRef=function(e){return t.Message.setProto3StringField(this,3,e)},proto.fonoster.identity.v1beta2.Workspace.prototype.getCreatedAt=function(){return t.Message.getFieldWithDefault(this,4,0)},proto.fonoster.identity.v1beta2.Workspace.prototype.setCreatedAt=function(e){return t.Message.setProto3IntField(this,4,e)},proto.fonoster.identity.v1beta2.Workspace.prototype.getUpdatedAt=function(){return t.Message.getFieldWithDefault(this,5,0)},proto.fonoster.identity.v1beta2.Workspace.prototype.setUpdatedAt=function(e){return t.Message.setProto3IntField(this,5,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.CreateApiKeyRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.CreateApiKeyRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.toObject=function(e,o){var r={role:t.Message.getFieldWithDefault(o,1,""),expiresAt:t.Message.getFieldWithDefault(o,2,0)};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.CreateApiKeyRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.CreateApiKeyRequest;return proto.fonoster.identity.v1beta2.CreateApiKeyRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRole(o);break;case 2:o=t.readInt32();e.setExpiresAt(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.CreateApiKeyRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRole()).length>0&&t.writeString(1,o),0!==(o=e.getExpiresAt())&&t.writeInt32(2,o)},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.prototype.getRole=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.prototype.setRole=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.prototype.getExpiresAt=function(){return t.Message.getFieldWithDefault(this,2,0)},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.prototype.setExpiresAt=function(e){return t.Message.setProto3IntField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.CreateApiKeyResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,""),accessKeyId:t.Message.getFieldWithDefault(o,2,""),accessKeySecret:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.CreateApiKeyResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.CreateApiKeyResponse;return proto.fonoster.identity.v1beta2.CreateApiKeyResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setAccessKeyId(o);break;case 3:o=t.readString();e.setAccessKeySecret(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.CreateApiKeyResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getAccessKeyId()).length>0&&t.writeString(2,o),(o=e.getAccessKeySecret()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.getAccessKeyId=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.setAccessKeyId=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.getAccessKeySecret=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.setAccessKeySecret=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.DeleteApiKeyRequest;return proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.DeleteApiKeyResponse;return proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ListApiKeysRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ListApiKeysRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.ListApiKeysRequest.toObject=function(e,o){var r={pageSize:t.Message.getFieldWithDefault(o,3,0),pageToken:t.Message.getFieldWithDefault(o,2,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ListApiKeysRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ListApiKeysRequest;return proto.fonoster.identity.v1beta2.ListApiKeysRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ListApiKeysRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 3:var o=t.readInt32();e.setPageSize(o);break;case 2:o=t.readString();e.setPageToken(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ListApiKeysRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ListApiKeysRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ListApiKeysRequest.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getPageSize())&&t.writeInt32(3,o),(o=e.getPageToken()).length>0&&t.writeString(2,o)},proto.fonoster.identity.v1beta2.ListApiKeysRequest.prototype.getPageSize=function(){return t.Message.getFieldWithDefault(this,3,0)},proto.fonoster.identity.v1beta2.ListApiKeysRequest.prototype.setPageSize=function(e){return t.Message.setProto3IntField(this,3,e)},proto.fonoster.identity.v1beta2.ListApiKeysRequest.prototype.getPageToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ListApiKeysRequest.prototype.setPageToken=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.ListApiKeysResponse.repeatedFields_=[1],t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ListApiKeysResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.ListApiKeysResponse.toObject=function(e,o){var r={itemsList:t.Message.toObjectList(o.getItemsList(),proto.fonoster.identity.v1beta2.ApiKey.toObject,e),nextPageToken:t.Message.getFieldWithDefault(o,2,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ListApiKeysResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ListApiKeysResponse;return proto.fonoster.identity.v1beta2.ListApiKeysResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ListApiKeysResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new proto.fonoster.identity.v1beta2.ApiKey;t.readMessage(o,proto.fonoster.identity.v1beta2.ApiKey.deserializeBinaryFromReader),e.addItems(o);break;case 2:o=t.readString();e.setNextPageToken(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ListApiKeysResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ListApiKeysResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getItemsList()).length>0&&t.writeRepeatedMessage(1,o,proto.fonoster.identity.v1beta2.ApiKey.serializeBinaryToWriter),(o=e.getNextPageToken()).length>0&&t.writeString(2,o)},proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.getItemsList=function(){return t.Message.getRepeatedWrapperField(this,proto.fonoster.identity.v1beta2.ApiKey,1)},proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.setItemsList=function(e){return t.Message.setRepeatedWrapperField(this,1,e)},proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.addItems=function(e,o){return t.Message.addToRepeatedWrapperField(this,1,e,proto.fonoster.identity.v1beta2.ApiKey,o)},proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.clearItemsList=function(){return this.setItemsList([])},proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.getNextPageToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.setNextPageToken=function(e){return t.Message.setProto3StringField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest;return proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,""),accessKeyId:t.Message.getFieldWithDefault(o,2,""),accessKeySecret:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse;return proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setAccessKeyId(o);break;case 3:o=t.readString();e.setAccessKeySecret(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getAccessKeyId()).length>0&&t.writeString(2,o),(o=e.getAccessKeySecret()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.getAccessKeyId=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.setAccessKeyId=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.getAccessKeySecret=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.setAccessKeySecret=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ApiKey.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ApiKey.toObject(e,this)},proto.fonoster.identity.v1beta2.ApiKey.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,""),accessKeyId:t.Message.getFieldWithDefault(o,2,""),role:t.Message.getFieldWithDefault(o,3,""),expiresAt:t.Message.getFieldWithDefault(o,4,0),createdAt:t.Message.getFieldWithDefault(o,5,0),updatedAt:t.Message.getFieldWithDefault(o,6,0)};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ApiKey.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ApiKey;return proto.fonoster.identity.v1beta2.ApiKey.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ApiKey.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setAccessKeyId(o);break;case 3:o=t.readString();e.setRole(o);break;case 4:o=t.readInt32();e.setExpiresAt(o);break;case 5:o=t.readInt64();e.setCreatedAt(o);break;case 6:o=t.readInt64();e.setUpdatedAt(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ApiKey.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ApiKey.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ApiKey.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getAccessKeyId()).length>0&&t.writeString(2,o),(o=e.getRole()).length>0&&t.writeString(3,o),0!==(o=e.getExpiresAt())&&t.writeInt32(4,o),0!==(o=e.getCreatedAt())&&t.writeInt64(5,o),0!==(o=e.getUpdatedAt())&&t.writeInt64(6,o)},proto.fonoster.identity.v1beta2.ApiKey.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ApiKey.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ApiKey.prototype.getAccessKeyId=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ApiKey.prototype.setAccessKeyId=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.ApiKey.prototype.getRole=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.ApiKey.prototype.setRole=function(e){return t.Message.setProto3StringField(this,3,e)},proto.fonoster.identity.v1beta2.ApiKey.prototype.getExpiresAt=function(){return t.Message.getFieldWithDefault(this,4,0)},proto.fonoster.identity.v1beta2.ApiKey.prototype.setExpiresAt=function(e){return t.Message.setProto3IntField(this,4,e)},proto.fonoster.identity.v1beta2.ApiKey.prototype.getCreatedAt=function(){return t.Message.getFieldWithDefault(this,5,0)},proto.fonoster.identity.v1beta2.ApiKey.prototype.setCreatedAt=function(e){return t.Message.setProto3IntField(this,5,e)},proto.fonoster.identity.v1beta2.ApiKey.prototype.getUpdatedAt=function(){return t.Message.getFieldWithDefault(this,6,0)},proto.fonoster.identity.v1beta2.ApiKey.prototype.setUpdatedAt=function(e){return t.Message.setProto3IntField(this,6,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.toObject=function(e,o){var r={username:t.Message.getFieldWithDefault(o,1,""),password:t.Message.getFieldWithDefault(o,2,""),ephemeralCode:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest;return proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setUsername(o);break;case 2:o=t.readString();e.setPassword(o);break;case 3:o=t.readString();e.setEphemeralCode(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getUsername()).length>0&&t.writeString(1,o),(o=e.getPassword()).length>0&&t.writeString(2,o),(o=e.getEphemeralCode()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.getUsername=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.setUsername=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.getPassword=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.setPassword=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.getEphemeralCode=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.setEphemeralCode=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.toObject=function(e,o){var r={idToken:t.Message.getFieldWithDefault(o,1,""),accessToken:t.Message.getFieldWithDefault(o,2,""),refreshToken:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse;return proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setIdToken(o);break;case 2:o=t.readString();e.setAccessToken(o);break;case 3:o=t.readString();e.setRefreshToken(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getIdToken()).length>0&&t.writeString(1,o),(o=e.getAccessToken()).length>0&&t.writeString(2,o),(o=e.getRefreshToken()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.getIdToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.setIdToken=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.getAccessToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.setAccessToken=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.getRefreshToken=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.setRefreshToken=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.toObject=function(e,o){var r={accessKeyId:t.Message.getFieldWithDefault(o,1,""),accessKeySecret:t.Message.getFieldWithDefault(o,2,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest;return proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setAccessKeyId(o);break;case 2:o=t.readString();e.setAccessKeySecret(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getAccessKeyId()).length>0&&t.writeString(1,o),(o=e.getAccessKeySecret()).length>0&&t.writeString(2,o)},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.prototype.getAccessKeyId=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.prototype.setAccessKeyId=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.prototype.getAccessKeySecret=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.prototype.setAccessKeySecret=function(e){return t.Message.setProto3StringField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.toObject=function(e,o){var r={idToken:t.Message.getFieldWithDefault(o,1,""),accessToken:t.Message.getFieldWithDefault(o,2,""),refreshToken:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse;return proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setIdToken(o);break;case 2:o=t.readString();e.setAccessToken(o);break;case 3:o=t.readString();e.setRefreshToken(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getIdToken()).length>0&&t.writeString(1,o),(o=e.getAccessToken()).length>0&&t.writeString(2,o),(o=e.getRefreshToken()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.getIdToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.setIdToken=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.getAccessToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.setAccessToken=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.getRefreshToken=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.setRefreshToken=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.toObject=function(e,o){var r={code:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest;return proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setCode(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getCode()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.prototype.getCode=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.prototype.setCode=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.toObject=function(e,o){var r={idToken:t.Message.getFieldWithDefault(o,1,""),accessToken:t.Message.getFieldWithDefault(o,2,""),refreshToken:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse;return proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setIdToken(o);break;case 2:o=t.readString();e.setAccessToken(o);break;case 3:o=t.readString();e.setRefreshToken(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getIdToken()).length>0&&t.writeString(1,o),(o=e.getAccessToken()).length>0&&t.writeString(2,o),(o=e.getRefreshToken()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.getIdToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.setIdToken=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.getAccessToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.setAccessToken=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.getRefreshToken=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.setRefreshToken=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.toObject=function(e,o){var r={refreshToken:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest;return proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRefreshToken(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRefreshToken()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.prototype.getRefreshToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.prototype.setRefreshToken=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.toObject=function(e,o){var r={idToken:t.Message.getFieldWithDefault(o,1,""),accessToken:t.Message.getFieldWithDefault(o,2,""),refreshToken:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse;return proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setIdToken(o);break;case 2:o=t.readString();e.setAccessToken(o);break;case 3:o=t.readString();e.setRefreshToken(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getIdToken()).length>0&&t.writeString(1,o),(o=e.getAccessToken()).length>0&&t.writeString(2,o),(o=e.getRefreshToken()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.getIdToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.setIdToken=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.getAccessToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.setAccessToken=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.getRefreshToken=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.setRefreshToken=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.RevokeTokenRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.RevokeTokenRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.RevokeTokenRequest.toObject=function(e,o){var r={token:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.RevokeTokenRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.RevokeTokenRequest;return proto.fonoster.identity.v1beta2.RevokeTokenRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.RevokeTokenRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setToken(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.RevokeTokenRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.RevokeTokenRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.RevokeTokenRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getToken()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.RevokeTokenRequest.prototype.getToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.RevokeTokenRequest.prototype.setToken=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.RevokeTokenResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.RevokeTokenResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.RevokeTokenResponse.toObject=function(e,o){var r={token:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.RevokeTokenResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.RevokeTokenResponse;return proto.fonoster.identity.v1beta2.RevokeTokenResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.RevokeTokenResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setToken(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.RevokeTokenResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.RevokeTokenResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.RevokeTokenResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getToken()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.RevokeTokenResponse.prototype.getToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.RevokeTokenResponse.prototype.setToken=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.GetPublicKeyResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.GetPublicKeyResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.GetPublicKeyResponse.toObject=function(e,o){var r={publicKey:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.GetPublicKeyResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.GetPublicKeyResponse;return proto.fonoster.identity.v1beta2.GetPublicKeyResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.GetPublicKeyResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setPublicKey(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.GetPublicKeyResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.GetPublicKeyResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.GetPublicKeyResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getPublicKey()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.GetPublicKeyResponse.prototype.getPublicKey=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.GetPublicKeyResponse.prototype.setPublicKey=function(e){return t.Message.setProto3StringField(this,1,e)},o.object.extend(e,proto.fonoster.identity.v1beta2)}(s);class u{constructor(e){this.accessKeyId=e.accessKeyId,this.identityClient=e.identityClient,this._accessToken="",this._refreshToken=""}login(t,o){return e(this,void 0,void 0,(function*(){const{refreshToken:e,accessToken:r}=yield i({method:this.identityClient.exchangeCredentials.bind(this.identityClient),requestPBObjectConstructor:s.ExchangeCredentialsRequest,metadata:{},request:{username:t,password:o}});this._refreshToken=e,this._accessToken=r}))}loginWithRefreshToken(t){return e(this,void 0,void 0,(function*(){const{accessToken:e,refreshToken:o}=yield i({method:this.identityClient.exchangeRefreshToken.bind(this.identityClient),requestPBObjectConstructor:s.ExchangeRefreshTokenRequest,metadata:{},request:{refreshToken:t}});this._refreshToken=o,this._accessToken=e}))}loginWithApiKey(t){return e(this,void 0,void 0,(function*(){const{refreshToken:e,accessToken:o}=yield i({method:this.identityClient.exchangeApiKey,requestPBObjectConstructor:s.ExchangeApiKeyRequest,metadata:{},request:{apiKey:t}});this._refreshToken=e,this._accessToken=o}))}refreshToken(){return e(this,void 0,void 0,(function*(){return yield this.loginWithRefreshToken(this._refreshToken)}))}getAccessKeyId(){return this.accessKeyId}getAccessToken(){return this._accessToken}getRefreshToken(){return this._refreshToken}}class c{constructor(e){this.client=e}intercept(e,t){return new class{constructor(e,t){this.stream=e,this.refresher=t}on(e,t){return function(e){try{const[,t]=e.split("."),o=Buffer.from(t,"base64").toString("utf8"),r=JSON.parse(o);if(!r.exp)return!1;const i=1e3*r.exp;return Date.now()>i}catch(e){return!0}}(this.refresher.client.getRefreshToken())&&this.refresher.client.refreshToken().then((()=>{})),"data"==e?this.stream.on(e,t):"error"==e?this.stream.on("error",t):"metadata"==e?this.stream.on("metadata",t):"status"==e?this.stream.on("status",t):"end"==e&&this.stream.on("end",t),this}}(t(e),this)}}function f(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}var d="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,o){e!=Array.prototype&&e!=Object.prototype&&(e[t]=o.value)};var y=function(e){e=["object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof n&&n,e];for(var t=0;t<e.length;++t){var o=e[t];if(o&&o.Math==Math)return o}throw Error("Cannot find global object")}(n);function g(){g=function(){},y.Symbol||(y.Symbol=v)}function h(e,t){this.a=e,d(this,"description",{configurable:!0,writable:!0,value:t})}h.prototype.toString=function(){return this.a};var b,v=(b=0,function e(t){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new h("jscomp_symbol_"+(t||"")+"_"+b++,t)});function R(){g();var e=y.Symbol.iterator;e||(e=y.Symbol.iterator=y.Symbol("Symbol.iterator")),"function"!=typeof Array.prototype[e]&&d(Array.prototype,e,{configurable:!0,writable:!0,value:function(){return function(e){return R(),e={next:e},e[y.Symbol.iterator]=function(){return this},e}(f(this))}}),R=function(){}}function A(e){var t="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):{next:f(e)}}var k,M="function"==typeof Object.create?Object.create:function(e){function t(){}return t.prototype=e,new t};if("function"==typeof Object.setPrototypeOf)k=Object.setPrototypeOf;else{var F;e:{var W={};try{W.__proto__={V:!0},F=W.V;break e}catch(ce){}F=!1}k=F?function(e,t){if(e.__proto__=t,e.__proto__!==t)throw new TypeError(e+" is not extensible");return e}:null}var m=k;function T(e,t){if(e.prototype=M(t.prototype),e.prototype.constructor=e,m)m(e,t);else for(var o in t)if("prototype"!=o)if(Object.defineProperties){var r=Object.getOwnPropertyDescriptor(t,o);r&&Object.defineProperty(e,o,r)}else e[o]=t[o];e.O=t.prototype}function B(e,t){if(t){var o=y;e=e.split(".");for(var r=0;r<e.length-1;r++){var i=e[r];i in o||(o[i]={}),o=o[i]}(t=t(r=o[e=e[e.length-1]]))!=r&&null!=t&&d(o,e,{configurable:!0,writable:!0,value:t})}}B("Array.prototype.keys",(function(e){return e||function(){return function(e,t){R(),e instanceof String&&(e+="");var o=0,r={next:function(){if(o<e.length){var i=o++;return{value:t(i,e[i]),done:!1}}return r.next=function(){return{done:!0,value:void 0}},r.next()}};return r[Symbol.iterator]=function(){return r},r}(this,(function(e){return e}))}})),B("Array.prototype.find",(function(e){return e||function(e,t){e:{var o=this;o instanceof String&&(o=String(o));for(var r=o.length,i=0;i<r;i++){var n=o[i];if(e.call(t,n,i,o)){e=n;break e}}e=void 0}return e}})),B("Object.is",(function(e){return e||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}})),B("Array.prototype.includes",(function(e){return e||function(e,t){var o=this;o instanceof String&&(o=String(o));var r=o.length;for(0>(t=t||0)&&(t=Math.max(t+r,0));t<r;t++){var i=o[t];if(i===e||Object.is(i,e))return!0}return!1}})),B("Promise",(function(e){function t(e){this.b=0,this.c=void 0,this.a=[];var t=this.f();try{e(t.resolve,t.reject)}catch(e){t.reject(e)}}function o(){this.a=null}function r(e){return e instanceof t?e:new t((function(t){t(e)}))}if(e)return e;o.prototype.b=function(e){if(null==this.a){this.a=[];var t=this;this.c((function(){t.g()}))}this.a.push(e)};var i=y.setTimeout;o.prototype.c=function(e){i(e,0)},o.prototype.g=function(){for(;this.a&&this.a.length;){var e=this.a;this.a=[];for(var t=0;t<e.length;++t){var o=e[t];e[t]=null;try{o()}catch(e){this.f(e)}}}this.a=null},o.prototype.f=function(e){this.c((function(){throw e}))},t.prototype.f=function(){function e(e){return function(r){o||(o=!0,e.call(t,r))}}var t=this,o=!1;return{resolve:e(this.s),reject:e(this.g)}},t.prototype.s=function(e){if(e===this)this.g(new TypeError("A Promise cannot resolve to itself"));else if(e instanceof t)this.v(e);else{e:switch(typeof e){case"object":var o=null!=e;break e;case"function":o=!0;break e;default:o=!1}o?this.m(e):this.h(e)}},t.prototype.m=function(e){var t=void 0;try{t=e.then}catch(e){return void this.g(e)}"function"==typeof t?this.w(t,e):this.h(e)},t.prototype.g=function(e){this.i(2,e)},t.prototype.h=function(e){this.i(1,e)},t.prototype.i=function(e,t){if(0!=this.b)throw Error("Cannot settle("+e+", "+t+"): Promise already settled in state"+this.b);this.b=e,this.c=t,this.l()},t.prototype.l=function(){if(null!=this.a){for(var e=0;e<this.a.length;++e)n.b(this.a[e]);this.a=null}};var n=new o;return t.prototype.v=function(e){var t=this.f();e.F(t.resolve,t.reject)},t.prototype.w=function(e,t){var o=this.f();try{e.call(t,o.resolve,o.reject)}catch(e){o.reject(e)}},t.prototype.then=function(e,o){function r(e,t){return"function"==typeof e?function(t){try{i(e(t))}catch(e){n(e)}}:t}var i,n,s=new t((function(e,t){i=e,n=t}));return this.F(r(e,i),r(o,n)),s},t.prototype.catch=function(e){return this.then(void 0,e)},t.prototype.F=function(e,t){function o(){switch(r.b){case 1:e(r.c);break;case 2:t(r.c);break;default:throw Error("Unexpected state: "+r.b)}}var r=this;null==this.a?n.b(o):this.a.push(o)},t.resolve=r,t.reject=function(e){return new t((function(t,o){o(e)}))},t.race=function(e){return new t((function(t,o){for(var i=A(e),n=i.next();!n.done;n=i.next())r(n.value).F(t,o)}))},t.all=function(e){var o=A(e),i=o.next();return i.done?r([]):new t((function(e,t){function n(t){return function(o){s[t]=o,0==--a&&e(s)}}var s=[],a=0;do{s.push(void 0),a++,r(i.value).F(n(s.length-1),t),i=o.next()}while(!i.done)}))},t}));var E=E||{},C=n||self;function S(e,t){e=e.split("."),t=t||C;for(var o=0;o<e.length;o++)if(null==(t=t[e[o]]))return null;return t}function w(){}function U(e){var t=typeof e;return"object"==t&&null!=e||"function"==t}function D(e,t,o){return e.call.apply(e.bind,arguments)}function q(e,t,o){if(!e)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var o=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(o,r),e.apply(t,o)}}return function(){return e.apply(t,arguments)}}function O(e,t,o){return(O=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?D:q).apply(null,arguments)}function z(e,t){function o(){}o.prototype=t.prototype,e.O=t.prototype,e.prototype=new o,e.prototype.constructor=e}function x(e){this.a=e||{}}function I(e,t,o,r){this.f=e,this.c=t,this.b=o,this.a=r}function P(e,t,o,r){o=void 0===o?{}:o,this.c=e,this.a=o,this.b=t,this.f=void 0===r?null:r}function j(e,t,o,r,i,n){this.name=e,this.a=i,this.b=n}function K(e,t,o){o=void 0===o?{}:o;var r=void 0===r?new x:r;return new I(t,e,o,r)}function G(e,t,o){o=void 0===o?{}:o,t=Error.call(this,t),this.message=t.message,"stack"in t&&(this.stack=t.stack),this.code=e,this.metadata=o}function L(e){this.a=e}function N(e){if(Error.captureStackTrace)Error.captureStackTrace(this,N);else{var t=Error().stack;t&&(this.stack=t)}e&&(this.message=String(e))}function _(e,t){for(var o="",r=(e=e.split("%s")).length-1,i=0;i<r;i++)o+=e[i]+(i<t.length?t[i]:"%s");N.call(this,o+e[r])}function V(){this.l=null,this.i=[],this.m=0,this.b=J,this.f=this.a=this.h=0,this.c=null,this.g=0}x.prototype.get=function(e){return this.a[e]},x.prototype.G=function(){return Object.keys(this.a)},I.prototype.getRequestMessage=function(){return this.f},I.prototype.getMethodDescriptor=function(){return this.c},I.prototype.getMetadata=function(){return this.b},I.prototype.getCallOptions=function(){return this.a},P.prototype.getResponseMessage=function(){return this.c},P.prototype.getMetadata=function(){return this.a},P.prototype.getMethodDescriptor=function(){return this.b},P.prototype.getStatus=function(){return this.f},j.prototype.getName=function(){return this.name},j.prototype.getName=j.prototype.getName,T(G,Error),G.prototype.toString=function(){var e="RpcError("+(function(e){switch(e){case 0:return"OK";case 1:return"CANCELLED";case 2:return"UNKNOWN";case 3:return"INVALID_ARGUMENT";case 4:return"DEADLINE_EXCEEDED";case 5:return"NOT_FOUND";case 6:return"ALREADY_EXISTS";case 7:return"PERMISSION_DENIED";case 16:return"UNAUTHENTICATED";case 8:return"RESOURCE_EXHAUSTED";case 9:return"FAILED_PRECONDITION";case 10:return"ABORTED";case 11:return"OUT_OF_RANGE";case 12:return"UNIMPLEMENTED";case 13:return"INTERNAL";case 14:return"UNAVAILABLE";case 15:return"DATA_LOSS";default:return""}}(this.code)||String(this.code))+")";return this.message&&(e+=": "+this.message),e},G.prototype.name="RpcError",L.prototype.on=function(e,t){return"data"==e||"error"==e?this:this.a.on(e,t)},L.prototype.removeListener=function(e,t){return this.a.removeListener(e,t)},L.prototype.cancel=function(){this.a.cancel()},z(N,Error),N.prototype.name="CustomError",z(_,N),_.prototype.name="AssertionError";var J=0,$=1,H=2,X=3,Z=0,Y=128;function Q(e,t,o,r){throw e.b=X,e.l="The stream is broken @"+e.m+"/"+o+". Error: "+r+". With input:\n"+t,Error(e.l)}var ee,te=Array.prototype.indexOf?function(e,t){return Array.prototype.indexOf.call(e,t,void 0)}:function(e,t){if("string"==typeof e)return"string"!=typeof t||1!=t.length?-1:e.indexOf(t,0);for(var o=0;o<e.length;o++)if(o in e&&e[o]===t)return o;return-1},oe=String.prototype.trim?function(e){return e.trim()}:function(e){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(e)[1]};function re(e,t){return-1!=e.indexOf(t)}function ie(e,t){return e<t?-1:e>t?1:0}e:{var ne=C.navigator;if(ne){var se=ne.userAgent;if(se){ee=se;break e}}ee=""}var ae="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function pe(e){var t=1;e=e.split(":");for(var o=[];0<t&&e.length;)o.push(e.shift()),t--;return e.length&&o.push(e.join(":")),o}function le(e){return le[" "](e),e}le[" "]=w;var ue,ce,fe=re(ee,"Opera"),de=re(ee,"Trident")||re(ee,"MSIE"),ye=re(ee,"Edge"),ge=re(ee,"Gecko")&&!(re(ee.toLowerCase(),"webkit")&&!re(ee,"Edge"))&&!(re(ee,"Trident")||re(ee,"MSIE"))&&!re(ee,"Edge"),he=re(ee.toLowerCase(),"webkit")&&!re(ee,"Edge");e:{var be="",ve=(ce=ee,ge?/rv:([^\);]+)(\)|;)/.exec(ce):ye?/Edge\/([\d\.]+)/.exec(ce):de?/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(ce):he?/WebKit\/(\S+)/.exec(ce):fe?/(?:Version)[ \/]?(\S+)/.exec(ce):void 0);if(ve&&(be=ve?ve[1]:""),de){var Re,Ae=C.document;if(null!=(Re=Ae?Ae.documentMode:void 0)&&Re>parseFloat(be)){ue=String(Re);break e}}ue=be}var ke={};function Me(){return function(e){var t=ke;return Object.prototype.hasOwnProperty.call(t,9)?t[9]:t[9]=e(9)}((function(){for(var e=0,t=oe(String(ue)).split("."),o=oe("9").split("."),r=Math.max(t.length,o.length),i=0;0==e&&i<r;i++){var n=t[i]||"",s=o[i]||"";do{if(n=/(\d*)(\D*)(.*)/.exec(n)||["","","",""],s=/(\d*)(\D*)(.*)/.exec(s)||["","","",""],0==n[0].length&&0==s[0].length)break;e=ie(0==n[1].length?0:parseInt(n[1],10),0==s[1].length?0:parseInt(s[1],10))||ie(0==n[2].length,0==s[2].length)||ie(n[2],s[2]),n=n[3],s=s[3]}while(0==e)}return 0<=e}))}function Fe(){this.K=this.K}Fe.prototype.K=!1;var We=Object.freeze||function(e){return e};function me(e,t){this.type=e,this.a=this.target=t,this.defaultPrevented=!1}me.prototype.b=function(){this.defaultPrevented=!0};var Te=function(){if(!C.addEventListener||!Object.defineProperty)return!1;var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}});try{C.addEventListener("test",w,t),C.removeEventListener("test",w,t)}catch(e){}return e}();function Be(e,t){if(me.call(this,e?e.type:""),this.relatedTarget=this.a=this.target=null,this.button=this.screenY=this.screenX=this.clientY=this.clientX=0,this.key="",this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.pointerId=0,this.pointerType="",this.c=null,e){var o=this.type=e.type,r=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:null;if(this.target=e.target||e.srcElement,this.a=t,t=e.relatedTarget){if(ge){e:{try{le(t.nodeName);var i=!0;break e}catch(e){}i=!1}i||(t=null)}}else"mouseover"==o?t=e.fromElement:"mouseout"==o&&(t=e.toElement);this.relatedTarget=t,r?(this.clientX=void 0!==r.clientX?r.clientX:r.pageX,this.clientY=void 0!==r.clientY?r.clientY:r.pageY,this.screenX=r.screenX||0,this.screenY=r.screenY||0):(this.clientX=void 0!==e.clientX?e.clientX:e.pageX,this.clientY=void 0!==e.clientY?e.clientY:e.pageY,this.screenX=e.screenX||0,this.screenY=e.screenY||0),this.button=e.button,this.key=e.key||"",this.ctrlKey=e.ctrlKey,this.altKey=e.altKey,this.shiftKey=e.shiftKey,this.metaKey=e.metaKey,this.pointerId=e.pointerId||0,this.pointerType="string"==typeof e.pointerType?e.pointerType:Ee[e.pointerType]||"",this.c=e,e.defaultPrevented&&Be.O.b.call(this)}}z(Be,me);var Ee=We({2:"touch",3:"pen",4:"mouse"});Be.prototype.b=function(){Be.O.b.call(this);var e=this.c;e.preventDefault?e.preventDefault():e.returnValue=!1};var Ce="closure_listenable_"+(1e6*Math.random()|0),Se=0;function we(e,t,o,r,i){this.listener=e,this.proxy=null,this.src=t,this.type=o,this.capture=!!r,this.H=i,this.key=++Se,this.A=this.D=!1}function Ue(e){e.A=!0,e.listener=null,e.proxy=null,e.src=null,e.H=null}function De(e){this.src=e,this.a={},this.b=0}function qe(e,t){var o=t.type;if(o in e.a){var r,i=e.a[o],n=te(i,t);(r=0<=n)&&Array.prototype.splice.call(i,n,1),r&&(Ue(t),0==e.a[o].length&&(delete e.a[o],e.b--))}}function Oe(e,t,o,r){for(var i=0;i<e.length;++i){var n=e[i];if(!n.A&&n.listener==t&&n.capture==!!o&&n.H==r)return i}return-1}De.prototype.add=function(e,t,o,r,i){var n=e.toString();(e=this.a[n])||(e=this.a[n]=[],this.b++);var s=Oe(e,t,r,i);return-1<s?(t=e[s],o||(t.D=!1)):((t=new we(t,this.src,n,!!r,i)).D=o,e.push(t)),t},De.prototype.remove=function(e,t,o,r){if(!((e=e.toString())in this.a))return!1;var i=this.a[e];return-1<(t=Oe(i,t,o,r))&&(Ue(i[t]),Array.prototype.splice.call(i,t,1),0==i.length&&(delete this.a[e],this.b--),!0)};var ze="closure_lm_"+(1e6*Math.random()|0),xe={};function Ie(e,t,o,r,i){if(r&&r.once)je(e,t,o,r,i);else if(Array.isArray(t))for(var n=0;n<t.length;n++)Ie(e,t[n],o,r,i);else o=Je(o),e&&e[Ce]?e.f.add(String(t),o,!1,U(r)?!!r.capture:!!r,i):Pe(e,t,o,!1,r,i)}function Pe(e,t,o,r,i,n){if(!t)throw Error("Invalid event type");var s=U(i)?!!i.capture:!!i,a=_e(e);if(a||(e[ze]=a=new De(e)),!(o=a.add(t,o,r,s,n)).proxy)if(r=function(){function e(o){return t.call(e.src,e.listener,o)}var t=Ne;return e}(),o.proxy=r,r.src=e,r.listener=o,e.addEventListener)Te||(i=s),void 0===i&&(i=!1),e.addEventListener(t.toString(),r,i);else if(e.attachEvent)e.attachEvent(Le(t.toString()),r);else{if(!e.addListener||!e.removeListener)throw Error("addEventListener and attachEvent are unavailable.");e.addListener(r)}}function je(e,t,o,r,i){if(Array.isArray(t))for(var n=0;n<t.length;n++)je(e,t[n],o,r,i);else o=Je(o),e&&e[Ce]?e.f.add(String(t),o,!0,U(r)?!!r.capture:!!r,i):Pe(e,t,o,!0,r,i)}function Ke(e,t,o,r,i){if(Array.isArray(t))for(var n=0;n<t.length;n++)Ke(e,t[n],o,r,i);else r=U(r)?!!r.capture:!!r,o=Je(o),e&&e[Ce]?e.f.remove(String(t),o,r,i):e&&(e=_e(e))&&(t=e.a[t.toString()],e=-1,t&&(e=Oe(t,o,r,i)),(o=-1<e?t[e]:null)&&Ge(o))}function Ge(e){if("number"!=typeof e&&e&&!e.A){var t=e.src;if(t&&t[Ce])qe(t.f,e);else{var o=e.type,r=e.proxy;t.removeEventListener?t.removeEventListener(o,r,e.capture):t.detachEvent?t.detachEvent(Le(o),r):t.addListener&&t.removeListener&&t.removeListener(r),(o=_e(t))?(qe(o,e),0==o.b&&(o.src=null,t[ze]=null)):Ue(e)}}}function Le(e){return e in xe?xe[e]:xe[e]="on"+e}function Ne(e,t){if(e.A)e=!0;else{t=new Be(t,this);var o=e.listener,r=e.H||e.src;e.D&&Ge(e),e=o.call(r,t)}return e}function _e(e){return(e=e[ze])instanceof De?e:null}var Ve="__closure_events_fn_"+(1e9*Math.random()>>>0);function Je(e){return"function"==typeof e?e:(e[Ve]||(e[Ve]=function(t){return e.handleEvent(t)}),e[Ve])}function $e(){Fe.call(this),this.f=new De(this),this.U=this}function He(e,t){e=e.U;var o=t.type||t;if("string"==typeof t)t=new me(t,e);else if(t instanceof me)t.target=t.target||e;else{var r=t;(function(e,t){for(var o,r,i=1;i<arguments.length;i++){for(o in r=arguments[i])e[o]=r[o];for(var n=0;n<ae.length;n++)o=ae[n],Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}})(t=new me(o,e),r)}Xe(e=t.a=e,o,!0,t),Xe(e,o,!1,t)}function Xe(e,t,o,r){if(t=e.f.a[String(t)]){t=t.concat();for(var i=!0,n=0;n<t.length;++n){var s=t[n];if(s&&!s.A&&s.capture==o){var a=s.listener,p=s.H||s.src;s.D&&qe(e.f,s),i=!1!==a.call(p,r)&&i}}}}z($e,Fe),$e.prototype[Ce]=!0,$e.prototype.addEventListener=function(e,t,o,r){Ie(this,e,t,o,r)},$e.prototype.removeEventListener=function(e,t,o,r){Ke(this,e,t,o,r)};var Ze=C;function Ye(e,t,o){if("function"==typeof e)o&&(e=O(e,o));else{if(!e||"function"!=typeof e.handleEvent)throw Error("Invalid listener argument");e=O(e.handleEvent,e)}return 2147483647<Number(t)?-1:Ze.setTimeout(e,t||0)}function Qe(e,t){this.name=e,this.value=t}Qe.prototype.toString=function(){return this.name};var et,tt,ot,rt=new Qe("OFF",1/0),it=new Qe("SEVERE",1e3),nt=new Qe("CONFIG",700),st=new Qe("FINE",500);function at(){this.clear()}function pt(e,t,o){this.reset(e||rt,t,o,void 0,void 0)}function lt(e,t){this.a=null,this.f=[],this.b=(void 0===t?null:t)||null,this.c=[],this.g={getName:function(){return e}}}function ut(e){return e.a?e.a:e.b?ut(e.b):(function(e,t){throw new _("Failure: "+e,Array.prototype.slice.call(arguments,1))}("Root logger has no level set."),rt)}function ct(){this.entries={};var e=new lt("");e.a=nt,this.entries[""]=e}function ft(e,t,o){var r=e.entries[t];if(r)return r;r=ft(e,t.substr(0,t.lastIndexOf(".")));var i=new lt(t,r);return e.entries[t]=i,r.c.push(i),i}function dt(){return tt||(tt=new ct),tt}function yt(e,t,o){var r;(r=e)&&(r=e&&t)&&(r=(r=t.value)>=(e?ut(ft(dt(),e.getName())):rt).value);r&&(t=t||rt,r=ft(dt(),e.getName()),"function"==typeof o&&(o=o()),et||(et=new at),function(e,t){for(;e;)e.f.forEach((function(e){e(t)})),e=e.b}(r,e=new pt(t,o,e=e.getName())))}function gt(e,t){e&&yt(e,st,t)}function ht(){}function bt(e){var t;return(t=e.a)||(t={},At(e)&&(t[0]=!0,t[1]=!0),t=e.a=t),t}function vt(){}function Rt(e){return(e=At(e))?new ActiveXObject(e):new XMLHttpRequest}function At(e){if(!e.b&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var t=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],o=0;o<t.length;o++){var r=t[o];try{return new ActiveXObject(r),e.b=r}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed")}return e.b}function kt(e,t){this.b=e[C.Symbol.iterator](),this.c=t,this.f=0}at.prototype.clear=function(){},pt.prototype.reset=function(){},ht.prototype.a=null,z(vt,ht),ot=new vt,g(),R(),kt.prototype[Symbol.iterator]=function(){return this},kt.prototype.next=function(){var e=this.b.next();return{value:e.done?void 0:this.c.call(void 0,e.value,this.f++),done:e.done}},g(),R(),g(),R();var Mt="StopIteration"in C?C.StopIteration:{message:"StopIteration",stack:""};function Ft(){}function Wt(e){if(e instanceof Tt||e instanceof Bt||e instanceof Et)return e;if("function"==typeof e.next)return new Tt((function(){return mt(e)}));if(g(),R(),"function"==typeof e[Symbol.iterator])return g(),R(),new Tt((function(){return e[Symbol.iterator]()}));if("function"==typeof e.u)return new Tt((function(){return mt(e.u())}));throw Error("Not an iterator or iterable.")}function mt(e){if(!(e instanceof Ft))return e;var t=!1;return{next:function(){for(var o;!t;)try{o=e.a();break}catch(e){if(e!==Mt)throw e;t=!0}return{value:o,done:t}}}}function Tt(e){this.b=e}function Bt(e){this.b=e}function Et(e){Tt.call(this,(function(){return e})),this.f=e}function Ct(e,t){this.o={},this.j=[],this.B=this.size=0;var o=arguments.length;if(1<o){if(o%2)throw Error("Uneven number of arguments");for(var r=0;r<o;r+=2)this.set(arguments[r],arguments[r+1])}else e&&this.addAll(e)}function St(e){if(e.size!=e.j.length){for(var t=0,o=0;t<e.j.length;){var r=e.j[t];wt(e.o,r)&&(e.j[o++]=r),t++}e.j.length=o}if(e.size!=e.j.length){var i={};for(o=t=0;t<e.j.length;)wt(i,r=e.j[t])||(e.j[o++]=r,i[r]=1),t++;e.j.length=o}}function wt(e,t){return Object.prototype.hasOwnProperty.call(e,t)}Ft.prototype.next=function(){return Ft.prototype.a.call(this)},Ft.prototype.a=function(){throw Mt},Ft.prototype.u=function(){return this},g(),R(),Tt.prototype.u=function(){return new Bt(this.b())},Tt.prototype[Symbol.iterator]=function(){return new Et(this.b())},Tt.prototype.c=function(){return new Et(this.b())},g(),R(),T(Bt,Ft),Bt.prototype.a=function(){var e=this.b.next();if(e.done)throw Mt;return e.value},Bt.prototype.next=function(){return Bt.prototype.a.call(this)},Bt.prototype[Symbol.iterator]=function(){return new Et(this.b)},Bt.prototype.c=function(){return new Et(this.b)},T(Et,Tt),Et.prototype.next=function(){return this.f.next()},(p=Ct.prototype).G=function(){return St(this),this.j.concat()},p.has=function(e){return wt(this.o,e)},p.clear=function(){this.o={},this.B=this.size=this.j.length=0},p.remove=function(e){return this.delete(e)},p.delete=function(e){return!!wt(this.o,e)&&(delete this.o[e],--this.size,this.B++,this.j.length>2*this.size&&St(this),!0)},p.get=function(e,t){return wt(this.o,e)?this.o[e]:t},p.set=function(e,t){wt(this.o,e)||(this.size+=1,this.j.push(e),this.B++),this.o[e]=t},p.addAll=function(e){if(e instanceof Ct)for(var t=e.G(),o=0;o<t.length;o++)this.set(t[o],e.get(t[o]));else for(t in e)this.set(t,e[t])},p.forEach=function(e,t){for(var o=this.G(),r=0;r<o.length;r++){var i=o[r],n=this.get(i);e.call(t,n,i,this)}},p.clone=function(){return new Ct(this)},p.keys=function(){return Wt(this.u(!0)).c()},p.values=function(){return Wt(this.u(!1)).c()},p.entries=function(){var e=this;return function(e,t){return new kt(e,t)}(this.keys(),(function(t){return[t,e.get(t)]}))},p.u=function(e){St(this);var t=0,o=this.B,r=this,i=new Ft;return i.a=function(){if(o!=r.B)throw Error("The map has changed since the iterator was created");if(t>=r.j.length)throw Mt;var i=r.j[t++];return e?i:r.o[i]},i.next=i.a.bind(i),i};var Ut=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;function Dt(e){$e.call(this),this.headers=new Ct,this.C=e||null,this.c=!1,this.J=this.a=null,this.P=this.v="",this.g=0,this.l="",this.i=this.N=this.s=this.L=!1,this.h=0,this.w=null,this.m=qt,this.I=this.M=!1}z(Dt,$e);var qt="";Dt.prototype.b=ft(dt(),"goog.net.XhrIo").g;var Ot=/^https?$/i,zt=["POST","PUT"];function xt(e,t,o){if(e.a)throw Error("[goog.net.XhrIo] Object is active with another request="+e.v+"; newUri="+t);e.v=t,e.l="",e.g=0,e.P="POST",e.L=!1,e.c=!0,e.a=e.C?Rt(e.C):Rt(ot),e.J=e.C?bt(e.C):bt(ot),e.a.onreadystatechange=O(e.R,e);try{gt(e.b,Nt(e,"Opening Xhr")),e.N=!0,e.a.open("POST",String(t),!0),e.N=!1}catch(t){return gt(e.b,Nt(e,"Error opening Xhr: "+t.message)),void It(e,t)}t=o||"";var r=(o=e.headers.clone()).G().find((function(e){return"content-type"==e.toLowerCase()})),i=C.FormData&&t instanceof C.FormData;!(0<=te(zt,"POST"))||r||i||o.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8"),o.forEach((function(e,t){this.a.setRequestHeader(t,e)}),e),e.m&&(e.a.responseType=e.m),"withCredentials"in e.a&&e.a.withCredentials!==e.M&&(e.a.withCredentials=e.M);try{Gt(e),0<e.h&&(e.I=function(e){return de&&Me()&&"number"==typeof e.timeout&&void 0!==e.ontimeout}(e.a),gt(e.b,Nt(e,"Will abort after "+e.h+"ms if incomplete, xhr2 "+e.I)),e.I?(e.a.timeout=e.h,e.a.ontimeout=O(e.T,e)):e.w=Ye(e.T,e.h,e)),gt(e.b,Nt(e,"Sending request")),e.s=!0,e.a.send(t),e.s=!1}catch(t){gt(e.b,Nt(e,"Send error: "+t.message)),It(e,t)}}function It(e,t){e.c=!1,e.a&&(e.i=!0,e.a.abort(),e.i=!1),e.l=t,e.g=5,Pt(e),Kt(e)}function Pt(e){e.L||(e.L=!0,He(e,"complete"),He(e,"error"))}function jt(e){if(e.c&&void 0!==E)if(e.J[1]&&4==Lt(e)&&2==e.getStatus())gt(e.b,Nt(e,"Local request error detected and ignored"));else if(e.s&&4==Lt(e))Ye(e.R,0,e);else if(He(e,"readystatechange"),4==Lt(e)){gt(e.b,Nt(e,"Request complete")),e.c=!1;try{var t,o=e.getStatus();e:switch(o){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var r=!0;break e;default:r=!1}if(!(t=r)){var i;if(i=0===o){var n=String(e.v).match(Ut)[1]||null;if(!n&&C.self&&C.self.location){var s=C.self.location.protocol;n=s.substr(0,s.length-1)}i=!Ot.test(n?n.toLowerCase():"")}t=i}if(t)He(e,"complete"),He(e,"success");else{e.g=6;try{var a=2<Lt(e)?e.a.statusText:""}catch(t){gt(e.b,"Can not get status: "+t.message),a=""}e.l=a+" ["+e.getStatus()+"]",Pt(e)}}finally{Kt(e)}}}function Kt(e){if(e.a){Gt(e);var t=e.a,o=e.J[0]?w:null;e.a=null,e.J=null,He(e,"ready");try{t.onreadystatechange=o}catch(t){(e=e.b)&&yt(e,it,"Problem encountered resetting onreadystatechange: "+t.message)}}}function Gt(e){e.a&&e.I&&(e.a.ontimeout=null),e.w&&(Ze.clearTimeout(e.w),e.w=null)}function Lt(e){return e.a?e.a.readyState:0}function Nt(e,t){return t+" ["+e.P+" "+e.v+" "+e.getStatus()+"]"}(p=Dt.prototype).T=function(){void 0!==E&&this.a&&(this.l="Timed out after "+this.h+"ms, aborting",this.g=8,gt(this.b,Nt(this,this.l)),He(this,"timeout"),this.abort(8))},p.abort=function(e){this.a&&this.c&&(gt(this.b,Nt(this,"Aborting")),this.c=!1,this.i=!0,this.a.abort(),this.i=!1,this.g=e||7,He(this,"complete"),He(this,"abort"),Kt(this))},p.R=function(){this.K||(this.N||this.s||this.i?jt(this):this.W())},p.W=function(){jt(this)},p.getStatus=function(){try{return 2<Lt(this)?this.a.status:-1}catch(e){return-1}};var _t={},Vt=null;function Jt(e){var t=e.length,o=3*t/4;o%3?o=Math.floor(o):re("=.",e[t-1])&&(o=re("=.",e[t-2])?o-2:o-1);var r=new Uint8Array(o),i=0;return function(e,t){function o(t){for(;r<e.length;){var o=e.charAt(r++),i=Vt[o];if(null!=i)return i;if(!/^[\s\xa0]*$/.test(o))throw Error("Unknown base64 encoding at char: "+o)}return t}$t();for(var r=0;;){var i=o(-1),n=o(0),s=o(64),a=o(64);if(64===a&&-1===i)break;t(i<<2|n>>4),64!=s&&(t(n<<4&240|s>>2),64!=a&&t(s<<6&192|a))}}(e,(function(e){r[i++]=e})),r.subarray(0,i)}function $t(){if(!Vt){Vt={};for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),t=["+/=","+/","-_=","-_.","-_"],o=0;5>o;o++){var r=e.concat(t[o].split(""));_t[o]=r;for(var i=0;i<r.length;i++){var n=r[i];void 0===Vt[n]&&(Vt[n]=i)}}}}var Ht=["content-type","grpc-status","grpc-message"];function Xt(e){this.a=e.Z,this.m=null,this.b=[],this.h=[],this.g=[],this.f=[],this.c=[],this.l=!1,this.i=0,this.s=new V;var t=this;Ie(this.a,"readystatechange",(function(){var e=t.a;if(e=e.a?e.a.getResponseHeader("Content-Type"):null){if(0==(e=e.toLowerCase()).lastIndexOf("application/grpc-web-text",0)){e=t.a;try{var o=e.a?e.a.responseText:""}catch(t){gt(e.b,"Can not get responseText: "+t.message),o=""}if(o=(e=o||"").length-e.length%4,0==(e=e.substr(t.i,o-t.i)).length)return;t.i=o,e=Jt(e)}else{if(0!=e.lastIndexOf("application/grpc",0))return void Yt(t,new G(2,"Unknown Content-type received."));e=new Uint8Array(function(e){try{if(!e.a)return null;if("response"in e.a)return e.a.response;switch(e.m){case qt:case"text":return e.a.responseText;case"arraybuffer":if("mozResponseArrayBuffer"in e.a)return e.a.mozResponseArrayBuffer}var t=e.b;return t&&yt(t,it,"Response type "+e.m+" is not supported on this browser"),null}catch(t){return gt(e.b,"Can not get response: "+t.message),null}}(t.a))}o=null;try{o=function(e,t){function o(e){a.f++,a.a=(a.a<<8)+e,4==a.f&&(a.b=H,a.g=0,"undefined"!=typeof Uint8Array?a.c=new Uint8Array(a.a):a.c=Array(a.a),0==a.a&&i())}function r(e){a.c[a.g++]=e,a.g==a.a&&i()}function i(){var e={};e[a.h]=a.c,a.i.push(e),a.b=J}var n,s,a=e,p=0;for(n=t instanceof Uint8Array||t instanceof Array?t:new Uint8Array(t);p<n.length;){switch(a.b){case X:Q(a,n,p,"stream already broken");break;case J:(s=n[p])==Z||s==Y?a.h=s:Q(a,n,p,"invalid frame byte"),a.b=$,a.a=0,a.f=0;break;case $:o(n[p]);break;case H:r(n[p]);break;default:throw Error("unexpected parser state: "+a.b)}a.m++,p++}return e=a.i,a.i=[],0<e.length?e:null}(t.s,e)}catch(e){Yt(t,new G(2,"Error in parsing response body"))}if(o)for(e=0;e<o.length;e++){if(Z in o[e]){var r=o[e][Z];if(r){var i=!1,n=void 0;try{n=t.m(r),i=!0}catch(e){Yt(t,new G(13,"Error when deserializing response data; error: "+e+", response: "+n))}if(i)for(r=n,i=0;i<t.b.length;i++)t.b[i](r)}}if(Y in o[e]&&0<o[e][Y].length){for(r="",i=0;i<o[e][Y].length;i++)r+=String.fromCharCode(o[e][Y][i]);for(r=r.trim().split("\r\n"),i={},n=0;n<r.length;n++){var s=r[n].indexOf(":");i[r[n].substring(0,s).trim()]=r[n].substring(s+1).trim()}r=i,i=0,n="","grpc-status"in r&&(i=Number(r["grpc-status"]),delete r["grpc-status"]),"grpc-message"in r&&(n=r["grpc-message"],delete r["grpc-message"]),Yt(t,new G(i,n,r))}}}})),Ie(this.a,"complete",(function(){var e=t.a.g,o=2,r="",i={};o=function(e){var t={};e=(e.a&&4==Lt(e)&&e.a.getAllResponseHeaders()||"").split("\r\n");for(var o=0;o<e.length;o++)if(!/^[\s\xa0]*$/.test(e[o])){var r=pe(e[o]),i=r[0];if("string"==typeof(r=r[1])){r=r.trim();var n=t[i]||[];t[i]=n,n.push(r)}}return function(e,t){var o,r={};for(o in e)r[o]=t.call(void 0,e[o],o,e);return r}(t,(function(e){return e.join(", ")}))}(t.a);var n={};for(s in o)o.hasOwnProperty(s)&&(n[s.toLowerCase()]=o[s]);Object.keys(n).forEach((function(e){Ht.includes(e)||(i[e]=n[e])})),function(e,t){for(var o=0;o<e.g.length;o++)e.g[o](t)}(t,i);var s=-1;if(0!=e){switch(e){case 7:o=10;break;case 8:o=4;break;case 6:o=function(e){switch(e){case 200:return 0;case 400:return 3;case 401:return 16;case 403:return 7;case 404:return 5;case 409:return 10;case 412:return 9;case 429:return 8;case 499:return 1;case 500:default:return 2;case 501:return 12;case 503:return 14;case 504:return 4}}(s=t.a.getStatus());break;default:o=14}10==o&&t.l||(r=function(e){switch(e){case 0:return"No Error";case 1:return"Access denied to content document";case 2:return"File not found";case 3:return"Firefox silently errored";case 4:return"Application custom error";case 5:return"An exception occurred";case 6:return"Http response at 400 or 500 level";case 7:return"Request was aborted";case 8:return"Request timed out";case 9:return"The resource is not available offline";default:return"Unrecognized error code"}}(e),-1!=s&&(r+=", http status code: "+s),Yt(t,new G(o,r)))}else e=!1,"grpc-status"in n&&(o=Number(n["grpc-status"]),"grpc-message"in n&&(r=n["grpc-message"]),0!=o&&(Yt(t,new G(o,r||"",n)),e=!0)),e||function(e){for(var t=0;t<e.c.length;t++)e.c[t]()}(t)}))}function Zt(e,t){-1<(t=e.indexOf(t))&&e.splice(t,1)}function Yt(e,t){if(0!=t.code)for(var o=new G(t.code,decodeURIComponent(t.message||""),t.metadata),r=0;r<e.f.length;r++)e.f[r](o);for(t={code:t.code,details:decodeURIComponent(t.message||""),metadata:t.metadata},o=0;o<e.h.length;o++)e.h[o](t)}function Qt(e,t){e=void 0===e?{}:e,this.a=e.format||S("format",e)||"text",this.g=e.aa||S("suppressCorsPreflight",e)||!1,this.f=e.withCredentials||S("withCredentials",e)||!1,this.b=e.$||S("streamInterceptors",e)||[],this.h=e.ba||S("unaryInterceptors",e)||[],this.c=t||null}function eo(e,t,o){var r=t.getMethodDescriptor(),i=o+r.getName();(o=e.c?e.c:new Dt).M=e.f;var n=new Xt({Z:o});n.m=r.b;var s=t.getMetadata();for(a in s)o.headers.set(a,s[a]);if("text"==e.a?(o.headers.set("Content-Type","application/grpc-web-text"),o.headers.set("Accept","application/grpc-web-text")):o.headers.set("Content-Type","application/grpc-web+proto"),o.headers.set("X-User-Agent","grpc-web-javascript/0.1"),o.headers.set("X-Grpc-Web","1"),o.headers.has("deadline")){var a=Number(o.headers.get("deadline"));a=Math.ceil(a-(new Date).getTime()),o.headers.delete("deadline"),1/0===a&&(a=0),0<a&&(o.headers.set("grpc-timeout",a+"m"),o.h=Math.max(0,Math.max(1e3,Math.ceil(1.1*a))))}if(e.g){a={};for(var p=A((s=o.headers).keys()),l=p.next();!l.done;l=p.next())a[l=l.value]=s.get(l);o.headers.clear();e:{for(u in a){var u=!1;break e}u=!0}u||(a=function(e){var t="";return function(e,t){for(var o in e)t.call(void 0,e[o],o,e)}(e,(function(e,o){t+=o,t+=":",t+=e,t+="\r\n"})),t}(a),"string"==typeof i?(u=encodeURIComponent("$httpHeaders"),(u+=a=null!=a?"="+encodeURIComponent(String(a)):"")&&(0>(a=i.indexOf("#"))&&(a=i.length),0>(s=i.indexOf("?"))||s>a?(s=a,p=""):p=i.substring(s+1,a),a=(i=[i.substr(0,s),p,i.substr(a)])[1],i[1]=u?a?a+"&"+u:u:a,i=i[0]+(i[1]?"?"+i[1]:"")+i[2])):i.a("$httpHeaders",a))}for(r=(t=(0,r.a)(t.getRequestMessage())).length,u=[0,0,0,0],a=new Uint8Array(5+r),s=3;0<=s;s--)u[s]=r%256,r>>>=8;if(a.set(new Uint8Array(u),1),a.set(t,5),t=a,"text"==e.a){var c;for(e=t,void 0===c&&(c=0),$t(),c=_t[c],t=Array(Math.floor(e.length/3)),r=c[64]||"",u=a=0;a<e.length-2;a+=3){l=e[a];var f=e[a+1];p=e[a+2],s=c[l>>2],l=c[(3&l)<<4|f>>4],f=c[(15&f)<<2|p>>6],p=c[63&p],t[u++]=s+l+f+p}switch(s=0,p=r,e.length-a){case 2:p=c[(15&(s=e[a+1]))<<2]||r;case 1:e=e[a],t[u]=c[e>>2]+c[(3&e)<<4|s>>4]+p+r}t=t.join("")}else"binary"==e.a&&(o.m="arraybuffer");return xt(o,i,t),n}function to(e,t,o){var r=!1,i=null,n=!1;e.on("data",(function(e){r=!0,i=e})),e.on("error",(function(e){0==e.code||n||(n=!0,t(e,null))})),e.on("status",(function(e){0==e.code||n?o&&t(null,null,e):(n=!0,t({code:e.code,message:e.details,metadata:e.metadata},null))})),o&&e.on("metadata",(function(e){t(null,null,null,e)})),e.on("end",(function(){n||(r?o?t(null,i,null,null,!0):t(null,i):t({code:2,message:"Incomplete response"})),o&&t(null,null)}))}function oo(e,t){var o=e;return t.forEach((function(e){var t=o;o=function(o){return e.intercept(o,t)}})),o}Xt.prototype.on=function(e,t){return"data"==e?this.b.push(t):"status"==e?this.h.push(t):"metadata"==e?this.g.push(t):"end"==e?this.c.push(t):"error"==e&&this.f.push(t),this},Xt.prototype.removeListener=function(e,t){return"data"==e?Zt(this.b,t):"status"==e?Zt(this.h,t):"metadata"==e?Zt(this.g,t):"end"==e?Zt(this.c,t):"error"==e&&Zt(this.f,t),this},Xt.prototype.cancel=function(){this.l=!0,this.a.abort()},Xt.prototype.cancel=Xt.prototype.cancel,Xt.prototype.removeListener=Xt.prototype.removeListener,Xt.prototype.on=Xt.prototype.on,Qt.prototype.X=function(e,t,o,r,i){var n=this,s=e.substr(0,e.length-r.name.length);return to(e=oo((function(e){return eo(n,e,s)}),this.b).call(this,K(r,t,o)),i,!1),new L(e)},Qt.prototype.S=function(e,t,o,r){var i=this,n=e.substr(0,e.length-r.name.length);return oo((function(e){return new Promise((function(t,o){var r,s,a;to(eo(i,e,n),(function(i,n,p,l,u){i?o(i):u?a=n:p?s=p:l?r=l:(i=e.getMethodDescriptor(),t(new P(a,i,n=void 0===(n=r)?{}:n,void 0===s?null:s)))}),!0)}))}),this.h).call(this,K(r,t,o)).then((function(e){return e.getResponseMessage()}))},Qt.prototype.unaryCall=function(e,t,o,r){return this.S(e,t,o,r)},Qt.prototype.Y=function(e,t,o,r){var i=this,n=e.substr(0,e.length-r.name.length);return oo((function(e){return eo(i,e,n)}),this.b).call(this,K(r,t,o))},Qt.prototype.serverStreaming=Qt.prototype.Y,Qt.prototype.unaryCall=Qt.prototype.unaryCall,Qt.prototype.thenableCall=Qt.prototype.S,Qt.prototype.rpcCall=Qt.prototype.X;var ro=j,io=Qt,no="unary";Ze="undefined"!=typeof globalThis&&globalThis||self;var so={},ao={};!function(e){var t=a,o=t,r="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof window&&window||void 0!==r&&r||"undefined"!=typeof self&&self||function(){return this}.call(null)||Function("return this")();o.exportSymbol("proto.google.protobuf.ListValue",null,r),o.exportSymbol("proto.google.protobuf.NullValue",null,r),o.exportSymbol("proto.google.protobuf.Struct",null,r),o.exportSymbol("proto.google.protobuf.Value",null,r),o.exportSymbol("proto.google.protobuf.Value.KindCase",null,r),proto.google.protobuf.Struct=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.google.protobuf.Struct,t.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.Struct.displayName="proto.google.protobuf.Struct"),proto.google.protobuf.Value=function(e){t.Message.initialize(this,e,0,-1,null,proto.google.protobuf.Value.oneofGroups_)},o.inherits(proto.google.protobuf.Value,t.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.Value.displayName="proto.google.protobuf.Value"),proto.google.protobuf.ListValue=function(e){t.Message.initialize(this,e,0,-1,proto.google.protobuf.ListValue.repeatedFields_,null)},o.inherits(proto.google.protobuf.ListValue,t.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.ListValue.displayName="proto.google.protobuf.ListValue"),t.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Struct.prototype.toObject=function(e){return proto.google.protobuf.Struct.toObject(e,this)},proto.google.protobuf.Struct.toObject=function(e,t){var o,r={fieldsMap:(o=t.getFieldsMap())?o.toObject(e,proto.google.protobuf.Value.toObject):[]};return e&&(r.$jspbMessageInstance=t),r}),proto.google.protobuf.Struct.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.google.protobuf.Struct;return proto.google.protobuf.Struct.deserializeBinaryFromReader(r,o)},proto.google.protobuf.Struct.deserializeBinaryFromReader=function(e,o){for(;o.nextField()&&!o.isEndGroup();){if(1===o.getFieldNumber()){var r=e.getFieldsMap();o.readMessage(r,(function(e,o){t.Map.deserializeBinary(e,o,t.BinaryReader.prototype.readString,t.BinaryReader.prototype.readMessage,proto.google.protobuf.Value.deserializeBinaryFromReader,"",new proto.google.protobuf.Value)}))}else o.skipField()}return e},proto.google.protobuf.Struct.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.google.protobuf.Struct.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.Struct.serializeBinaryToWriter=function(e,o){var r=void 0;(r=e.getFieldsMap(!0))&&r.getLength()>0&&r.serializeBinary(1,o,t.BinaryWriter.prototype.writeString,t.BinaryWriter.prototype.writeMessage,proto.google.protobuf.Value.serializeBinaryToWriter)},proto.google.protobuf.Struct.prototype.getFieldsMap=function(e){return t.Message.getMapField(this,1,e,proto.google.protobuf.Value)},proto.google.protobuf.Struct.prototype.clearFieldsMap=function(){return this.getFieldsMap().clear(),this},proto.google.protobuf.Value.oneofGroups_=[[1,2,3,4,5,6]],proto.google.protobuf.Value.KindCase={KIND_NOT_SET:0,NULL_VALUE:1,NUMBER_VALUE:2,STRING_VALUE:3,BOOL_VALUE:4,STRUCT_VALUE:5,LIST_VALUE:6},proto.google.protobuf.Value.prototype.getKindCase=function(){return t.Message.computeOneofCase(this,proto.google.protobuf.Value.oneofGroups_[0])},t.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Value.prototype.toObject=function(e){return proto.google.protobuf.Value.toObject(e,this)},proto.google.protobuf.Value.toObject=function(e,o){var r,i={nullValue:null==(r=t.Message.getField(o,1))?void 0:r,numberValue:null==(r=t.Message.getOptionalFloatingPointField(o,2))?void 0:r,stringValue:null==(r=t.Message.getField(o,3))?void 0:r,boolValue:null==(r=t.Message.getBooleanField(o,4))?void 0:r,structValue:(r=o.getStructValue())&&proto.google.protobuf.Struct.toObject(e,r),listValue:(r=o.getListValue())&&proto.google.protobuf.ListValue.toObject(e,r)};return e&&(i.$jspbMessageInstance=o),i}),proto.google.protobuf.Value.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.google.protobuf.Value;return proto.google.protobuf.Value.deserializeBinaryFromReader(r,o)},proto.google.protobuf.Value.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setNullValue(o);break;case 2:o=t.readDouble();e.setNumberValue(o);break;case 3:o=t.readString();e.setStringValue(o);break;case 4:o=t.readBool();e.setBoolValue(o);break;case 5:o=new proto.google.protobuf.Struct;t.readMessage(o,proto.google.protobuf.Struct.deserializeBinaryFromReader),e.setStructValue(o);break;case 6:o=new proto.google.protobuf.ListValue;t.readMessage(o,proto.google.protobuf.ListValue.deserializeBinaryFromReader),e.setListValue(o);break;default:t.skipField()}}return e},proto.google.protobuf.Value.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.google.protobuf.Value.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.Value.serializeBinaryToWriter=function(e,o){var r=void 0;null!=(r=t.Message.getField(e,1))&&o.writeEnum(1,r),null!=(r=t.Message.getField(e,2))&&o.writeDouble(2,r),null!=(r=t.Message.getField(e,3))&&o.writeString(3,r),null!=(r=t.Message.getField(e,4))&&o.writeBool(4,r),null!=(r=e.getStructValue())&&o.writeMessage(5,r,proto.google.protobuf.Struct.serializeBinaryToWriter),null!=(r=e.getListValue())&&o.writeMessage(6,r,proto.google.protobuf.ListValue.serializeBinaryToWriter)},proto.google.protobuf.Value.prototype.getNullValue=function(){return t.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.Value.prototype.setNullValue=function(e){return t.Message.setOneofField(this,1,proto.google.protobuf.Value.oneofGroups_[0],e)},proto.google.protobuf.Value.prototype.clearNullValue=function(){return t.Message.setOneofField(this,1,proto.google.protobuf.Value.oneofGroups_[0],void 0)},proto.google.protobuf.Value.prototype.hasNullValue=function(){return null!=t.Message.getField(this,1)},proto.google.protobuf.Value.prototype.getNumberValue=function(){return t.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.google.protobuf.Value.prototype.setNumberValue=function(e){return t.Message.setOneofField(this,2,proto.google.protobuf.Value.oneofGroups_[0],e)},proto.google.protobuf.Value.prototype.clearNumberValue=function(){return t.Message.setOneofField(this,2,proto.google.protobuf.Value.oneofGroups_[0],void 0)},proto.google.protobuf.Value.prototype.hasNumberValue=function(){return null!=t.Message.getField(this,2)},proto.google.protobuf.Value.prototype.getStringValue=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.google.protobuf.Value.prototype.setStringValue=function(e){return t.Message.setOneofField(this,3,proto.google.protobuf.Value.oneofGroups_[0],e)},proto.google.protobuf.Value.prototype.clearStringValue=function(){return t.Message.setOneofField(this,3,proto.google.protobuf.Value.oneofGroups_[0],void 0)},proto.google.protobuf.Value.prototype.hasStringValue=function(){return null!=t.Message.getField(this,3)},proto.google.protobuf.Value.prototype.getBoolValue=function(){return t.Message.getBooleanFieldWithDefault(this,4,!1)},proto.google.protobuf.Value.prototype.setBoolValue=function(e){return t.Message.setOneofField(this,4,proto.google.protobuf.Value.oneofGroups_[0],e)},proto.google.protobuf.Value.prototype.clearBoolValue=function(){return t.Message.setOneofField(this,4,proto.google.protobuf.Value.oneofGroups_[0],void 0)},proto.google.protobuf.Value.prototype.hasBoolValue=function(){return null!=t.Message.getField(this,4)},proto.google.protobuf.Value.prototype.getStructValue=function(){return t.Message.getWrapperField(this,proto.google.protobuf.Struct,5)},proto.google.protobuf.Value.prototype.setStructValue=function(e){return t.Message.setOneofWrapperField(this,5,proto.google.protobuf.Value.oneofGroups_[0],e)},proto.google.protobuf.Value.prototype.clearStructValue=function(){return this.setStructValue(void 0)},proto.google.protobuf.Value.prototype.hasStructValue=function(){return null!=t.Message.getField(this,5)},proto.google.protobuf.Value.prototype.getListValue=function(){return t.Message.getWrapperField(this,proto.google.protobuf.ListValue,6)},proto.google.protobuf.Value.prototype.setListValue=function(e){return t.Message.setOneofWrapperField(this,6,proto.google.protobuf.Value.oneofGroups_[0],e)},proto.google.protobuf.Value.prototype.clearListValue=function(){return this.setListValue(void 0)},proto.google.protobuf.Value.prototype.hasListValue=function(){return null!=t.Message.getField(this,6)},proto.google.protobuf.ListValue.repeatedFields_=[1],t.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ListValue.prototype.toObject=function(e){return proto.google.protobuf.ListValue.toObject(e,this)},proto.google.protobuf.ListValue.toObject=function(e,o){var r={valuesList:t.Message.toObjectList(o.getValuesList(),proto.google.protobuf.Value.toObject,e)};return e&&(r.$jspbMessageInstance=o),r}),proto.google.protobuf.ListValue.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.google.protobuf.ListValue;return proto.google.protobuf.ListValue.deserializeBinaryFromReader(r,o)},proto.google.protobuf.ListValue.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=new proto.google.protobuf.Value;t.readMessage(o,proto.google.protobuf.Value.deserializeBinaryFromReader),e.addValues(o)}else t.skipField()}return e},proto.google.protobuf.ListValue.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.google.protobuf.ListValue.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.ListValue.serializeBinaryToWriter=function(e,t){var o;(o=e.getValuesList()).length>0&&t.writeRepeatedMessage(1,o,proto.google.protobuf.Value.serializeBinaryToWriter)},proto.google.protobuf.ListValue.prototype.getValuesList=function(){return t.Message.getRepeatedWrapperField(this,proto.google.protobuf.Value,1)},proto.google.protobuf.ListValue.prototype.setValuesList=function(e){return t.Message.setRepeatedWrapperField(this,1,e)},proto.google.protobuf.ListValue.prototype.addValues=function(e,o){return t.Message.addToRepeatedWrapperField(this,1,e,proto.google.protobuf.Value,o)},proto.google.protobuf.ListValue.prototype.clearValuesList=function(){return this.setValuesList([])},proto.google.protobuf.NullValue={NULL_VALUE:0},o.object.extend(e,proto.google.protobuf),proto.google.protobuf.JavaScriptValue,proto.google.protobuf.Value.prototype.toJavaScript=function(){var e=proto.google.protobuf.Value.KindCase;switch(this.getKindCase()){case e.NULL_VALUE:return null;case e.NUMBER_VALUE:return this.getNumberValue();case e.STRING_VALUE:return this.getStringValue();case e.BOOL_VALUE:return this.getBoolValue();case e.STRUCT_VALUE:return this.getStructValue().toJavaScript();case e.LIST_VALUE:return this.getListValue().toJavaScript();default:throw new Error("Unexpected struct type")}},proto.google.protobuf.Value.fromJavaScript=function(e){var t=new proto.google.protobuf.Value;switch(o.typeOf(e)){case"string":t.setStringValue(e);break;case"number":t.setNumberValue(e);break;case"boolean":t.setBoolValue(e);break;case"null":t.setNullValue(proto.google.protobuf.NullValue.NULL_VALUE);break;case"array":t.setListValue(proto.google.protobuf.ListValue.fromJavaScript(e));break;case"object":t.setStructValue(proto.google.protobuf.Struct.fromJavaScript(e));break;default:throw new Error("Unexpected struct type.")}return t},proto.google.protobuf.ListValue.prototype.toJavaScript=function(){for(var e=[],t=this.getValuesList(),o=0;o<t.length;o++)e[o]=t[o].toJavaScript();return e},proto.google.protobuf.ListValue.fromJavaScript=function(e){for(var t=new proto.google.protobuf.ListValue,o=0;o<e.length;o++)t.addValues(proto.google.protobuf.Value.fromJavaScript(e[o]));return t},proto.google.protobuf.Struct.prototype.toJavaScript=function(){var e={};return this.getFieldsMap().forEach((function(t,o){e[o]=t.toJavaScript()})),e},proto.google.protobuf.Struct.fromJavaScript=function(e){var t=new proto.google.protobuf.Struct,o=t.getFieldsMap();for(var r in e){var i=e[r];o.set(r,proto.google.protobuf.Value.fromJavaScript(i))}return t}}(ao),function(e){var t=a,o=t,r=function(){return this||window||r||self||Function("return this")()}.call(null),i=ao;o.object.extend(proto,i),o.exportSymbol("proto.fonoster.applications.v1beta2.Application",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.ApplicationType",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.CreateApplicationRequest",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.CreateApplicationResponse",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.DeleteApplicationRequest",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.DeleteApplicationResponse",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.GetApplicationRequest",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.ListApplicationsRequest",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.ListApplicationsResponse",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.ProductContainer",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.UpdateApplicationRequest",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.UpdateApplicationResponse",null,r),proto.fonoster.applications.v1beta2.ProductContainer=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.ProductContainer,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.ProductContainer.displayName="proto.fonoster.applications.v1beta2.ProductContainer"),proto.fonoster.applications.v1beta2.Application=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.Application,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.Application.displayName="proto.fonoster.applications.v1beta2.Application"),proto.fonoster.applications.v1beta2.CreateApplicationRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.CreateApplicationRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.CreateApplicationRequest.displayName="proto.fonoster.applications.v1beta2.CreateApplicationRequest"),proto.fonoster.applications.v1beta2.CreateApplicationResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.CreateApplicationResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.CreateApplicationResponse.displayName="proto.fonoster.applications.v1beta2.CreateApplicationResponse"),proto.fonoster.applications.v1beta2.GetApplicationRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.GetApplicationRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.GetApplicationRequest.displayName="proto.fonoster.applications.v1beta2.GetApplicationRequest"),proto.fonoster.applications.v1beta2.ListApplicationsRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.ListApplicationsRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.ListApplicationsRequest.displayName="proto.fonoster.applications.v1beta2.ListApplicationsRequest"),proto.fonoster.applications.v1beta2.ListApplicationsResponse=function(e){t.Message.initialize(this,e,0,-1,proto.fonoster.applications.v1beta2.ListApplicationsResponse.repeatedFields_,null)},o.inherits(proto.fonoster.applications.v1beta2.ListApplicationsResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.ListApplicationsResponse.displayName="proto.fonoster.applications.v1beta2.ListApplicationsResponse"),proto.fonoster.applications.v1beta2.UpdateApplicationRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.UpdateApplicationRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.UpdateApplicationRequest.displayName="proto.fonoster.applications.v1beta2.UpdateApplicationRequest"),proto.fonoster.applications.v1beta2.UpdateApplicationResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.UpdateApplicationResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.UpdateApplicationResponse.displayName="proto.fonoster.applications.v1beta2.UpdateApplicationResponse"),proto.fonoster.applications.v1beta2.DeleteApplicationRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.DeleteApplicationRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.DeleteApplicationRequest.displayName="proto.fonoster.applications.v1beta2.DeleteApplicationRequest"),proto.fonoster.applications.v1beta2.DeleteApplicationResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.DeleteApplicationResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.DeleteApplicationResponse.displayName="proto.fonoster.applications.v1beta2.DeleteApplicationResponse"),t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.ProductContainer.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,this)},proto.fonoster.applications.v1beta2.ProductContainer.toObject=function(e,o){var r,n={productRef:t.Message.getFieldWithDefault(o,1,""),config:(r=o.getConfig())&&i.Struct.toObject(e,r),credentials:(r=o.getCredentials())&&i.Struct.toObject(e,r)};return e&&(n.$jspbMessageInstance=o),n}),proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.ProductContainer;return proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setProductRef(o);break;case 2:o=new i.Struct;t.readMessage(o,i.Struct.deserializeBinaryFromReader),e.setConfig(o);break;case 3:o=new i.Struct;t.readMessage(o,i.Struct.deserializeBinaryFromReader),e.setCredentials(o);break;default:t.skipField()}}return e},proto.fonoster.applications.v1beta2.ProductContainer.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getProductRef()).length>0&&t.writeString(1,o),null!=(o=e.getConfig())&&t.writeMessage(2,o,i.Struct.serializeBinaryToWriter),null!=(o=e.getCredentials())&&t.writeMessage(3,o,i.Struct.serializeBinaryToWriter)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.getProductRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.ProductContainer.prototype.setProductRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.getConfig=function(){return t.Message.getWrapperField(this,i.Struct,2)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.setConfig=function(e){return t.Message.setWrapperField(this,2,e)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.clearConfig=function(){return this.setConfig(void 0)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.hasConfig=function(){return null!=t.Message.getField(this,2)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.getCredentials=function(){return t.Message.getWrapperField(this,i.Struct,3)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.setCredentials=function(e){return t.Message.setWrapperField(this,3,e)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.clearCredentials=function(){return this.setCredentials(void 0)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.hasCredentials=function(){return null!=t.Message.getField(this,3)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.Application.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.Application.toObject(e,this)},proto.fonoster.applications.v1beta2.Application.toObject=function(e,o){var r,i={ref:t.Message.getFieldWithDefault(o,1,""),name:t.Message.getFieldWithDefault(o,2,""),type:t.Message.getFieldWithDefault(o,3,0),appEndpoint:t.Message.getFieldWithDefault(o,4,""),textToSpeech:(r=o.getTextToSpeech())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r),speechToText:(r=o.getSpeechToText())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r),conversation:(r=o.getConversation())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r),createdAt:t.Message.getFieldWithDefault(o,8,0),updatedAt:t.Message.getFieldWithDefault(o,9,0)};return e&&(i.$jspbMessageInstance=o),i}),proto.fonoster.applications.v1beta2.Application.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.Application;return proto.fonoster.applications.v1beta2.Application.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.Application.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setName(o);break;case 3:o=t.readEnum();e.setType(o);break;case 4:o=t.readString();e.setAppEndpoint(o);break;case 5:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setTextToSpeech(o);break;case 6:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setSpeechToText(o);break;case 7:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setConversation(o);break;case 8:o=t.readInt64();e.setCreatedAt(o);break;case 9:o=t.readInt64();e.setUpdatedAt(o);break;default:t.skipField()}}return e},proto.fonoster.applications.v1beta2.Application.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.Application.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.Application.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getName()).length>0&&t.writeString(2,o),0!==(o=e.getType())&&t.writeEnum(3,o),(o=e.getAppEndpoint()).length>0&&t.writeString(4,o),null!=(o=e.getTextToSpeech())&&t.writeMessage(5,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter),null!=(o=e.getSpeechToText())&&t.writeMessage(6,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter),null!=(o=e.getConversation())&&t.writeMessage(7,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter),0!==(o=e.getCreatedAt())&&t.writeInt64(8,o),0!==(o=e.getUpdatedAt())&&t.writeInt64(9,o)},proto.fonoster.applications.v1beta2.Application.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.Application.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.applications.v1beta2.Application.prototype.getName=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.applications.v1beta2.Application.prototype.setName=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.applications.v1beta2.Application.prototype.getType=function(){return t.Message.getFieldWithDefault(this,3,0)},proto.fonoster.applications.v1beta2.Application.prototype.setType=function(e){return t.Message.setProto3EnumField(this,3,e)},proto.fonoster.applications.v1beta2.Application.prototype.getAppEndpoint=function(){return t.Message.getFieldWithDefault(this,4,"")},proto.fonoster.applications.v1beta2.Application.prototype.setAppEndpoint=function(e){return t.Message.setProto3StringField(this,4,e)},proto.fonoster.applications.v1beta2.Application.prototype.getTextToSpeech=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,5)},proto.fonoster.applications.v1beta2.Application.prototype.setTextToSpeech=function(e){return t.Message.setWrapperField(this,5,e)},proto.fonoster.applications.v1beta2.Application.prototype.clearTextToSpeech=function(){return this.setTextToSpeech(void 0)},proto.fonoster.applications.v1beta2.Application.prototype.hasTextToSpeech=function(){return null!=t.Message.getField(this,5)},proto.fonoster.applications.v1beta2.Application.prototype.getSpeechToText=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,6)},proto.fonoster.applications.v1beta2.Application.prototype.setSpeechToText=function(e){return t.Message.setWrapperField(this,6,e)},proto.fonoster.applications.v1beta2.Application.prototype.clearSpeechToText=function(){return this.setSpeechToText(void 0)},proto.fonoster.applications.v1beta2.Application.prototype.hasSpeechToText=function(){return null!=t.Message.getField(this,6)},proto.fonoster.applications.v1beta2.Application.prototype.getConversation=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,7)},proto.fonoster.applications.v1beta2.Application.prototype.setConversation=function(e){return t.Message.setWrapperField(this,7,e)},proto.fonoster.applications.v1beta2.Application.prototype.clearConversation=function(){return this.setConversation(void 0)},proto.fonoster.applications.v1beta2.Application.prototype.hasConversation=function(){return null!=t.Message.getField(this,7)},proto.fonoster.applications.v1beta2.Application.prototype.getCreatedAt=function(){return t.Message.getFieldWithDefault(this,8,0)},proto.fonoster.applications.v1beta2.Application.prototype.setCreatedAt=function(e){return t.Message.setProto3IntField(this,8,e)},proto.fonoster.applications.v1beta2.Application.prototype.getUpdatedAt=function(){return t.Message.getFieldWithDefault(this,9,0)},proto.fonoster.applications.v1beta2.Application.prototype.setUpdatedAt=function(e){return t.Message.setProto3IntField(this,9,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.CreateApplicationRequest.toObject(e,this)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.toObject=function(e,o){var r,i={name:t.Message.getFieldWithDefault(o,1,""),type:t.Message.getFieldWithDefault(o,2,0),appEndpoint:t.Message.getFieldWithDefault(o,3,""),textToSpeech:(r=o.getTextToSpeech())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r),speechToText:(r=o.getSpeechToText())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r),intelligence:(r=o.getIntelligence())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r)};return e&&(i.$jspbMessageInstance=o),i}),proto.fonoster.applications.v1beta2.CreateApplicationRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.CreateApplicationRequest;return proto.fonoster.applications.v1beta2.CreateApplicationRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setName(o);break;case 2:o=t.readEnum();e.setType(o);break;case 3:o=t.readString();e.setAppEndpoint(o);break;case 4:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setTextToSpeech(o);break;case 5:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setSpeechToText(o);break;case 6:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setIntelligence(o);break;default:t.skipField()}}return e},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.CreateApplicationRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.CreateApplicationRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getName()).length>0&&t.writeString(1,o),0!==(o=e.getType())&&t.writeEnum(2,o),(o=e.getAppEndpoint()).length>0&&t.writeString(3,o),null!=(o=e.getTextToSpeech())&&t.writeMessage(4,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter),null!=(o=e.getSpeechToText())&&t.writeMessage(5,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter),null!=(o=e.getIntelligence())&&t.writeMessage(6,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getName=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setName=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getType=function(){return t.Message.getFieldWithDefault(this,2,0)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setType=function(e){return t.Message.setProto3EnumField(this,2,e)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getAppEndpoint=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setAppEndpoint=function(e){return t.Message.setProto3StringField(this,3,e)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getTextToSpeech=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,4)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setTextToSpeech=function(e){return t.Message.setWrapperField(this,4,e)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearTextToSpeech=function(){return this.setTextToSpeech(void 0)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.hasTextToSpeech=function(){return null!=t.Message.getField(this,4)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getSpeechToText=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,5)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setSpeechToText=function(e){return t.Message.setWrapperField(this,5,e)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearSpeechToText=function(){return this.setSpeechToText(void 0)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.hasSpeechToText=function(){return null!=t.Message.getField(this,5)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getIntelligence=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,6)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setIntelligence=function(e){return t.Message.setWrapperField(this,6,e)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearIntelligence=function(){return this.setIntelligence(void 0)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.hasIntelligence=function(){return null!=t.Message.getField(this,6)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.CreateApplicationResponse.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.CreateApplicationResponse.toObject(e,this)},proto.fonoster.applications.v1beta2.CreateApplicationResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.applications.v1beta2.CreateApplicationResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.CreateApplicationResponse;return proto.fonoster.applications.v1beta2.CreateApplicationResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.CreateApplicationResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.applications.v1beta2.CreateApplicationResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.CreateApplicationResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.CreateApplicationResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.applications.v1beta2.CreateApplicationResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.CreateApplicationResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.GetApplicationRequest.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.GetApplicationRequest.toObject(e,this)},proto.fonoster.applications.v1beta2.GetApplicationRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.applications.v1beta2.GetApplicationRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.GetApplicationRequest;return proto.fonoster.applications.v1beta2.GetApplicationRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.GetApplicationRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.applications.v1beta2.GetApplicationRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.GetApplicationRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.GetApplicationRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.applications.v1beta2.GetApplicationRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.GetApplicationRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.ListApplicationsRequest.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.ListApplicationsRequest.toObject(e,this)},proto.fonoster.applications.v1beta2.ListApplicationsRequest.toObject=function(e,o){var r={pageSize:t.Message.getFieldWithDefault(o,1,0),pageToken:t.Message.getFieldWithDefault(o,2,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.applications.v1beta2.ListApplicationsRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.ListApplicationsRequest;return proto.fonoster.applications.v1beta2.ListApplicationsRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.ListApplicationsRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readInt32();e.setPageSize(o);break;case 2:o=t.readString();e.setPageToken(o);break;default:t.skipField()}}return e},proto.fonoster.applications.v1beta2.ListApplicationsRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.ListApplicationsRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.ListApplicationsRequest.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getPageSize())&&t.writeInt32(1,o),(o=e.getPageToken()).length>0&&t.writeString(2,o)},proto.fonoster.applications.v1beta2.ListApplicationsRequest.prototype.getPageSize=function(){return t.Message.getFieldWithDefault(this,1,0)},proto.fonoster.applications.v1beta2.ListApplicationsRequest.prototype.setPageSize=function(e){return t.Message.setProto3IntField(this,1,e)},proto.fonoster.applications.v1beta2.ListApplicationsRequest.prototype.getPageToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.applications.v1beta2.ListApplicationsRequest.prototype.setPageToken=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.applications.v1beta2.ListApplicationsResponse.repeatedFields_=[1],t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.ListApplicationsResponse.toObject(e,this)},proto.fonoster.applications.v1beta2.ListApplicationsResponse.toObject=function(e,o){var r={itemsList:t.Message.toObjectList(o.getItemsList(),proto.fonoster.applications.v1beta2.Application.toObject,e),nextPageToken:t.Message.getFieldWithDefault(o,2,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.applications.v1beta2.ListApplicationsResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.ListApplicationsResponse;return proto.fonoster.applications.v1beta2.ListApplicationsResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.ListApplicationsResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new proto.fonoster.applications.v1beta2.Application;t.readMessage(o,proto.fonoster.applications.v1beta2.Application.deserializeBinaryFromReader),e.addItems(o);break;case 2:o=t.readString();e.setNextPageToken(o);break;default:t.skipField()}}return e},proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.ListApplicationsResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.ListApplicationsResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getItemsList()).length>0&&t.writeRepeatedMessage(1,o,proto.fonoster.applications.v1beta2.Application.serializeBinaryToWriter),(o=e.getNextPageToken()).length>0&&t.writeString(2,o)},proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.getItemsList=function(){return t.Message.getRepeatedWrapperField(this,proto.fonoster.applications.v1beta2.Application,1)},proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.setItemsList=function(e){return t.Message.setRepeatedWrapperField(this,1,e)},proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.addItems=function(e,o){return t.Message.addToRepeatedWrapperField(this,1,e,proto.fonoster.applications.v1beta2.Application,o)},proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.clearItemsList=function(){return this.setItemsList([])},proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.getNextPageToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.setNextPageToken=function(e){return t.Message.setProto3StringField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.UpdateApplicationRequest.toObject(e,this)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.toObject=function(e,o){var r,i={ref:t.Message.getFieldWithDefault(o,1,""),name:t.Message.getFieldWithDefault(o,2,""),type:t.Message.getFieldWithDefault(o,3,0),appEndpoint:t.Message.getFieldWithDefault(o,4,""),textToSpeech:(r=o.getTextToSpeech())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r),speechToText:(r=o.getSpeechToText())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r),intelligence:(r=o.getIntelligence())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r)};return e&&(i.$jspbMessageInstance=o),i}),proto.fonoster.applications.v1beta2.UpdateApplicationRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.UpdateApplicationRequest;return proto.fonoster.applications.v1beta2.UpdateApplicationRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setName(o);break;case 3:o=t.readEnum();e.setType(o);break;case 4:o=t.readString();e.setAppEndpoint(o);break;case 5:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setTextToSpeech(o);break;case 6:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setSpeechToText(o);break;case 7:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setIntelligence(o);break;default:t.skipField()}}return e},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.UpdateApplicationRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getName()).length>0&&t.writeString(2,o),0!==(o=e.getType())&&t.writeEnum(3,o),(o=e.getAppEndpoint()).length>0&&t.writeString(4,o),null!=(o=e.getTextToSpeech())&&t.writeMessage(5,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter),null!=(o=e.getSpeechToText())&&t.writeMessage(6,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter),null!=(o=e.getIntelligence())&&t.writeMessage(7,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getName=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setName=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getType=function(){return t.Message.getFieldWithDefault(this,3,0)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setType=function(e){return t.Message.setProto3EnumField(this,3,e)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getAppEndpoint=function(){return t.Message.getFieldWithDefault(this,4,"")},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setAppEndpoint=function(e){return t.Message.setProto3StringField(this,4,e)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getTextToSpeech=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,5)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setTextToSpeech=function(e){return t.Message.setWrapperField(this,5,e)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.clearTextToSpeech=function(){return this.setTextToSpeech(void 0)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.hasTextToSpeech=function(){return null!=t.Message.getField(this,5)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getSpeechToText=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,6)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setSpeechToText=function(e){return t.Message.setWrapperField(this,6,e)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.clearSpeechToText=function(){return this.setSpeechToText(void 0)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.hasSpeechToText=function(){return null!=t.Message.getField(this,6)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getIntelligence=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,7)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setIntelligence=function(e){return t.Message.setWrapperField(this,7,e)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.clearIntelligence=function(){return this.setIntelligence(void 0)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.hasIntelligence=function(){return null!=t.Message.getField(this,7)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.UpdateApplicationResponse.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.UpdateApplicationResponse.toObject(e,this)},proto.fonoster.applications.v1beta2.UpdateApplicationResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.applications.v1beta2.UpdateApplicationResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.UpdateApplicationResponse;return proto.fonoster.applications.v1beta2.UpdateApplicationResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.UpdateApplicationResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.applications.v1beta2.UpdateApplicationResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.UpdateApplicationResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.UpdateApplicationResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.applications.v1beta2.UpdateApplicationResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.UpdateApplicationResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.DeleteApplicationRequest.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.DeleteApplicationRequest.toObject(e,this)},proto.fonoster.applications.v1beta2.DeleteApplicationRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.applications.v1beta2.DeleteApplicationRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.DeleteApplicationRequest;return proto.fonoster.applications.v1beta2.DeleteApplicationRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.DeleteApplicationRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.applications.v1beta2.DeleteApplicationRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.DeleteApplicationRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.DeleteApplicationRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.applications.v1beta2.DeleteApplicationRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.DeleteApplicationRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.DeleteApplicationResponse.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.DeleteApplicationResponse.toObject(e,this)},proto.fonoster.applications.v1beta2.DeleteApplicationResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.applications.v1beta2.DeleteApplicationResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.DeleteApplicationResponse;return proto.fonoster.applications.v1beta2.DeleteApplicationResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.DeleteApplicationResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.applications.v1beta2.DeleteApplicationResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.DeleteApplicationResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.DeleteApplicationResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.applications.v1beta2.DeleteApplicationResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.DeleteApplicationResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.applications.v1beta2.ApplicationType={PROGRAMMABLE_VOICE:0},o.object.extend(e,proto.fonoster.applications.v1beta2)}(so);class po{constructor(e,t,o){this.methodDescriptorCreateApplication=new ro("/fonoster.applications.v1beta2.Applications/CreateApplication",no,so.CreateApplicationRequest,so.CreateApplicationResponse,(e=>e.serializeBinary()),so.CreateApplicationResponse.deserializeBinary),this.methodDescriptorGetApplication=new ro("/fonoster.applications.v1beta2.Applications/GetApplication",no,so.GetApplicationRequest,so.Application,(e=>e.serializeBinary()),so.Application.deserializeBinary),this.methodDescriptorListApplications=new ro("/fonoster.applications.v1beta2.Applications/ListApplications",no,so.ListApplicationsRequest,so.ListApplicationsResponse,(e=>e.serializeBinary()),so.ListApplicationsResponse.deserializeBinary),this.methodDescriptorUpdateApplication=new ro("/fonoster.applications.v1beta2.Applications/UpdateApplication",no,so.UpdateApplicationRequest,so.UpdateApplicationResponse,(e=>e.serializeBinary()),so.UpdateApplicationResponse.deserializeBinary),this.methodDescriptorDeleteApplication=new ro("/fonoster.applications.v1beta2.Applications/DeleteApplication",no,so.DeleteApplicationRequest,so.DeleteApplicationResponse,(e=>e.serializeBinary()),so.DeleteApplicationResponse.deserializeBinary),o||(o={}),t||(t={}),o.format="text",this.client_=new io(o),this.hostname_=e.replace(/\/+$/,""),this.credentials_=t,this.options_=o}createApplication(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.applications.v1beta2.Applications/CreateApplication",e,t||{},this.methodDescriptorCreateApplication,o):this.client_.unaryCall(this.hostname_+"/fonoster.applications.v1beta2.Applications/CreateApplication",e,t||{},this.methodDescriptorCreateApplication)}getApplication(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.applications.v1beta2.Applications/GetApplication",e,t||{},this.methodDescriptorGetApplication,o):this.client_.unaryCall(this.hostname_+"/fonoster.applications.v1beta2.Applications/GetApplication",e,t||{},this.methodDescriptorGetApplication)}listApplications(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.applications.v1beta2.Applications/ListApplications",e,t||{},this.methodDescriptorListApplications,o):this.client_.unaryCall(this.hostname_+"/fonoster.applications.v1beta2.Applications/ListApplications",e,t||{},this.methodDescriptorListApplications)}updateApplication(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.applications.v1beta2.Applications/UpdateApplication",e,t||{},this.methodDescriptorUpdateApplication,o):this.client_.unaryCall(this.hostname_+"/fonoster.applications.v1beta2.Applications/UpdateApplication",e,t||{},this.methodDescriptorUpdateApplication)}deleteApplication(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.applications.v1beta2.Applications/DeleteApplication",e,t||{},this.methodDescriptorDeleteApplication,o):this.client_.unaryCall(this.hostname_+"/fonoster.applications.v1beta2.Applications/DeleteApplication",e,t||{},this.methodDescriptorDeleteApplication)}}var lo={};!function(e){var t=a,o=t,r=function(){return this||window||r||self||Function("return this")()}.call(null),i=l;o.object.extend(proto,i),o.exportSymbol("proto.fonoster.identity.v1beta2.ApiKey",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.CreateApiKeyRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.CreateApiKeyResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.CreateUserRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.CreateUserResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.CreateWorkspaceRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.CreateWorkspaceResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.DeleteApiKeyRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.DeleteApiKeyResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.DeleteUserRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.DeleteUserResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.GetPublicKeyResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.GetUserRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.GetUserResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.GetWorkspaceRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ListApiKeysRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ListApiKeysResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ListWorkspacesRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ListWorkspacesResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.RevokeTokenRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.RevokeTokenResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.UpdateUserRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.UpdateUserResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.Workspace",null,r),proto.fonoster.identity.v1beta2.CreateWorkspaceRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.CreateWorkspaceRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.displayName="proto.fonoster.identity.v1beta2.CreateWorkspaceRequest"),proto.fonoster.identity.v1beta2.CreateWorkspaceResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.CreateWorkspaceResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.displayName="proto.fonoster.identity.v1beta2.CreateWorkspaceResponse"),proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.displayName="proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest"),proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.displayName="proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse"),proto.fonoster.identity.v1beta2.GetWorkspaceRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.GetWorkspaceRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.GetWorkspaceRequest.displayName="proto.fonoster.identity.v1beta2.GetWorkspaceRequest"),proto.fonoster.identity.v1beta2.ListWorkspacesRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ListWorkspacesRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ListWorkspacesRequest.displayName="proto.fonoster.identity.v1beta2.ListWorkspacesRequest"),proto.fonoster.identity.v1beta2.ListWorkspacesResponse=function(e){t.Message.initialize(this,e,0,-1,proto.fonoster.identity.v1beta2.ListWorkspacesResponse.repeatedFields_,null)},o.inherits(proto.fonoster.identity.v1beta2.ListWorkspacesResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ListWorkspacesResponse.displayName="proto.fonoster.identity.v1beta2.ListWorkspacesResponse"),proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.displayName="proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest"),proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.displayName="proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse"),proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.displayName="proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest"),proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.displayName="proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse"),proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.displayName="proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest"),proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.displayName="proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse"),proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.displayName="proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest"),proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.displayName="proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse"),proto.fonoster.identity.v1beta2.CreateUserRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.CreateUserRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.CreateUserRequest.displayName="proto.fonoster.identity.v1beta2.CreateUserRequest"),proto.fonoster.identity.v1beta2.CreateUserResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.CreateUserResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.CreateUserResponse.displayName="proto.fonoster.identity.v1beta2.CreateUserResponse"),proto.fonoster.identity.v1beta2.GetUserRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.GetUserRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.GetUserRequest.displayName="proto.fonoster.identity.v1beta2.GetUserRequest"),proto.fonoster.identity.v1beta2.GetUserResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.GetUserResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.GetUserResponse.displayName="proto.fonoster.identity.v1beta2.GetUserResponse"),proto.fonoster.identity.v1beta2.UpdateUserRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.UpdateUserRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.UpdateUserRequest.displayName="proto.fonoster.identity.v1beta2.UpdateUserRequest"),proto.fonoster.identity.v1beta2.UpdateUserResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.UpdateUserResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.UpdateUserResponse.displayName="proto.fonoster.identity.v1beta2.UpdateUserResponse"),proto.fonoster.identity.v1beta2.DeleteUserRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.DeleteUserRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.DeleteUserRequest.displayName="proto.fonoster.identity.v1beta2.DeleteUserRequest"),proto.fonoster.identity.v1beta2.DeleteUserResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.DeleteUserResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.DeleteUserResponse.displayName="proto.fonoster.identity.v1beta2.DeleteUserResponse"),proto.fonoster.identity.v1beta2.Workspace=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.Workspace,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.Workspace.displayName="proto.fonoster.identity.v1beta2.Workspace"),proto.fonoster.identity.v1beta2.CreateApiKeyRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.CreateApiKeyRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.CreateApiKeyRequest.displayName="proto.fonoster.identity.v1beta2.CreateApiKeyRequest"),proto.fonoster.identity.v1beta2.CreateApiKeyResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.CreateApiKeyResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.CreateApiKeyResponse.displayName="proto.fonoster.identity.v1beta2.CreateApiKeyResponse"),proto.fonoster.identity.v1beta2.DeleteApiKeyRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.DeleteApiKeyRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.displayName="proto.fonoster.identity.v1beta2.DeleteApiKeyRequest"),proto.fonoster.identity.v1beta2.DeleteApiKeyResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.DeleteApiKeyResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.displayName="proto.fonoster.identity.v1beta2.DeleteApiKeyResponse"),proto.fonoster.identity.v1beta2.ListApiKeysRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ListApiKeysRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ListApiKeysRequest.displayName="proto.fonoster.identity.v1beta2.ListApiKeysRequest"),proto.fonoster.identity.v1beta2.ListApiKeysResponse=function(e){t.Message.initialize(this,e,0,-1,proto.fonoster.identity.v1beta2.ListApiKeysResponse.repeatedFields_,null)},o.inherits(proto.fonoster.identity.v1beta2.ListApiKeysResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ListApiKeysResponse.displayName="proto.fonoster.identity.v1beta2.ListApiKeysResponse"),proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.displayName="proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest"),proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.displayName="proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse"),proto.fonoster.identity.v1beta2.ApiKey=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ApiKey,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ApiKey.displayName="proto.fonoster.identity.v1beta2.ApiKey"),proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.displayName="proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest"),proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.displayName="proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse"),proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.displayName="proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest"),proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.displayName="proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse"),proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.displayName="proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest"),proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.displayName="proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse"),proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.displayName="proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest"),proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.displayName="proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse"),proto.fonoster.identity.v1beta2.RevokeTokenRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.RevokeTokenRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.RevokeTokenRequest.displayName="proto.fonoster.identity.v1beta2.RevokeTokenRequest"),proto.fonoster.identity.v1beta2.RevokeTokenResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.RevokeTokenResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.RevokeTokenResponse.displayName="proto.fonoster.identity.v1beta2.RevokeTokenResponse"),proto.fonoster.identity.v1beta2.GetPublicKeyResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.GetPublicKeyResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.GetPublicKeyResponse.displayName="proto.fonoster.identity.v1beta2.GetPublicKeyResponse"),t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.toObject=function(e,o){var r={name:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.CreateWorkspaceRequest;return proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setName(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getName()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.prototype.getName=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.prototype.setName=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.CreateWorkspaceResponse;return proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest;return proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse;return proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.GetWorkspaceRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.GetWorkspaceRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.GetWorkspaceRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.GetWorkspaceRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.GetWorkspaceRequest;return proto.fonoster.identity.v1beta2.GetWorkspaceRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.GetWorkspaceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.GetWorkspaceRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.GetWorkspaceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.GetWorkspaceRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.GetWorkspaceRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.GetWorkspaceRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ListWorkspacesRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ListWorkspacesRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.toObject=function(e,o){var r={pageToken:t.Message.getFieldWithDefault(o,1,""),pageSize:t.Message.getFieldWithDefault(o,2,0)};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ListWorkspacesRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ListWorkspacesRequest;return proto.fonoster.identity.v1beta2.ListWorkspacesRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setPageToken(o);break;case 2:o=t.readInt32();e.setPageSize(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ListWorkspacesRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getPageToken()).length>0&&t.writeString(1,o),0!==(o=e.getPageSize())&&t.writeInt32(2,o)},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.prototype.getPageToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.prototype.setPageToken=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.prototype.getPageSize=function(){return t.Message.getFieldWithDefault(this,2,0)},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.prototype.setPageSize=function(e){return t.Message.setProto3IntField(this,2,e)},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.repeatedFields_=[1],t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ListWorkspacesResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.toObject=function(e,o){var r={workspacesList:t.Message.toObjectList(o.getWorkspacesList(),proto.fonoster.identity.v1beta2.Workspace.toObject,e),nextPageToken:t.Message.getFieldWithDefault(o,2,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ListWorkspacesResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ListWorkspacesResponse;return proto.fonoster.identity.v1beta2.ListWorkspacesResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new proto.fonoster.identity.v1beta2.Workspace;t.readMessage(o,proto.fonoster.identity.v1beta2.Workspace.deserializeBinaryFromReader),e.addWorkspaces(o);break;case 2:o=t.readString();e.setNextPageToken(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ListWorkspacesResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getWorkspacesList()).length>0&&t.writeRepeatedMessage(1,o,proto.fonoster.identity.v1beta2.Workspace.serializeBinaryToWriter),(o=e.getNextPageToken()).length>0&&t.writeString(2,o)},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.getWorkspacesList=function(){return t.Message.getRepeatedWrapperField(this,proto.fonoster.identity.v1beta2.Workspace,1)},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.setWorkspacesList=function(e){return t.Message.setRepeatedWrapperField(this,1,e)},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.addWorkspaces=function(e,o){return t.Message.addToRepeatedWrapperField(this,1,e,proto.fonoster.identity.v1beta2.Workspace,o)},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.clearWorkspacesList=function(){return this.setWorkspacesList([])},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.getNextPageToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.setNextPageToken=function(e){return t.Message.setProto3StringField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,""),name:t.Message.getFieldWithDefault(o,2,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest;return proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setName(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getName()).length>0&&t.writeString(2,o)},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.prototype.getName=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.prototype.setName=function(e){return t.Message.setProto3StringField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse;return proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.toObject=function(e,o){var r={email:t.Message.getFieldWithDefault(o,1,""),role:t.Message.getFieldWithDefault(o,2,""),name:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest;return proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setEmail(o);break;case 2:o=t.readString();e.setRole(o);break;case 3:o=t.readString();e.setName(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getEmail()).length>0&&t.writeString(1,o),(o=e.getRole()).length>0&&t.writeString(2,o),(o=e.getName()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.getEmail=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.setEmail=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.getRole=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.setRole=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.getName=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.setName=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.toObject=function(e,o){var r={userRef:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse;return proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setUserRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getUserRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.prototype.getUserRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.prototype.setUserRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.toObject=function(e,o){var r={userRef:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest;return proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setUserRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getUserRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.prototype.getUserRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.prototype.setUserRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.toObject=function(e,o){var r={userRef:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse;return proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setUserRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getUserRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.prototype.getUserRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.prototype.setUserRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.toObject=function(e,o){var r={userRef:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest;return proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setUserRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getUserRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.prototype.getUserRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.prototype.setUserRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.toObject=function(e,o){var r={userRef:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse;return proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setUserRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getUserRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.prototype.getUserRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.prototype.setUserRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.CreateUserRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.CreateUserRequest.toObject=function(e,o){var r={email:t.Message.getFieldWithDefault(o,1,""),password:t.Message.getFieldWithDefault(o,2,""),name:t.Message.getFieldWithDefault(o,3,""),avatar:t.Message.getFieldWithDefault(o,4,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.CreateUserRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.CreateUserRequest;return proto.fonoster.identity.v1beta2.CreateUserRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.CreateUserRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setEmail(o);break;case 2:o=t.readString();e.setPassword(o);break;case 3:o=t.readString();e.setName(o);break;case 4:o=t.readString();e.setAvatar(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.CreateUserRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.CreateUserRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getEmail()).length>0&&t.writeString(1,o),(o=e.getPassword()).length>0&&t.writeString(2,o),(o=e.getName()).length>0&&t.writeString(3,o),(o=e.getAvatar()).length>0&&t.writeString(4,o)},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.getEmail=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.setEmail=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.getPassword=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.setPassword=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.getName=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.setName=function(e){return t.Message.setProto3StringField(this,3,e)},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.getAvatar=function(){return t.Message.getFieldWithDefault(this,4,"")},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.setAvatar=function(e){return t.Message.setProto3StringField(this,4,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.CreateUserResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.CreateUserResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.CreateUserResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.CreateUserResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.CreateUserResponse;return proto.fonoster.identity.v1beta2.CreateUserResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.CreateUserResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.CreateUserResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.CreateUserResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.CreateUserResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.CreateUserResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.CreateUserResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.GetUserRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.GetUserRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.GetUserRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.GetUserRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.GetUserRequest;return proto.fonoster.identity.v1beta2.GetUserRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.GetUserRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.GetUserRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.GetUserRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.GetUserRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.GetUserRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.GetUserRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.GetUserResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.GetUserResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.GetUserResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,""),email:t.Message.getFieldWithDefault(o,2,""),name:t.Message.getFieldWithDefault(o,3,""),avatar:t.Message.getFieldWithDefault(o,4,""),createdAt:t.Message.getFieldWithDefault(o,5,0),updatedAt:t.Message.getFieldWithDefault(o,6,0)};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.GetUserResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.GetUserResponse;return proto.fonoster.identity.v1beta2.GetUserResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.GetUserResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setEmail(o);break;case 3:o=t.readString();e.setName(o);break;case 4:o=t.readString();e.setAvatar(o);break;case 5:o=t.readInt64();e.setCreatedAt(o);break;case 6:o=t.readInt64();e.setUpdatedAt(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.GetUserResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.GetUserResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getEmail()).length>0&&t.writeString(2,o),(o=e.getName()).length>0&&t.writeString(3,o),(o=e.getAvatar()).length>0&&t.writeString(4,o),0!==(o=e.getCreatedAt())&&t.writeInt64(5,o),0!==(o=e.getUpdatedAt())&&t.writeInt64(6,o)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.getEmail=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.setEmail=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.getName=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.setName=function(e){return t.Message.setProto3StringField(this,3,e)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.getAvatar=function(){return t.Message.getFieldWithDefault(this,4,"")},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.setAvatar=function(e){return t.Message.setProto3StringField(this,4,e)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.getCreatedAt=function(){return t.Message.getFieldWithDefault(this,5,0)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.setCreatedAt=function(e){return t.Message.setProto3IntField(this,5,e)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.getUpdatedAt=function(){return t.Message.getFieldWithDefault(this,6,0)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.setUpdatedAt=function(e){return t.Message.setProto3IntField(this,6,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.UpdateUserRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.UpdateUserRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,""),password:t.Message.getFieldWithDefault(o,2,""),name:t.Message.getFieldWithDefault(o,3,""),avatar:t.Message.getFieldWithDefault(o,4,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.UpdateUserRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.UpdateUserRequest;return proto.fonoster.identity.v1beta2.UpdateUserRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.UpdateUserRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setPassword(o);break;case 3:o=t.readString();e.setName(o);break;case 4:o=t.readString();e.setAvatar(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.UpdateUserRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.UpdateUserRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getPassword()).length>0&&t.writeString(2,o),(o=e.getName()).length>0&&t.writeString(3,o),(o=e.getAvatar()).length>0&&t.writeString(4,o)},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.getPassword=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.setPassword=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.getName=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.setName=function(e){return t.Message.setProto3StringField(this,3,e)},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.getAvatar=function(){return t.Message.getFieldWithDefault(this,4,"")},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.setAvatar=function(e){return t.Message.setProto3StringField(this,4,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.UpdateUserResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.UpdateUserResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.UpdateUserResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.UpdateUserResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.UpdateUserResponse;return proto.fonoster.identity.v1beta2.UpdateUserResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.UpdateUserResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.UpdateUserResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.UpdateUserResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.UpdateUserResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.UpdateUserResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.UpdateUserResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.DeleteUserRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.DeleteUserRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.DeleteUserRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.DeleteUserRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.DeleteUserRequest;return proto.fonoster.identity.v1beta2.DeleteUserRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.DeleteUserRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.DeleteUserRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.DeleteUserRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.DeleteUserRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.DeleteUserRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.DeleteUserRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.DeleteUserResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.DeleteUserResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.DeleteUserResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.DeleteUserResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.DeleteUserResponse;return proto.fonoster.identity.v1beta2.DeleteUserResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.DeleteUserResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.DeleteUserResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.DeleteUserResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.DeleteUserResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.DeleteUserResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.DeleteUserResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.Workspace.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.Workspace.toObject(e,this)},proto.fonoster.identity.v1beta2.Workspace.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,""),name:t.Message.getFieldWithDefault(o,2,""),ownerRef:t.Message.getFieldWithDefault(o,3,""),createdAt:t.Message.getFieldWithDefault(o,4,0),updatedAt:t.Message.getFieldWithDefault(o,5,0)};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.Workspace.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.Workspace;return proto.fonoster.identity.v1beta2.Workspace.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.Workspace.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setName(o);break;case 3:o=t.readString();e.setOwnerRef(o);break;case 4:o=t.readInt64();e.setCreatedAt(o);break;case 5:o=t.readInt64();e.setUpdatedAt(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.Workspace.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.Workspace.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.Workspace.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getName()).length>0&&t.writeString(2,o),(o=e.getOwnerRef()).length>0&&t.writeString(3,o),0!==(o=e.getCreatedAt())&&t.writeInt64(4,o),0!==(o=e.getUpdatedAt())&&t.writeInt64(5,o)},proto.fonoster.identity.v1beta2.Workspace.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.Workspace.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.Workspace.prototype.getName=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.Workspace.prototype.setName=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.Workspace.prototype.getOwnerRef=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.Workspace.prototype.setOwnerRef=function(e){return t.Message.setProto3StringField(this,3,e)},proto.fonoster.identity.v1beta2.Workspace.prototype.getCreatedAt=function(){return t.Message.getFieldWithDefault(this,4,0)},proto.fonoster.identity.v1beta2.Workspace.prototype.setCreatedAt=function(e){return t.Message.setProto3IntField(this,4,e)},proto.fonoster.identity.v1beta2.Workspace.prototype.getUpdatedAt=function(){return t.Message.getFieldWithDefault(this,5,0)},proto.fonoster.identity.v1beta2.Workspace.prototype.setUpdatedAt=function(e){return t.Message.setProto3IntField(this,5,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.CreateApiKeyRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.CreateApiKeyRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.toObject=function(e,o){var r={role:t.Message.getFieldWithDefault(o,1,""),expiresAt:t.Message.getFieldWithDefault(o,2,0)};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.CreateApiKeyRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.CreateApiKeyRequest;return proto.fonoster.identity.v1beta2.CreateApiKeyRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRole(o);break;case 2:o=t.readInt32();e.setExpiresAt(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.CreateApiKeyRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRole()).length>0&&t.writeString(1,o),0!==(o=e.getExpiresAt())&&t.writeInt32(2,o)},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.prototype.getRole=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.prototype.setRole=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.prototype.getExpiresAt=function(){return t.Message.getFieldWithDefault(this,2,0)},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.prototype.setExpiresAt=function(e){return t.Message.setProto3IntField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.CreateApiKeyResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,""),accessKeyId:t.Message.getFieldWithDefault(o,2,""),accessKeySecret:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.CreateApiKeyResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.CreateApiKeyResponse;return proto.fonoster.identity.v1beta2.CreateApiKeyResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setAccessKeyId(o);break;case 3:o=t.readString();e.setAccessKeySecret(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.CreateApiKeyResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getAccessKeyId()).length>0&&t.writeString(2,o),(o=e.getAccessKeySecret()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.getAccessKeyId=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.setAccessKeyId=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.getAccessKeySecret=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.setAccessKeySecret=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.DeleteApiKeyRequest;return proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.DeleteApiKeyResponse;return proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ListApiKeysRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ListApiKeysRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.ListApiKeysRequest.toObject=function(e,o){var r={pageSize:t.Message.getFieldWithDefault(o,3,0),pageToken:t.Message.getFieldWithDefault(o,2,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ListApiKeysRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ListApiKeysRequest;return proto.fonoster.identity.v1beta2.ListApiKeysRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ListApiKeysRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 3:var o=t.readInt32();e.setPageSize(o);break;case 2:o=t.readString();e.setPageToken(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ListApiKeysRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ListApiKeysRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ListApiKeysRequest.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getPageSize())&&t.writeInt32(3,o),(o=e.getPageToken()).length>0&&t.writeString(2,o)},proto.fonoster.identity.v1beta2.ListApiKeysRequest.prototype.getPageSize=function(){return t.Message.getFieldWithDefault(this,3,0)},proto.fonoster.identity.v1beta2.ListApiKeysRequest.prototype.setPageSize=function(e){return t.Message.setProto3IntField(this,3,e)},proto.fonoster.identity.v1beta2.ListApiKeysRequest.prototype.getPageToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ListApiKeysRequest.prototype.setPageToken=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.ListApiKeysResponse.repeatedFields_=[1],t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ListApiKeysResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.ListApiKeysResponse.toObject=function(e,o){var r={itemsList:t.Message.toObjectList(o.getItemsList(),proto.fonoster.identity.v1beta2.ApiKey.toObject,e),nextPageToken:t.Message.getFieldWithDefault(o,2,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ListApiKeysResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ListApiKeysResponse;return proto.fonoster.identity.v1beta2.ListApiKeysResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ListApiKeysResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new proto.fonoster.identity.v1beta2.ApiKey;t.readMessage(o,proto.fonoster.identity.v1beta2.ApiKey.deserializeBinaryFromReader),e.addItems(o);break;case 2:o=t.readString();e.setNextPageToken(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ListApiKeysResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ListApiKeysResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getItemsList()).length>0&&t.writeRepeatedMessage(1,o,proto.fonoster.identity.v1beta2.ApiKey.serializeBinaryToWriter),(o=e.getNextPageToken()).length>0&&t.writeString(2,o)},proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.getItemsList=function(){return t.Message.getRepeatedWrapperField(this,proto.fonoster.identity.v1beta2.ApiKey,1)},proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.setItemsList=function(e){return t.Message.setRepeatedWrapperField(this,1,e)},proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.addItems=function(e,o){return t.Message.addToRepeatedWrapperField(this,1,e,proto.fonoster.identity.v1beta2.ApiKey,o)},proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.clearItemsList=function(){return this.setItemsList([])},proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.getNextPageToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.setNextPageToken=function(e){return t.Message.setProto3StringField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest;return proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,""),accessKeyId:t.Message.getFieldWithDefault(o,2,""),accessKeySecret:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse;return proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setAccessKeyId(o);break;case 3:o=t.readString();e.setAccessKeySecret(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getAccessKeyId()).length>0&&t.writeString(2,o),(o=e.getAccessKeySecret()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.getAccessKeyId=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.setAccessKeyId=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.getAccessKeySecret=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.setAccessKeySecret=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ApiKey.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ApiKey.toObject(e,this)},proto.fonoster.identity.v1beta2.ApiKey.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,""),accessKeyId:t.Message.getFieldWithDefault(o,2,""),role:t.Message.getFieldWithDefault(o,3,""),expiresAt:t.Message.getFieldWithDefault(o,4,0),createdAt:t.Message.getFieldWithDefault(o,5,0),updatedAt:t.Message.getFieldWithDefault(o,6,0)};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ApiKey.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ApiKey;return proto.fonoster.identity.v1beta2.ApiKey.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ApiKey.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setAccessKeyId(o);break;case 3:o=t.readString();e.setRole(o);break;case 4:o=t.readInt32();e.setExpiresAt(o);break;case 5:o=t.readInt64();e.setCreatedAt(o);break;case 6:o=t.readInt64();e.setUpdatedAt(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ApiKey.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ApiKey.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ApiKey.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getAccessKeyId()).length>0&&t.writeString(2,o),(o=e.getRole()).length>0&&t.writeString(3,o),0!==(o=e.getExpiresAt())&&t.writeInt32(4,o),0!==(o=e.getCreatedAt())&&t.writeInt64(5,o),0!==(o=e.getUpdatedAt())&&t.writeInt64(6,o)},proto.fonoster.identity.v1beta2.ApiKey.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ApiKey.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ApiKey.prototype.getAccessKeyId=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ApiKey.prototype.setAccessKeyId=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.ApiKey.prototype.getRole=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.ApiKey.prototype.setRole=function(e){return t.Message.setProto3StringField(this,3,e)},proto.fonoster.identity.v1beta2.ApiKey.prototype.getExpiresAt=function(){return t.Message.getFieldWithDefault(this,4,0)},proto.fonoster.identity.v1beta2.ApiKey.prototype.setExpiresAt=function(e){return t.Message.setProto3IntField(this,4,e)},proto.fonoster.identity.v1beta2.ApiKey.prototype.getCreatedAt=function(){return t.Message.getFieldWithDefault(this,5,0)},proto.fonoster.identity.v1beta2.ApiKey.prototype.setCreatedAt=function(e){return t.Message.setProto3IntField(this,5,e)},proto.fonoster.identity.v1beta2.ApiKey.prototype.getUpdatedAt=function(){return t.Message.getFieldWithDefault(this,6,0)},proto.fonoster.identity.v1beta2.ApiKey.prototype.setUpdatedAt=function(e){return t.Message.setProto3IntField(this,6,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.toObject=function(e,o){var r={username:t.Message.getFieldWithDefault(o,1,""),password:t.Message.getFieldWithDefault(o,2,""),ephemeralCode:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest;return proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setUsername(o);break;case 2:o=t.readString();e.setPassword(o);break;case 3:o=t.readString();e.setEphemeralCode(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getUsername()).length>0&&t.writeString(1,o),(o=e.getPassword()).length>0&&t.writeString(2,o),(o=e.getEphemeralCode()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.getUsername=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.setUsername=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.getPassword=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.setPassword=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.getEphemeralCode=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.setEphemeralCode=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.toObject=function(e,o){var r={idToken:t.Message.getFieldWithDefault(o,1,""),accessToken:t.Message.getFieldWithDefault(o,2,""),refreshToken:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse;return proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setIdToken(o);break;case 2:o=t.readString();e.setAccessToken(o);break;case 3:o=t.readString();e.setRefreshToken(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getIdToken()).length>0&&t.writeString(1,o),(o=e.getAccessToken()).length>0&&t.writeString(2,o),(o=e.getRefreshToken()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.getIdToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.setIdToken=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.getAccessToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.setAccessToken=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.getRefreshToken=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.setRefreshToken=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.toObject=function(e,o){var r={accessKeyId:t.Message.getFieldWithDefault(o,1,""),accessKeySecret:t.Message.getFieldWithDefault(o,2,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest;return proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setAccessKeyId(o);break;case 2:o=t.readString();e.setAccessKeySecret(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getAccessKeyId()).length>0&&t.writeString(1,o),(o=e.getAccessKeySecret()).length>0&&t.writeString(2,o)},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.prototype.getAccessKeyId=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.prototype.setAccessKeyId=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.prototype.getAccessKeySecret=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.prototype.setAccessKeySecret=function(e){return t.Message.setProto3StringField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.toObject=function(e,o){var r={idToken:t.Message.getFieldWithDefault(o,1,""),accessToken:t.Message.getFieldWithDefault(o,2,""),refreshToken:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse;return proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setIdToken(o);break;case 2:o=t.readString();e.setAccessToken(o);break;case 3:o=t.readString();e.setRefreshToken(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getIdToken()).length>0&&t.writeString(1,o),(o=e.getAccessToken()).length>0&&t.writeString(2,o),(o=e.getRefreshToken()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.getIdToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.setIdToken=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.getAccessToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.setAccessToken=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.getRefreshToken=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.setRefreshToken=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.toObject=function(e,o){var r={code:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest;return proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setCode(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getCode()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.prototype.getCode=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.prototype.setCode=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.toObject=function(e,o){var r={idToken:t.Message.getFieldWithDefault(o,1,""),accessToken:t.Message.getFieldWithDefault(o,2,""),refreshToken:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse;return proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setIdToken(o);break;case 2:o=t.readString();e.setAccessToken(o);break;case 3:o=t.readString();e.setRefreshToken(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getIdToken()).length>0&&t.writeString(1,o),(o=e.getAccessToken()).length>0&&t.writeString(2,o),(o=e.getRefreshToken()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.getIdToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.setIdToken=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.getAccessToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.setAccessToken=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.getRefreshToken=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.setRefreshToken=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.toObject=function(e,o){var r={refreshToken:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest;return proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRefreshToken(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRefreshToken()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.prototype.getRefreshToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.prototype.setRefreshToken=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.toObject=function(e,o){var r={idToken:t.Message.getFieldWithDefault(o,1,""),accessToken:t.Message.getFieldWithDefault(o,2,""),refreshToken:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse;return proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setIdToken(o);break;case 2:o=t.readString();e.setAccessToken(o);break;case 3:o=t.readString();e.setRefreshToken(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getIdToken()).length>0&&t.writeString(1,o),(o=e.getAccessToken()).length>0&&t.writeString(2,o),(o=e.getRefreshToken()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.getIdToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.setIdToken=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.getAccessToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.setAccessToken=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.getRefreshToken=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.setRefreshToken=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.RevokeTokenRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.RevokeTokenRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.RevokeTokenRequest.toObject=function(e,o){var r={token:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.RevokeTokenRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.RevokeTokenRequest;return proto.fonoster.identity.v1beta2.RevokeTokenRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.RevokeTokenRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setToken(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.RevokeTokenRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.RevokeTokenRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.RevokeTokenRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getToken()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.RevokeTokenRequest.prototype.getToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.RevokeTokenRequest.prototype.setToken=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.RevokeTokenResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.RevokeTokenResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.RevokeTokenResponse.toObject=function(e,o){var r={token:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.RevokeTokenResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.RevokeTokenResponse;return proto.fonoster.identity.v1beta2.RevokeTokenResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.RevokeTokenResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setToken(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.RevokeTokenResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.RevokeTokenResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.RevokeTokenResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getToken()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.RevokeTokenResponse.prototype.getToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.RevokeTokenResponse.prototype.setToken=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.GetPublicKeyResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.GetPublicKeyResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.GetPublicKeyResponse.toObject=function(e,o){var r={publicKey:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.GetPublicKeyResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.GetPublicKeyResponse;return proto.fonoster.identity.v1beta2.GetPublicKeyResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.GetPublicKeyResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setPublicKey(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.GetPublicKeyResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.GetPublicKeyResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.GetPublicKeyResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getPublicKey()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.GetPublicKeyResponse.prototype.getPublicKey=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.GetPublicKeyResponse.prototype.setPublicKey=function(e){return t.Message.setProto3StringField(this,1,e)},o.object.extend(e,proto.fonoster.identity.v1beta2)}(lo);class uo{constructor(e,t,o){this.methodDescriptorCreateWorkspace=new ro("/fonoster.identity.v1beta2.Identity/CreateWorkspace",no,lo.CreateWorkspaceRequest,lo.CreateWorkspaceResponse,(e=>e.serializeBinary()),lo.CreateWorkspaceResponse.deserializeBinary),this.methodDescriptorDeleteWorkspace=new ro("/fonoster.identity.v1beta2.Identity/DeleteWorkspace",no,lo.DeleteWorkspaceRequest,lo.DeleteWorkspaceResponse,(e=>e.serializeBinary()),lo.DeleteWorkspaceResponse.deserializeBinary),this.methodDescriptorGetWorkspace=new ro("/fonoster.identity.v1beta2.Identity/GetWorkspace",no,lo.GetWorkspaceRequest,lo.Workspace,(e=>e.serializeBinary()),lo.Workspace.deserializeBinary),this.methodDescriptorListWorkspaces=new ro("/fonoster.identity.v1beta2.Identity/ListWorkspaces",no,lo.ListWorkspacesRequest,lo.ListWorkspacesResponse,(e=>e.serializeBinary()),lo.ListWorkspacesResponse.deserializeBinary),this.methodDescriptorUpdateWorkspace=new ro("/fonoster.identity.v1beta2.Identity/UpdateWorkspace",no,lo.UpdateWorkspaceRequest,lo.UpdateWorkspaceResponse,(e=>e.serializeBinary()),lo.UpdateWorkspaceResponse.deserializeBinary),this.methodDescriptorInviteUserToWorkspace=new ro("/fonoster.identity.v1beta2.Identity/InviteUserToWorkspace",no,lo.InviteUserToWorkspaceRequest,lo.InviteUserToWorkspaceResponse,(e=>e.serializeBinary()),lo.InviteUserToWorkspaceResponse.deserializeBinary),this.methodDescriptorRemoveUserFromWorkspace=new ro("/fonoster.identity.v1beta2.Identity/RemoveUserFromWorkspace",no,lo.RemoveUserFromWorkspaceRequest,lo.RemoveUserFromWorkspaceResponse,(e=>e.serializeBinary()),lo.RemoveUserFromWorkspaceResponse.deserializeBinary),this.methodDescriptorResendWorkspaceMembershipInvitation=new ro("/fonoster.identity.v1beta2.Identity/ResendWorkspaceMembershipInvitation",no,lo.ResendWorkspaceMembershipInvitationRequest,lo.ResendWorkspaceMembershipInvitationResponse,(e=>e.serializeBinary()),lo.ResendWorkspaceMembershipInvitationResponse.deserializeBinary),this.methodDescriptorCreateUser=new ro("/fonoster.identity.v1beta2.Identity/CreateUser",no,lo.CreateUserRequest,lo.CreateUserResponse,(e=>e.serializeBinary()),lo.CreateUserResponse.deserializeBinary),this.methodDescriptorGetUser=new ro("/fonoster.identity.v1beta2.Identity/GetUser",no,lo.GetUserRequest,lo.GetUserResponse,(e=>e.serializeBinary()),lo.GetUserResponse.deserializeBinary),this.methodDescriptorUpdateUser=new ro("/fonoster.identity.v1beta2.Identity/UpdateUser",no,lo.UpdateUserRequest,lo.UpdateUserResponse,(e=>e.serializeBinary()),lo.UpdateUserResponse.deserializeBinary),this.methodDescriptorDeleteUser=new ro("/fonoster.identity.v1beta2.Identity/DeleteUser",no,lo.DeleteUserRequest,lo.DeleteUserResponse,(e=>e.serializeBinary()),lo.DeleteUserResponse.deserializeBinary),this.methodDescriptorCreateApiKey=new ro("/fonoster.identity.v1beta2.Identity/CreateApiKey",no,lo.CreateApiKeyRequest,lo.CreateApiKeyResponse,(e=>e.serializeBinary()),lo.CreateApiKeyResponse.deserializeBinary),this.methodDescriptorDeleteApiKey=new ro("/fonoster.identity.v1beta2.Identity/DeleteApiKey",no,lo.DeleteApiKeyRequest,lo.DeleteApiKeyResponse,(e=>e.serializeBinary()),lo.DeleteApiKeyResponse.deserializeBinary),this.methodDescriptorListApiKeys=new ro("/fonoster.identity.v1beta2.Identity/ListApiKeys",no,lo.ListApiKeysRequest,lo.ListApiKeysResponse,(e=>e.serializeBinary()),lo.ListApiKeysResponse.deserializeBinary),this.methodDescriptorRegenerateApiKey=new ro("/fonoster.identity.v1beta2.Identity/RegenerateApiKey",no,lo.RegenerateApiKeyRequest,lo.RegenerateApiKeyResponse,(e=>e.serializeBinary()),lo.RegenerateApiKeyResponse.deserializeBinary),this.methodDescriptorExchangeCredentials=new ro("/fonoster.identity.v1beta2.Identity/ExchangeCredentials",no,lo.ExchangeCredentialsRequest,lo.ExchangeCredentialsResponse,(e=>e.serializeBinary()),lo.ExchangeCredentialsResponse.deserializeBinary),this.methodDescriptorExchangeApiKey=new ro("/fonoster.identity.v1beta2.Identity/ExchangeApiKey",no,lo.ExchangeApiKeyRequest,lo.ExchangeApiKeyResponse,(e=>e.serializeBinary()),lo.ExchangeApiKeyResponse.deserializeBinary),this.methodDescriptorExchangeOAuth2Code=new ro("/fonoster.identity.v1beta2.Identity/ExchangeOAuth2Code",no,lo.ExchangeOAuth2CodeRequest,lo.ExchangeOAuth2CodeResponse,(e=>e.serializeBinary()),lo.ExchangeOAuth2CodeResponse.deserializeBinary),this.methodDescriptorExchangeRefreshToken=new ro("/fonoster.identity.v1beta2.Identity/ExchangeRefreshToken",no,lo.ExchangeRefreshTokenRequest,lo.ExchangeRefreshTokenResponse,(e=>e.serializeBinary()),lo.ExchangeRefreshTokenResponse.deserializeBinary),this.methodDescriptorRevokeToken=new ro("/fonoster.identity.v1beta2.Identity/RevokeToken",no,lo.RevokeTokenRequest,lo.RevokeTokenResponse,(e=>e.serializeBinary()),lo.RevokeTokenResponse.deserializeBinary),this.methodDescriptorGetPublicKey=new ro("/fonoster.identity.v1beta2.Identity/GetPublicKey",no,l.Empty,lo.GetPublicKeyResponse,(e=>e.serializeBinary()),lo.GetPublicKeyResponse.deserializeBinary),o||(o={}),t||(t={}),o.format="text",this.client_=new io(o),this.hostname_=e.replace(/\/+$/,""),this.credentials_=t,this.options_=o}createWorkspace(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/CreateWorkspace",e,t||{},this.methodDescriptorCreateWorkspace,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/CreateWorkspace",e,t||{},this.methodDescriptorCreateWorkspace)}deleteWorkspace(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/DeleteWorkspace",e,t||{},this.methodDescriptorDeleteWorkspace,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/DeleteWorkspace",e,t||{},this.methodDescriptorDeleteWorkspace)}getWorkspace(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/GetWorkspace",e,t||{},this.methodDescriptorGetWorkspace,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/GetWorkspace",e,t||{},this.methodDescriptorGetWorkspace)}listWorkspaces(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/ListWorkspaces",e,t||{},this.methodDescriptorListWorkspaces,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/ListWorkspaces",e,t||{},this.methodDescriptorListWorkspaces)}updateWorkspace(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/UpdateWorkspace",e,t||{},this.methodDescriptorUpdateWorkspace,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/UpdateWorkspace",e,t||{},this.methodDescriptorUpdateWorkspace)}inviteUserToWorkspace(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/InviteUserToWorkspace",e,t||{},this.methodDescriptorInviteUserToWorkspace,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/InviteUserToWorkspace",e,t||{},this.methodDescriptorInviteUserToWorkspace)}removeUserFromWorkspace(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/RemoveUserFromWorkspace",e,t||{},this.methodDescriptorRemoveUserFromWorkspace,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/RemoveUserFromWorkspace",e,t||{},this.methodDescriptorRemoveUserFromWorkspace)}resendWorkspaceMembershipInvitation(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/ResendWorkspaceMembershipInvitation",e,t||{},this.methodDescriptorResendWorkspaceMembershipInvitation,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/ResendWorkspaceMembershipInvitation",e,t||{},this.methodDescriptorResendWorkspaceMembershipInvitation)}createUser(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/CreateUser",e,t||{},this.methodDescriptorCreateUser,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/CreateUser",e,t||{},this.methodDescriptorCreateUser)}getUser(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/GetUser",e,t||{},this.methodDescriptorGetUser,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/GetUser",e,t||{},this.methodDescriptorGetUser)}updateUser(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/UpdateUser",e,t||{},this.methodDescriptorUpdateUser,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/UpdateUser",e,t||{},this.methodDescriptorUpdateUser)}deleteUser(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/DeleteUser",e,t||{},this.methodDescriptorDeleteUser,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/DeleteUser",e,t||{},this.methodDescriptorDeleteUser)}createApiKey(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/CreateApiKey",e,t||{},this.methodDescriptorCreateApiKey,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/CreateApiKey",e,t||{},this.methodDescriptorCreateApiKey)}deleteApiKey(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/DeleteApiKey",e,t||{},this.methodDescriptorDeleteApiKey,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/DeleteApiKey",e,t||{},this.methodDescriptorDeleteApiKey)}listApiKeys(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/ListApiKeys",e,t||{},this.methodDescriptorListApiKeys,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/ListApiKeys",e,t||{},this.methodDescriptorListApiKeys)}regenerateApiKey(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/RegenerateApiKey",e,t||{},this.methodDescriptorRegenerateApiKey,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/RegenerateApiKey",e,t||{},this.methodDescriptorRegenerateApiKey)}exchangeCredentials(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/ExchangeCredentials",e,t||{},this.methodDescriptorExchangeCredentials,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/ExchangeCredentials",e,t||{},this.methodDescriptorExchangeCredentials)}exchangeApiKey(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/ExchangeApiKey",e,t||{},this.methodDescriptorExchangeApiKey,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/ExchangeApiKey",e,t||{},this.methodDescriptorExchangeApiKey)}exchangeOAuth2Code(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/ExchangeOAuth2Code",e,t||{},this.methodDescriptorExchangeOAuth2Code,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/ExchangeOAuth2Code",e,t||{},this.methodDescriptorExchangeOAuth2Code)}exchangeRefreshToken(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/ExchangeRefreshToken",e,t||{},this.methodDescriptorExchangeRefreshToken,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/ExchangeRefreshToken",e,t||{},this.methodDescriptorExchangeRefreshToken)}revokeToken(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/RevokeToken",e,t||{},this.methodDescriptorRevokeToken,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/RevokeToken",e,t||{},this.methodDescriptorRevokeToken)}getPublicKey(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/GetPublicKey",e,t||{},this.methodDescriptorGetPublicKey,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/GetPublicKey",e,t||{},this.methodDescriptorGetPublicKey)}}const co="https://api.fonoster.io/v1beta2";class fo extends u{constructor(e){const{url:t,accessKeyId:o}=e;super({accessKeyId:o,identityClient:new uo(t||co,null,null)}),this.url=t||co}getMetadata(){return{token:this.getAccessToken(),accessKeyId:this.getAccessKeyId()}}getApplicationsClient(){return new po(this.url,null,{streamInterceptors:[new c(this)]})}getIdentityClient(){return new uo(this.url,null,null)}}var yo={};function go(e){return Object.assign(Object.assign({},e),{textToSpeech:e.textToSpeech?Object.assign(Object.assign({},e.textToSpeech),{config:e.textToSpeech.config?ao.Struct.fromJavaScript(e.textToSpeech.config):void 0}):void 0,speechToText:e.speechToText?Object.assign(Object.assign({},e.speechToText),{config:e.speechToText.config?ao.Struct.fromJavaScript(e.speechToText.config):void 0}):void 0,intelligence:e.intelligence?Object.assign(Object.assign({},e.intelligence),{credentials:e.intelligence.credentials?ao.Struct.fromJavaScript(e.intelligence.credentials):void 0,config:e.intelligence.config?ao.Struct.fromJavaScript(e.intelligence.config):void 0}):void 0})}!function(e){var t=a,o=t,r=function(){return this||window||r||self||Function("return this")()}.call(null),i=ao;o.object.extend(proto,i),o.exportSymbol("proto.fonoster.applications.v1beta2.Application",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.ApplicationType",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.CreateApplicationRequest",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.CreateApplicationResponse",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.DeleteApplicationRequest",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.DeleteApplicationResponse",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.GetApplicationRequest",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.ListApplicationsRequest",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.ListApplicationsResponse",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.ProductContainer",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.UpdateApplicationRequest",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.UpdateApplicationResponse",null,r),proto.fonoster.applications.v1beta2.ProductContainer=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.ProductContainer,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.ProductContainer.displayName="proto.fonoster.applications.v1beta2.ProductContainer"),proto.fonoster.applications.v1beta2.Application=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.Application,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.Application.displayName="proto.fonoster.applications.v1beta2.Application"),proto.fonoster.applications.v1beta2.CreateApplicationRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.CreateApplicationRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.CreateApplicationRequest.displayName="proto.fonoster.applications.v1beta2.CreateApplicationRequest"),proto.fonoster.applications.v1beta2.CreateApplicationResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.CreateApplicationResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.CreateApplicationResponse.displayName="proto.fonoster.applications.v1beta2.CreateApplicationResponse"),proto.fonoster.applications.v1beta2.GetApplicationRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.GetApplicationRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.GetApplicationRequest.displayName="proto.fonoster.applications.v1beta2.GetApplicationRequest"),proto.fonoster.applications.v1beta2.ListApplicationsRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.ListApplicationsRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.ListApplicationsRequest.displayName="proto.fonoster.applications.v1beta2.ListApplicationsRequest"),proto.fonoster.applications.v1beta2.ListApplicationsResponse=function(e){t.Message.initialize(this,e,0,-1,proto.fonoster.applications.v1beta2.ListApplicationsResponse.repeatedFields_,null)},o.inherits(proto.fonoster.applications.v1beta2.ListApplicationsResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.ListApplicationsResponse.displayName="proto.fonoster.applications.v1beta2.ListApplicationsResponse"),proto.fonoster.applications.v1beta2.UpdateApplicationRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.UpdateApplicationRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.UpdateApplicationRequest.displayName="proto.fonoster.applications.v1beta2.UpdateApplicationRequest"),proto.fonoster.applications.v1beta2.UpdateApplicationResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.UpdateApplicationResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.UpdateApplicationResponse.displayName="proto.fonoster.applications.v1beta2.UpdateApplicationResponse"),proto.fonoster.applications.v1beta2.DeleteApplicationRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.DeleteApplicationRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.DeleteApplicationRequest.displayName="proto.fonoster.applications.v1beta2.DeleteApplicationRequest"),proto.fonoster.applications.v1beta2.DeleteApplicationResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.DeleteApplicationResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.DeleteApplicationResponse.displayName="proto.fonoster.applications.v1beta2.DeleteApplicationResponse"),t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.ProductContainer.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,this)},proto.fonoster.applications.v1beta2.ProductContainer.toObject=function(e,o){var r,n={productRef:t.Message.getFieldWithDefault(o,1,""),config:(r=o.getConfig())&&i.Struct.toObject(e,r),credentials:(r=o.getCredentials())&&i.Struct.toObject(e,r)};return e&&(n.$jspbMessageInstance=o),n}),proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.ProductContainer;return proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setProductRef(o);break;case 2:o=new i.Struct;t.readMessage(o,i.Struct.deserializeBinaryFromReader),e.setConfig(o);break;case 3:o=new i.Struct;t.readMessage(o,i.Struct.deserializeBinaryFromReader),e.setCredentials(o);break;default:t.skipField()}}return e},proto.fonoster.applications.v1beta2.ProductContainer.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getProductRef()).length>0&&t.writeString(1,o),null!=(o=e.getConfig())&&t.writeMessage(2,o,i.Struct.serializeBinaryToWriter),null!=(o=e.getCredentials())&&t.writeMessage(3,o,i.Struct.serializeBinaryToWriter)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.getProductRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.ProductContainer.prototype.setProductRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.getConfig=function(){return t.Message.getWrapperField(this,i.Struct,2)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.setConfig=function(e){return t.Message.setWrapperField(this,2,e)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.clearConfig=function(){return this.setConfig(void 0)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.hasConfig=function(){return null!=t.Message.getField(this,2)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.getCredentials=function(){return t.Message.getWrapperField(this,i.Struct,3)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.setCredentials=function(e){return t.Message.setWrapperField(this,3,e)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.clearCredentials=function(){return this.setCredentials(void 0)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.hasCredentials=function(){return null!=t.Message.getField(this,3)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.Application.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.Application.toObject(e,this)},proto.fonoster.applications.v1beta2.Application.toObject=function(e,o){var r,i={ref:t.Message.getFieldWithDefault(o,1,""),name:t.Message.getFieldWithDefault(o,2,""),type:t.Message.getFieldWithDefault(o,3,0),appEndpoint:t.Message.getFieldWithDefault(o,4,""),textToSpeech:(r=o.getTextToSpeech())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r),speechToText:(r=o.getSpeechToText())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r),conversation:(r=o.getConversation())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r),createdAt:t.Message.getFieldWithDefault(o,8,0),updatedAt:t.Message.getFieldWithDefault(o,9,0)};return e&&(i.$jspbMessageInstance=o),i}),proto.fonoster.applications.v1beta2.Application.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.Application;return proto.fonoster.applications.v1beta2.Application.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.Application.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setName(o);break;case 3:o=t.readEnum();e.setType(o);break;case 4:o=t.readString();e.setAppEndpoint(o);break;case 5:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setTextToSpeech(o);break;case 6:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setSpeechToText(o);break;case 7:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setConversation(o);break;case 8:o=t.readInt64();e.setCreatedAt(o);break;case 9:o=t.readInt64();e.setUpdatedAt(o);break;default:t.skipField()}}return e},proto.fonoster.applications.v1beta2.Application.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.Application.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.Application.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getName()).length>0&&t.writeString(2,o),0!==(o=e.getType())&&t.writeEnum(3,o),(o=e.getAppEndpoint()).length>0&&t.writeString(4,o),null!=(o=e.getTextToSpeech())&&t.writeMessage(5,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter),null!=(o=e.getSpeechToText())&&t.writeMessage(6,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter),null!=(o=e.getConversation())&&t.writeMessage(7,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter),0!==(o=e.getCreatedAt())&&t.writeInt64(8,o),0!==(o=e.getUpdatedAt())&&t.writeInt64(9,o)},proto.fonoster.applications.v1beta2.Application.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.Application.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.applications.v1beta2.Application.prototype.getName=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.applications.v1beta2.Application.prototype.setName=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.applications.v1beta2.Application.prototype.getType=function(){return t.Message.getFieldWithDefault(this,3,0)},proto.fonoster.applications.v1beta2.Application.prototype.setType=function(e){return t.Message.setProto3EnumField(this,3,e)},proto.fonoster.applications.v1beta2.Application.prototype.getAppEndpoint=function(){return t.Message.getFieldWithDefault(this,4,"")},proto.fonoster.applications.v1beta2.Application.prototype.setAppEndpoint=function(e){return t.Message.setProto3StringField(this,4,e)},proto.fonoster.applications.v1beta2.Application.prototype.getTextToSpeech=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,5)},proto.fonoster.applications.v1beta2.Application.prototype.setTextToSpeech=function(e){return t.Message.setWrapperField(this,5,e)},proto.fonoster.applications.v1beta2.Application.prototype.clearTextToSpeech=function(){return this.setTextToSpeech(void 0)},proto.fonoster.applications.v1beta2.Application.prototype.hasTextToSpeech=function(){return null!=t.Message.getField(this,5)},proto.fonoster.applications.v1beta2.Application.prototype.getSpeechToText=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,6)},proto.fonoster.applications.v1beta2.Application.prototype.setSpeechToText=function(e){return t.Message.setWrapperField(this,6,e)},proto.fonoster.applications.v1beta2.Application.prototype.clearSpeechToText=function(){return this.setSpeechToText(void 0)},proto.fonoster.applications.v1beta2.Application.prototype.hasSpeechToText=function(){return null!=t.Message.getField(this,6)},proto.fonoster.applications.v1beta2.Application.prototype.getConversation=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,7)},proto.fonoster.applications.v1beta2.Application.prototype.setConversation=function(e){return t.Message.setWrapperField(this,7,e)},proto.fonoster.applications.v1beta2.Application.prototype.clearConversation=function(){return this.setConversation(void 0)},proto.fonoster.applications.v1beta2.Application.prototype.hasConversation=function(){return null!=t.Message.getField(this,7)},proto.fonoster.applications.v1beta2.Application.prototype.getCreatedAt=function(){return t.Message.getFieldWithDefault(this,8,0)},proto.fonoster.applications.v1beta2.Application.prototype.setCreatedAt=function(e){return t.Message.setProto3IntField(this,8,e)},proto.fonoster.applications.v1beta2.Application.prototype.getUpdatedAt=function(){return t.Message.getFieldWithDefault(this,9,0)},proto.fonoster.applications.v1beta2.Application.prototype.setUpdatedAt=function(e){return t.Message.setProto3IntField(this,9,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.CreateApplicationRequest.toObject(e,this)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.toObject=function(e,o){var r,i={name:t.Message.getFieldWithDefault(o,1,""),type:t.Message.getFieldWithDefault(o,2,0),appEndpoint:t.Message.getFieldWithDefault(o,3,""),textToSpeech:(r=o.getTextToSpeech())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r),speechToText:(r=o.getSpeechToText())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r),intelligence:(r=o.getIntelligence())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r)};return e&&(i.$jspbMessageInstance=o),i}),proto.fonoster.applications.v1beta2.CreateApplicationRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.CreateApplicationRequest;return proto.fonoster.applications.v1beta2.CreateApplicationRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setName(o);break;case 2:o=t.readEnum();e.setType(o);break;case 3:o=t.readString();e.setAppEndpoint(o);break;case 4:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setTextToSpeech(o);break;case 5:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setSpeechToText(o);break;case 6:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setIntelligence(o);break;default:t.skipField()}}return e},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.CreateApplicationRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.CreateApplicationRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getName()).length>0&&t.writeString(1,o),0!==(o=e.getType())&&t.writeEnum(2,o),(o=e.getAppEndpoint()).length>0&&t.writeString(3,o),null!=(o=e.getTextToSpeech())&&t.writeMessage(4,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter),null!=(o=e.getSpeechToText())&&t.writeMessage(5,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter),null!=(o=e.getIntelligence())&&t.writeMessage(6,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getName=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setName=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getType=function(){return t.Message.getFieldWithDefault(this,2,0)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setType=function(e){return t.Message.setProto3EnumField(this,2,e)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getAppEndpoint=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setAppEndpoint=function(e){return t.Message.setProto3StringField(this,3,e)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getTextToSpeech=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,4)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setTextToSpeech=function(e){return t.Message.setWrapperField(this,4,e)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearTextToSpeech=function(){return this.setTextToSpeech(void 0)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.hasTextToSpeech=function(){return null!=t.Message.getField(this,4)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getSpeechToText=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,5)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setSpeechToText=function(e){return t.Message.setWrapperField(this,5,e)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearSpeechToText=function(){return this.setSpeechToText(void 0)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.hasSpeechToText=function(){return null!=t.Message.getField(this,5)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getIntelligence=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,6)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setIntelligence=function(e){return t.Message.setWrapperField(this,6,e)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearIntelligence=function(){return this.setIntelligence(void 0)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.hasIntelligence=function(){return null!=t.Message.getField(this,6)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.CreateApplicationResponse.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.CreateApplicationResponse.toObject(e,this)},proto.fonoster.applications.v1beta2.CreateApplicationResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.applications.v1beta2.CreateApplicationResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.CreateApplicationResponse;return proto.fonoster.applications.v1beta2.CreateApplicationResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.CreateApplicationResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.applications.v1beta2.CreateApplicationResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.CreateApplicationResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.CreateApplicationResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.applications.v1beta2.CreateApplicationResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.CreateApplicationResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.GetApplicationRequest.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.GetApplicationRequest.toObject(e,this)},proto.fonoster.applications.v1beta2.GetApplicationRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.applications.v1beta2.GetApplicationRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.GetApplicationRequest;return proto.fonoster.applications.v1beta2.GetApplicationRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.GetApplicationRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.applications.v1beta2.GetApplicationRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.GetApplicationRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.GetApplicationRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.applications.v1beta2.GetApplicationRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.GetApplicationRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.ListApplicationsRequest.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.ListApplicationsRequest.toObject(e,this)},proto.fonoster.applications.v1beta2.ListApplicationsRequest.toObject=function(e,o){var r={pageSize:t.Message.getFieldWithDefault(o,1,0),pageToken:t.Message.getFieldWithDefault(o,2,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.applications.v1beta2.ListApplicationsRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.ListApplicationsRequest;return proto.fonoster.applications.v1beta2.ListApplicationsRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.ListApplicationsRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readInt32();e.setPageSize(o);break;case 2:o=t.readString();e.setPageToken(o);break;default:t.skipField()}}return e},proto.fonoster.applications.v1beta2.ListApplicationsRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.ListApplicationsRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.ListApplicationsRequest.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getPageSize())&&t.writeInt32(1,o),(o=e.getPageToken()).length>0&&t.writeString(2,o)},proto.fonoster.applications.v1beta2.ListApplicationsRequest.prototype.getPageSize=function(){return t.Message.getFieldWithDefault(this,1,0)},proto.fonoster.applications.v1beta2.ListApplicationsRequest.prototype.setPageSize=function(e){return t.Message.setProto3IntField(this,1,e)},proto.fonoster.applications.v1beta2.ListApplicationsRequest.prototype.getPageToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.applications.v1beta2.ListApplicationsRequest.prototype.setPageToken=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.applications.v1beta2.ListApplicationsResponse.repeatedFields_=[1],t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.ListApplicationsResponse.toObject(e,this)},proto.fonoster.applications.v1beta2.ListApplicationsResponse.toObject=function(e,o){var r={itemsList:t.Message.toObjectList(o.getItemsList(),proto.fonoster.applications.v1beta2.Application.toObject,e),nextPageToken:t.Message.getFieldWithDefault(o,2,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.applications.v1beta2.ListApplicationsResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.ListApplicationsResponse;return proto.fonoster.applications.v1beta2.ListApplicationsResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.ListApplicationsResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new proto.fonoster.applications.v1beta2.Application;t.readMessage(o,proto.fonoster.applications.v1beta2.Application.deserializeBinaryFromReader),e.addItems(o);break;case 2:o=t.readString();e.setNextPageToken(o);break;default:t.skipField()}}return e},proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.ListApplicationsResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.ListApplicationsResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getItemsList()).length>0&&t.writeRepeatedMessage(1,o,proto.fonoster.applications.v1beta2.Application.serializeBinaryToWriter),(o=e.getNextPageToken()).length>0&&t.writeString(2,o)},proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.getItemsList=function(){return t.Message.getRepeatedWrapperField(this,proto.fonoster.applications.v1beta2.Application,1)},proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.setItemsList=function(e){return t.Message.setRepeatedWrapperField(this,1,e)},proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.addItems=function(e,o){return t.Message.addToRepeatedWrapperField(this,1,e,proto.fonoster.applications.v1beta2.Application,o)},proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.clearItemsList=function(){return this.setItemsList([])},proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.getNextPageToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.setNextPageToken=function(e){return t.Message.setProto3StringField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.UpdateApplicationRequest.toObject(e,this)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.toObject=function(e,o){var r,i={ref:t.Message.getFieldWithDefault(o,1,""),name:t.Message.getFieldWithDefault(o,2,""),type:t.Message.getFieldWithDefault(o,3,0),appEndpoint:t.Message.getFieldWithDefault(o,4,""),textToSpeech:(r=o.getTextToSpeech())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r),speechToText:(r=o.getSpeechToText())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r),intelligence:(r=o.getIntelligence())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r)};return e&&(i.$jspbMessageInstance=o),i}),proto.fonoster.applications.v1beta2.UpdateApplicationRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.UpdateApplicationRequest;return proto.fonoster.applications.v1beta2.UpdateApplicationRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setName(o);break;case 3:o=t.readEnum();e.setType(o);break;case 4:o=t.readString();e.setAppEndpoint(o);break;case 5:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setTextToSpeech(o);break;case 6:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setSpeechToText(o);break;case 7:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setIntelligence(o);break;default:t.skipField()}}return e},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.UpdateApplicationRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getName()).length>0&&t.writeString(2,o),0!==(o=e.getType())&&t.writeEnum(3,o),(o=e.getAppEndpoint()).length>0&&t.writeString(4,o),null!=(o=e.getTextToSpeech())&&t.writeMessage(5,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter),null!=(o=e.getSpeechToText())&&t.writeMessage(6,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter),null!=(o=e.getIntelligence())&&t.writeMessage(7,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getName=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setName=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getType=function(){return t.Message.getFieldWithDefault(this,3,0)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setType=function(e){return t.Message.setProto3EnumField(this,3,e)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getAppEndpoint=function(){return t.Message.getFieldWithDefault(this,4,"")},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setAppEndpoint=function(e){return t.Message.setProto3StringField(this,4,e)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getTextToSpeech=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,5)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setTextToSpeech=function(e){return t.Message.setWrapperField(this,5,e)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.clearTextToSpeech=function(){return this.setTextToSpeech(void 0)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.hasTextToSpeech=function(){return null!=t.Message.getField(this,5)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getSpeechToText=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,6)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setSpeechToText=function(e){return t.Message.setWrapperField(this,6,e)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.clearSpeechToText=function(){return this.setSpeechToText(void 0)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.hasSpeechToText=function(){return null!=t.Message.getField(this,6)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getIntelligence=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,7)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setIntelligence=function(e){return t.Message.setWrapperField(this,7,e)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.clearIntelligence=function(){return this.setIntelligence(void 0)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.hasIntelligence=function(){return null!=t.Message.getField(this,7)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.UpdateApplicationResponse.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.UpdateApplicationResponse.toObject(e,this)},proto.fonoster.applications.v1beta2.UpdateApplicationResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.applications.v1beta2.UpdateApplicationResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.UpdateApplicationResponse;return proto.fonoster.applications.v1beta2.UpdateApplicationResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.UpdateApplicationResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.applications.v1beta2.UpdateApplicationResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.UpdateApplicationResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.UpdateApplicationResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.applications.v1beta2.UpdateApplicationResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.UpdateApplicationResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.DeleteApplicationRequest.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.DeleteApplicationRequest.toObject(e,this)},proto.fonoster.applications.v1beta2.DeleteApplicationRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.applications.v1beta2.DeleteApplicationRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.DeleteApplicationRequest;return proto.fonoster.applications.v1beta2.DeleteApplicationRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.DeleteApplicationRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.applications.v1beta2.DeleteApplicationRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.DeleteApplicationRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.DeleteApplicationRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.applications.v1beta2.DeleteApplicationRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.DeleteApplicationRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.DeleteApplicationResponse.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.DeleteApplicationResponse.toObject(e,this)},proto.fonoster.applications.v1beta2.DeleteApplicationResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.applications.v1beta2.DeleteApplicationResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.DeleteApplicationResponse;return proto.fonoster.applications.v1beta2.DeleteApplicationResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.DeleteApplicationResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.applications.v1beta2.DeleteApplicationResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.DeleteApplicationResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.DeleteApplicationResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.applications.v1beta2.DeleteApplicationResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.DeleteApplicationResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.applications.v1beta2.ApplicationType={PROGRAMMABLE_VOICE:0},o.object.extend(e,proto.fonoster.applications.v1beta2)}(yo);class ho{constructor(e){this.client=e}createApplication(t){return e(this,void 0,void 0,(function*(){const e=go(t),o=this.client.getApplicationsClient();return yield i({method:o.createApplication.bind(o),requestPBObjectConstructor:yo.CreateApplicationRequest,metadata:this.client.getMetadata(),request:e,enumMapping:[["type",yo.ApplicationType]],objectMapping:[["textToSpeech",yo.ProductContainer],["speechToText",yo.ProductContainer],["intelligence",yo.ProductContainer]]})}))}getApplication(t){return e(this,void 0,void 0,(function*(){const e=this.client.getApplicationsClient();return yield i({method:e.getApplication.bind(e),requestPBObjectConstructor:yo.GetApplicationRequest,metadata:this.client.getMetadata(),request:{ref:t}})}))}updateApplication(t){return e(this,void 0,void 0,(function*(){const e=go(t),o=this.client.getApplicationsClient();return yield i({method:o.updateApplication.bind(o),requestPBObjectConstructor:yo.UpdateApplicationRequest,metadata:this.client.getMetadata(),request:e,enumMapping:[["type",yo.ApplicationType]],objectMapping:[["textToSpeech",yo.ProductContainer],["speechToText",yo.ProductContainer],["intelligence",yo.ProductContainer]]})}))}listApplications(t){return e(this,void 0,void 0,(function*(){const e=this.client.getApplicationsClient();return yield i({method:e.listApplications.bind(e),requestPBObjectConstructor:yo.ListApplicationsRequest,metadata:this.client.getMetadata(),request:t,repeatableObjectMapping:[["itemsList",yo.Application]]})}))}deleteApplication(t){return e(this,void 0,void 0,(function*(){const e=this.client.getApplicationsClient();return yield i({method:e.deleteApplication.bind(e),requestPBObjectConstructor:yo.DeleteApplicationRequest,metadata:this.client.getMetadata(),request:{ref:t}})}))}}export{ho as Applications,fo as WebClient};
|