+ * 怎么从 className|methodDesc 到 id 对应起来?? + * 当id少时,可以id自己来判断是否符合? + * + * 如果是每个 className|methodDesc 为 key ,是否 + *+ * + * @author hengyunabc 2020-04-24 + * + */ +public class SpyImpl extends AbstractSpy { + private static final Logger logger = LoggerFactory.getLogger(SpyImpl.class); + + @Override + public void atEnter(Class> clazz, String methodInfo, Object target, Object[] args) { + ClassLoader classLoader = clazz.getClassLoader(); + + String[] info = StringUtils.splitMethodInfo(methodInfo); + String methodName = info[0]; + String methodDesc = info[1]; + // TODO listener 只用查一次,放到 thread local里保存起来就可以了! + List
Rz$KlnO_H2c< z(XX#lPuW_%H#Q+c&(nRyX1-Ia dKR-%$4FYC0fsCmL9ky3 zKpxyjd^JFR+vg2!=HWf}2Z?@Td`0EG`kU?{8zKrvtsm)|7>pPk9nu@2^z96aU2<#` z2QhvH5w&V;wER?mopu+nqu*n8p~(%Q kwSs&*0eJwa zMXR05`OSFpfyRb! Y_+H@O%Y z0=K^y6B8Gcbl?SA)qMP3Z+=C(?8zL@=74R=EVnE?vY!1BQy2@q*RUgRx4yJ$k}MnL zs!?74QciNb-LcG*&o<9=DSL>1n}ZNd)w1z3-0Pd^4ED1{qd=9|!!N?xnXjM!EuylY z5=!H>&hSofh8V?Jofyd!h`xDI1fYAuV(sZwwN~{$a}MX^=+0TH*SFp$vyxmUv7C*W zv^3Gl0+eTFgBi3FVD;$nhcp)ka*4gSskYIqQ&+M}xP9yLAkWzBI^I%zR^l1e?bW_6 zIn{mo{dD=)9@V?s^fa55jh78rP*Ze<3`tRCN4*mpO$@7a^*2B*7N_|A(Ve2VB|)_o z$=#_=aBkhe(ifX}MLT()@5? OV+~7cXC3r!%{QJxriXo9I%*3q4KT4Xxzyd{ z9;_%=W%q!Vw$Z7F3lUnY+1HZ*lO;4;VR2+i4+D(m#01OYq|L_fbnT;KN<^dkkCwtd zF7n+O7KvAw8c`JUh6LmeIrk4`F3o|AagKSMK3))_5Cv~y2Bb2!Ibg9BO7Vkz?pAYX zoI=B}+$R22&IL`NCYUYjrdhwjnM x_v=-Qcx-jmtN>!Zqf|n1^SWrHy zK|MwJ?Z#^>)rfT5YSY{qjZ&`Fjd;^vv&gF-Yj6$9-Dy$<6zeP4s+78gS2|t%Z309b z0^fp~ue_}i`U9j!<|qF92_3oB09NqgAoehQ`)<)dSfKoJl_A6Ec#*Mx9Cpd-p#$Ez z={AM*r-bQs6*z$!*V A4|QE7bf@-4vb?Q+pPKLkY2{yKsw{&udv_2v8{Dbd zm~8VAv!G~s)`O3|Q6vFUV%8%+?ZSVUa(;fhPNg#vab@J*9XE4#D%)$UU-T5`fwjz! z6&gA^`OGu6aUk{l*h9eB?opVdrHK>Q@U>&JQ_2pR%}TyOXGq_6s56_`U(WoOaAb+K zXQr#6H}>a-GYs9^bG P2Y&hSP5gEtW+GVC4=wy0wQk=~%CSXj=GH6q z-T#s!BV`xZVxm{~jr_ezYRpqqIcXC=Oq`b{lu`Rt(IYr4B91hhVC?yg{ol4WUr3v9 zOAk2LG>CIECZ-WIs0$N}F#eoIUEtZudc7DPYIjzGqDLWk_A4#( LgacooD z2K4IWs@N`Bddm-{%oy}!k0^i6Yh)uJ1S*90>|bm3TOZxcV|ywHUb(+CeX-o1|LTZM zwU>dY3R&U)T(}5#Neh?-CWT~@{6Ke@sI)uSuzoah8COy)w)B)aslJmp`WUcjdia-0 zl2Y}&L~XfA`uYQboAJ1;J{XLhYjH){cObH3FDva+^8ioOQy%Z=xyjGLmWMrzfFoH; zEi3AG`_v+%)&lDJE;iJWJDI@-X9K5O)LD~j*PBe(wu+|%ar~C+LK1+-+lK =t# z+Xc+J7qp~5q=B~rD!x78)?1+KUIbYr^5rcl&tB-cTtj+e%{gpZZ4G~6r15+d|J(ky zjg@@UzMW0k9@S#W(1H{u;Nq(7llJbq;;4t$awM;l&(2s+$l!Ay9^Ge|34CVhr7|BG z?dAR83smef^frq9V(OH+a+ki#q&-7TkWfFM=5bsGbU(8mC;>QTCWL5ydz9s6k@?+V zcjiH`VI=59P-(-DWXZ~5DH>B^_H~;4$)KUhnmGo*G!Tq8^LjfUDO)lASN*=#AY_yS zqW9UX(VOCO&p@kHdUUgsBO0KhXxn1sprK5h8}+>IhX(nSXZKwlNsjk^M|RAaqmCZB zHBol OHYBas@&{PT=R+?d8pZu zUHfyucQ`(umXSW7o?HQ3H21M`ZJal+%*)SH1B1j6rxTlG3hx1IGJN^M7{$j(9V;MZ zRKybgVuxKo#XVM+?*yTy{W+XHaU5Jbt-UG33x{u(N-2wmw;zzPH&4DE103HV@ER86 z|FZEmQb|&1s5#`$4!Cm}&`^{(4V}OP$bk`}v6q6rm;P!H)W|2i^e{7lTk2W@jo_9q z*aw|U7#+g59Fv(5qI`#O-qPj#@_P>PC#I(GSp3DLv7x-dmYK=C7lPF8a)bxb=@)B1 zUZ`EqpXV2dR}B&r`uM}N(TS99ZT0UB%IN|0H%DcVO#T%L_chrgn#m6%x4KE*IMfjX zJ%4veCEqbXZ`H`F_+fELMC@wuy_ch%t*+Z+1I}wN#C+dRrf2X{1C8=yZ_%Pt6wL_~ zZ2NN-hXOT4P4n$QFO7yYHS-4wF1Xfr-meG9Pn;uK51?hfel`d38k{W)F*|gJLT2#T z<~>spMu4(mul-8Q3*pf=N4DcI)zzjqAgbE2eOT7~&f1W3VsdD44Ffe;3mJp-V@8UC z)|qnPc12o~$X-+U@L_lWqv-RtvB~%hLF($%Ew5w>^NR82qC_0F B z)=hP1-OEx?lLi#jnLzH}a;Nvr@JDO-zQWd}#k^an$Kwml;MrD&)sC5b`s0ZkVyPkb zt}-jOq^%_9>YZe7Y}PhW{a)c39G`kg(P4@kxjcYfgB4XOOcmezdUI7j-!gs7oAo2o zx(Ph{G+YZ`a%~kzK!HTAA5NXE-7vOFRr5oqY$rH>WI6SFvWmahFav!CfRMM3%8J&c z*p+%|-fNS_@QrFr(at!JY9jCg9F-%5{nb5Bo~z@Y9m&SHYV`49GAJjA5h~h4(G!Se zZmK{Bo7ivCfvl}@A-ptkFGcWXAzj3xfl{evi-OG(TaCn1FAHxRc{}B|x+Ua1D=I6M z!C^ZIvK6aS_c&(=OQDZfm>O`Nxsw{ta&yiYPA~@e#c%N>>#rq)k6Aru-qD4(D^v)y z*>Rs;YUbD1S8^D(ps6Jbj0K3wJw>L4m)0e(6Pee3Y?gy9i0^bZO?$*sv+xKV?WBlh zAp*;v6w!a8;A7sLB*g-^<$Z4L7|5jXxxP1}hQZ<55f9<^KJ>^mKlWSGaLcO0=$jem zWyZkRwe~u{{tU63DlCaS9$Y4CP4f?+wwa(&1ou)b>72yd rFvm`R j-0`kBJgK@nd(*Eh!(NC{F-@=FnF&Y!q`7){YsLLHf0_B6aHc# z>WIuHTyJwIH{BJ4)2RtEauC7Yq7Cytc|S )4^*t8Va3HR zg=~sN^tp9re@w=GTx$;zOWMjcg-7X3Wk^N$n;&Kf1RgVG2}2L-(0o)54C509C&77i zrjSi{X*WV=%C17((N^6R4Ya*4#6s_L99RtQ>m(%#nQ#wrRC8Y%yxkH;d!MdY+Tw@r zjpSnK`;C-U{ATcgaxoEpP0Gf+tx);buOM lK=01D|J+ROu37qc*rD(w`#O=3*O*w9?biwNoq3WN1`&Wp8TvKj3C z3HR9ssH7a&Vr<6waJrUzdLg!ieYz%U^bmpn%;(V%%ugMk92&?_XX1K@mwnVSE6!&%P%Wdi7_h`CpScvspMx?N zQUR>oadnG17#hNc$pkTp+9 lW+MBKHRZ~7 4XWUryd)4yd zj98$%XmIL4(9OnoeO5Fnyn&fpQ9b0h4e6EHHw*l68j;>(ya`g^S&y2{O8U>1*>4zR zq*WSI_2o$CHQ?x0!wl9bpx|Cm2+kFMR)oMud1%n2=qn5nE&t@Fgr#=Zv2?}wtEz^T z9rrj=?I H*qI5{G@Rn&}^Z{+TW}mQe b9=8b<_a`&Cm#n%n~ zU47MvCBsdXFB1+adOO)03+nczfWa#vwk #r{o{dF)QWya9v2nv43Zp3%Ps}($lA02*_g25t;|T{A5snSY?3A zrRQ~(Ygh_ebltHo1VC bJb*eOAr;4cnlXLvI>*$-#AVsGg6B1r7@;g^L zFlJ_th0vxO7;-opU@WAFe;<}?!2q?RBrFK5U{ *ai@NLKZ^};Ul}beukveh?TQn;$%9=R+DX07m82gP$=}Uo_%&ngV`}Hyv8g{u z3SWzTGV|cwQuFIs7ZDOqO_fGf8Q`8MwL}eUp>q?4eqCmOTcwQuXtQckPy|4F1on8l zP*h>d+cH#XQf|+6c|S{7SF(Lg>bR~l(0uY?O{OEVlaxa5@e%T&xju=o1`=OD#qc16 zSvyH*my(dcp6~VqR;o(#@m44Lug@~_qw+HA=mS#Z^ 4reBy8iV?H~I;{LQWk3aKK8$bLRyt$g?- stringStringMap = 1; +} + +message WatchRequest { + string classPattern = 1; + string methodPattern = 2; + string express = 3; + string conditionExpress = 4; + bool isBefore = 5; + bool isFinish = 6; + bool isException = 7; + bool isSuccess = 8; + int32 expand = 9; + int32 sizeLimit = 10; + bool isRegEx = 11; + int32 numberOfLimit = 12; + string excludeClassPattern = 13; + int64 listenerId = 14; + bool verbose = 15; + int32 maxNumOfMatchedClass = 16; + int64 jobId = 17; +} + +message WatchResponse { + string ts = 1; + double cost = 2; + JavaObject value = 3; + int32 sizeLimit = 4; + string className = 5; + string methodName = 6; + string accessPoint = 7; +} + +message ResponseBody { + int32 jobId = 1; + string type = 2; + int64 resultId = 3; + + oneof data { + StringStringMapValue stringStringMapValue = 4; + string stringValue = 5; + WatchResponse watchResponse = 6; + JavaObject javaObject = 7; + } +} \ No newline at end of file diff --git a/arthas-grpc-web-proxy/ui/src/assets/proto/ArthasServices_grpc_web_pb.js b/arthas-grpc-web-proxy/ui/src/assets/proto/ArthasServices_grpc_web_pb.js new file mode 100644 index 000000000..29b712eb4 --- /dev/null +++ b/arthas-grpc-web-proxy/ui/src/assets/proto/ArthasServices_grpc_web_pb.js @@ -0,0 +1,599 @@ +/** + * @fileoverview gRPC-Web generated client stub for io.arthas.api + * @enhanceable + * @public + */ + +// Code generated by protoc-gen-grpc-web. DO NOT EDIT. +// versions: +// protoc-gen-grpc-web v1.4.1 +// protoc v3.19.1 +// source: ArthasServices.proto + + +/* eslint-disable */ +// @ts-nocheck + + + +const grpc = {}; +grpc.web = require('grpc-web'); + + +var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js') +const proto = {}; +proto.io = {}; +proto.io.arthas = {}; +proto.io.arthas.api = require('./ArthasServices_pb.js'); + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.io.arthas.api.ObjectServiceClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.io.arthas.api.ObjectServicePromiseClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.io.arthas.api.ObjectQuery, + * !proto.io.arthas.api.ObjectQueryResult>} + */ +const methodDescriptor_ObjectService_query = new grpc.web.MethodDescriptor( + '/io.arthas.api.ObjectService/query', + grpc.web.MethodType.UNARY, + proto.io.arthas.api.ObjectQuery, + proto.io.arthas.api.ObjectQueryResult, + /** + * @param {!proto.io.arthas.api.ObjectQuery} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.io.arthas.api.ObjectQueryResult.deserializeBinary +); + + +/** + * @param {!proto.io.arthas.api.ObjectQuery} request The + * request proto + * @param {?Object } metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.io.arthas.api.ObjectQueryResult)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.io.arthas.api.ObjectServiceClient.prototype.query = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/io.arthas.api.ObjectService/query', + request, + metadata || {}, + methodDescriptor_ObjectService_query, + callback); +}; + + +/** + * @param {!proto.io.arthas.api.ObjectQuery} request The + * request proto + * @param {?Object =} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.io.arthas.api.ObjectServicePromiseClient.prototype.query = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/io.arthas.api.ObjectService/query', + request, + metadata || {}, + methodDescriptor_ObjectService_query); +}; + + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.io.arthas.api.SystemPropertyClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.io.arthas.api.SystemPropertyPromiseClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.google.protobuf.Empty, + * !proto.io.arthas.api.ResponseBody>} + */ +const methodDescriptor_SystemProperty_get = new grpc.web.MethodDescriptor( + '/io.arthas.api.SystemProperty/get', + grpc.web.MethodType.UNARY, + google_protobuf_empty_pb.Empty, + proto.io.arthas.api.ResponseBody, + /** + * @param {!proto.google.protobuf.Empty} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.io.arthas.api.ResponseBody.deserializeBinary +); + + +/** + * @param {!proto.google.protobuf.Empty} request The + * request proto + * @param {?Object } metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.io.arthas.api.ResponseBody)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.io.arthas.api.SystemPropertyClient.prototype.get = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/io.arthas.api.SystemProperty/get', + request, + metadata || {}, + methodDescriptor_SystemProperty_get, + callback); +}; + + +/** + * @param {!proto.google.protobuf.Empty} request The + * request proto + * @param {?Object =} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.io.arthas.api.SystemPropertyPromiseClient.prototype.get = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/io.arthas.api.SystemProperty/get', + request, + metadata || {}, + methodDescriptor_SystemProperty_get); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.io.arthas.api.StringKey, + * !proto.io.arthas.api.ResponseBody>} + */ +const methodDescriptor_SystemProperty_getByKey = new grpc.web.MethodDescriptor( + '/io.arthas.api.SystemProperty/getByKey', + grpc.web.MethodType.UNARY, + proto.io.arthas.api.StringKey, + proto.io.arthas.api.ResponseBody, + /** + * @param {!proto.io.arthas.api.StringKey} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.io.arthas.api.ResponseBody.deserializeBinary +); + + +/** + * @param {!proto.io.arthas.api.StringKey} request The + * request proto + * @param {?Object } metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.io.arthas.api.ResponseBody)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.io.arthas.api.SystemPropertyClient.prototype.getByKey = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/io.arthas.api.SystemProperty/getByKey', + request, + metadata || {}, + methodDescriptor_SystemProperty_getByKey, + callback); +}; + + +/** + * @param {!proto.io.arthas.api.StringKey} request The + * request proto + * @param {?Object =} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.io.arthas.api.SystemPropertyPromiseClient.prototype.getByKey = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/io.arthas.api.SystemProperty/getByKey', + request, + metadata || {}, + methodDescriptor_SystemProperty_getByKey); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.io.arthas.api.StringStringMapValue, + * !proto.io.arthas.api.ResponseBody>} + */ +const methodDescriptor_SystemProperty_update = new grpc.web.MethodDescriptor( + '/io.arthas.api.SystemProperty/update', + grpc.web.MethodType.UNARY, + proto.io.arthas.api.StringStringMapValue, + proto.io.arthas.api.ResponseBody, + /** + * @param {!proto.io.arthas.api.StringStringMapValue} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.io.arthas.api.ResponseBody.deserializeBinary +); + + +/** + * @param {!proto.io.arthas.api.StringStringMapValue} request The + * request proto + * @param {?Object } metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.io.arthas.api.ResponseBody)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.io.arthas.api.SystemPropertyClient.prototype.update = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/io.arthas.api.SystemProperty/update', + request, + metadata || {}, + methodDescriptor_SystemProperty_update, + callback); +}; + + +/** + * @param {!proto.io.arthas.api.StringStringMapValue} request The + * request proto + * @param {?Object =} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.io.arthas.api.SystemPropertyPromiseClient.prototype.update = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/io.arthas.api.SystemProperty/update', + request, + metadata || {}, + methodDescriptor_SystemProperty_update); +}; + + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.io.arthas.api.PwdClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.io.arthas.api.PwdPromiseClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.google.protobuf.Empty, + * !proto.io.arthas.api.ResponseBody>} + */ +const methodDescriptor_Pwd_pwd = new grpc.web.MethodDescriptor( + '/io.arthas.api.Pwd/pwd', + grpc.web.MethodType.UNARY, + google_protobuf_empty_pb.Empty, + proto.io.arthas.api.ResponseBody, + /** + * @param {!proto.google.protobuf.Empty} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.io.arthas.api.ResponseBody.deserializeBinary +); + + +/** + * @param {!proto.google.protobuf.Empty} request The + * request proto + * @param {?Object } metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.io.arthas.api.ResponseBody)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.io.arthas.api.PwdClient.prototype.pwd = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/io.arthas.api.Pwd/pwd', + request, + metadata || {}, + methodDescriptor_Pwd_pwd, + callback); +}; + + +/** + * @param {!proto.google.protobuf.Empty} request The + * request proto + * @param {?Object =} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.io.arthas.api.PwdPromiseClient.prototype.pwd = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/io.arthas.api.Pwd/pwd', + request, + metadata || {}, + methodDescriptor_Pwd_pwd); +}; + + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.io.arthas.api.WatchClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.io.arthas.api.WatchPromiseClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.io.arthas.api.WatchRequest, + * !proto.io.arthas.api.ResponseBody>} + */ +const methodDescriptor_Watch_watch = new grpc.web.MethodDescriptor( + '/io.arthas.api.Watch/watch', + grpc.web.MethodType.SERVER_STREAMING, + proto.io.arthas.api.WatchRequest, + proto.io.arthas.api.ResponseBody, + /** + * @param {!proto.io.arthas.api.WatchRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.io.arthas.api.ResponseBody.deserializeBinary +); + + +/** + * @param {!proto.io.arthas.api.WatchRequest} request The request proto + * @param {?Object =} metadata User defined + * call metadata + * @return {!grpc.web.ClientReadableStream} + * The XHR Node Readable Stream + */ +proto.io.arthas.api.WatchClient.prototype.watch = + function(request, metadata) { + return this.client_.serverStreaming(this.hostname_ + + '/io.arthas.api.Watch/watch', + request, + metadata || {}, + methodDescriptor_Watch_watch); +}; + + +/** + * @param {!proto.io.arthas.api.WatchRequest} request The request proto + * @param {?Object =} metadata User defined + * call metadata + * @return {!grpc.web.ClientReadableStream} + * The XHR Node Readable Stream + */ +proto.io.arthas.api.WatchPromiseClient.prototype.watch = + function(request, metadata) { + return this.client_.serverStreaming(this.hostname_ + + '/io.arthas.api.Watch/watch', + request, + metadata || {}, + methodDescriptor_Watch_watch); +}; + + +module.exports = proto.io.arthas.api; + diff --git a/arthas-grpc-web-proxy/ui/src/assets/proto/ArthasServices_pb.js b/arthas-grpc-web-proxy/ui/src/assets/proto/ArthasServices_pb.js new file mode 100644 index 000000000..8da055e35 --- /dev/null +++ b/arthas-grpc-web-proxy/ui/src/assets/proto/ArthasServices_pb.js @@ -0,0 +1,6176 @@ +// source: ArthasServices.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js'); +goog.object.extend(proto, google_protobuf_empty_pb); +goog.exportSymbol('proto.io.arthas.api.ArrayElement', null, global); +goog.exportSymbol('proto.io.arthas.api.ArrayElement.ElementCase', null, global); +goog.exportSymbol('proto.io.arthas.api.ArrayValue', null, global); +goog.exportSymbol('proto.io.arthas.api.BasicValue', null, global); +goog.exportSymbol('proto.io.arthas.api.BasicValue.ValueCase', null, global); +goog.exportSymbol('proto.io.arthas.api.CollectionValue', null, global); +goog.exportSymbol('proto.io.arthas.api.JavaField', null, global); +goog.exportSymbol('proto.io.arthas.api.JavaField.ValueCase', null, global); +goog.exportSymbol('proto.io.arthas.api.JavaFields', null, global); +goog.exportSymbol('proto.io.arthas.api.JavaObject', null, global); +goog.exportSymbol('proto.io.arthas.api.JavaObject.ValueCase', null, global); +goog.exportSymbol('proto.io.arthas.api.MapEntry', null, global); +goog.exportSymbol('proto.io.arthas.api.MapValue', null, global); +goog.exportSymbol('proto.io.arthas.api.NullValue', null, global); +goog.exportSymbol('proto.io.arthas.api.ObjectQuery', null, global); +goog.exportSymbol('proto.io.arthas.api.ObjectQueryResult', null, global); +goog.exportSymbol('proto.io.arthas.api.ObjectRequest', null, global); +goog.exportSymbol('proto.io.arthas.api.ResponseBody', null, global); +goog.exportSymbol('proto.io.arthas.api.ResponseBody.DataCase', null, global); +goog.exportSymbol('proto.io.arthas.api.StringKey', null, global); +goog.exportSymbol('proto.io.arthas.api.StringStringMapValue', null, global); +goog.exportSymbol('proto.io.arthas.api.StringValue', null, global); +goog.exportSymbol('proto.io.arthas.api.UnexpandedObject', null, global); +goog.exportSymbol('proto.io.arthas.api.WatchRequest', null, global); +goog.exportSymbol('proto.io.arthas.api.WatchResponse', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.io.arthas.api.ObjectRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.io.arthas.api.ObjectRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.io.arthas.api.ObjectRequest.displayName = 'proto.io.arthas.api.ObjectRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.io.arthas.api.BasicValue = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.io.arthas.api.BasicValue.oneofGroups_); +}; +goog.inherits(proto.io.arthas.api.BasicValue, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.io.arthas.api.BasicValue.displayName = 'proto.io.arthas.api.BasicValue'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.io.arthas.api.ArrayElement = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.io.arthas.api.ArrayElement.oneofGroups_); +}; +goog.inherits(proto.io.arthas.api.ArrayElement, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.io.arthas.api.ArrayElement.displayName = 'proto.io.arthas.api.ArrayElement'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.io.arthas.api.ArrayValue = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.io.arthas.api.ArrayValue.repeatedFields_, null); +}; +goog.inherits(proto.io.arthas.api.ArrayValue, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.io.arthas.api.ArrayValue.displayName = 'proto.io.arthas.api.ArrayValue'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.io.arthas.api.NullValue = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.io.arthas.api.NullValue, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.io.arthas.api.NullValue.displayName = 'proto.io.arthas.api.NullValue'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.io.arthas.api.UnexpandedObject = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.io.arthas.api.UnexpandedObject, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.io.arthas.api.UnexpandedObject.displayName = 'proto.io.arthas.api.UnexpandedObject'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.io.arthas.api.CollectionValue = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.io.arthas.api.CollectionValue.repeatedFields_, null); +}; +goog.inherits(proto.io.arthas.api.CollectionValue, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.io.arthas.api.CollectionValue.displayName = 'proto.io.arthas.api.CollectionValue'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.io.arthas.api.MapEntry = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.io.arthas.api.MapEntry, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.io.arthas.api.MapEntry.displayName = 'proto.io.arthas.api.MapEntry'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.io.arthas.api.MapValue = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.io.arthas.api.MapValue.repeatedFields_, null); +}; +goog.inherits(proto.io.arthas.api.MapValue, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.io.arthas.api.MapValue.displayName = 'proto.io.arthas.api.MapValue'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.io.arthas.api.JavaField = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.io.arthas.api.JavaField.oneofGroups_); +}; +goog.inherits(proto.io.arthas.api.JavaField, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.io.arthas.api.JavaField.displayName = 'proto.io.arthas.api.JavaField'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.io.arthas.api.JavaFields = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.io.arthas.api.JavaFields.repeatedFields_, null); +}; +goog.inherits(proto.io.arthas.api.JavaFields, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.io.arthas.api.JavaFields.displayName = 'proto.io.arthas.api.JavaFields'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.io.arthas.api.JavaObject = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.io.arthas.api.JavaObject.oneofGroups_); +}; +goog.inherits(proto.io.arthas.api.JavaObject, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.io.arthas.api.JavaObject.displayName = 'proto.io.arthas.api.JavaObject'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.io.arthas.api.ObjectQuery = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.io.arthas.api.ObjectQuery, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.io.arthas.api.ObjectQuery.displayName = 'proto.io.arthas.api.ObjectQuery'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.io.arthas.api.ObjectQueryResult = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.io.arthas.api.ObjectQueryResult.repeatedFields_, null); +}; +goog.inherits(proto.io.arthas.api.ObjectQueryResult, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.io.arthas.api.ObjectQueryResult.displayName = 'proto.io.arthas.api.ObjectQueryResult'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.io.arthas.api.StringKey = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.io.arthas.api.StringKey, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.io.arthas.api.StringKey.displayName = 'proto.io.arthas.api.StringKey'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.io.arthas.api.StringValue = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.io.arthas.api.StringValue, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.io.arthas.api.StringValue.displayName = 'proto.io.arthas.api.StringValue'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.io.arthas.api.StringStringMapValue = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.io.arthas.api.StringStringMapValue, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.io.arthas.api.StringStringMapValue.displayName = 'proto.io.arthas.api.StringStringMapValue'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.io.arthas.api.WatchRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.io.arthas.api.WatchRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.io.arthas.api.WatchRequest.displayName = 'proto.io.arthas.api.WatchRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.io.arthas.api.WatchResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.io.arthas.api.WatchResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.io.arthas.api.WatchResponse.displayName = 'proto.io.arthas.api.WatchResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.io.arthas.api.ResponseBody = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.io.arthas.api.ResponseBody.oneofGroups_); +}; +goog.inherits(proto.io.arthas.api.ResponseBody, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.io.arthas.api.ResponseBody.displayName = 'proto.io.arthas.api.ResponseBody'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_ , eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.io.arthas.api.ObjectRequest.prototype.toObject = function(opt_includeInstance) { + return proto.io.arthas.api.ObjectRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.io.arthas.api.ObjectRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.ObjectRequest.toObject = function(includeInstance, msg) { + var f, obj = { + jobid: jspb.Message.getFieldWithDefault(msg, 1, 0), + resultid: jspb.Message.getFieldWithDefault(msg, 2, 0), + type: jspb.Message.getFieldWithDefault(msg, 3, ""), + express: jspb.Message.getFieldWithDefault(msg, 4, ""), + expand: jspb.Message.getFieldWithDefault(msg, 5, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.io.arthas.api.ObjectRequest} + */ +proto.io.arthas.api.ObjectRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.io.arthas.api.ObjectRequest; + return proto.io.arthas.api.ObjectRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.io.arthas.api.ObjectRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.io.arthas.api.ObjectRequest} + */ +proto.io.arthas.api.ObjectRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setJobid(value); + break; + case 2: + var value = /** @type {number} */ (reader.readInt64()); + msg.setResultid(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setType(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setExpress(value); + break; + case 5: + var value = /** @type {number} */ (reader.readInt32()); + msg.setExpand(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.io.arthas.api.ObjectRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.io.arthas.api.ObjectRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.io.arthas.api.ObjectRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.ObjectRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getJobid(); + if (f !== 0) { + writer.writeInt32( + 1, + f + ); + } + f = message.getResultid(); + if (f !== 0) { + writer.writeInt64( + 2, + f + ); + } + f = message.getType(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getExpress(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getExpand(); + if (f !== 0) { + writer.writeInt32( + 5, + f + ); + } +}; + + +/** + * optional int32 jobId = 1; + * @return {number} + */ +proto.io.arthas.api.ObjectRequest.prototype.getJobid = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.io.arthas.api.ObjectRequest} returns this + */ +proto.io.arthas.api.ObjectRequest.prototype.setJobid = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional int64 resultId = 2; + * @return {number} + */ +proto.io.arthas.api.ObjectRequest.prototype.getResultid = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.io.arthas.api.ObjectRequest} returns this + */ +proto.io.arthas.api.ObjectRequest.prototype.setResultid = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional string type = 3; + * @return {string} + */ +proto.io.arthas.api.ObjectRequest.prototype.getType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.ObjectRequest} returns this + */ +proto.io.arthas.api.ObjectRequest.prototype.setType = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string express = 4; + * @return {string} + */ +proto.io.arthas.api.ObjectRequest.prototype.getExpress = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.ObjectRequest} returns this + */ +proto.io.arthas.api.ObjectRequest.prototype.setExpress = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * optional int32 expand = 5; + * @return {number} + */ +proto.io.arthas.api.ObjectRequest.prototype.getExpand = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.io.arthas.api.ObjectRequest} returns this + */ +proto.io.arthas.api.ObjectRequest.prototype.setExpand = function(value) { + return jspb.Message.setProto3IntField(this, 5, value); +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.io.arthas.api.BasicValue.oneofGroups_ = [[1,2,3,4,5,6]]; + +/** + * @enum {number} + */ +proto.io.arthas.api.BasicValue.ValueCase = { + VALUE_NOT_SET: 0, + INT: 1, + LONG: 2, + FLOAT: 3, + DOUBLE: 4, + BOOLEAN: 5, + STRING: 6 +}; + +/** + * @return {proto.io.arthas.api.BasicValue.ValueCase} + */ +proto.io.arthas.api.BasicValue.prototype.getValueCase = function() { + return /** @type {proto.io.arthas.api.BasicValue.ValueCase} */(jspb.Message.computeOneofCase(this, proto.io.arthas.api.BasicValue.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_ , eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.io.arthas.api.BasicValue.prototype.toObject = function(opt_includeInstance) { + return proto.io.arthas.api.BasicValue.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.io.arthas.api.BasicValue} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.BasicValue.toObject = function(includeInstance, msg) { + var f, obj = { + pb_int: jspb.Message.getFieldWithDefault(msg, 1, 0), + pb_long: jspb.Message.getFieldWithDefault(msg, 2, 0), + pb_float: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + pb_double: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0), + pb_boolean: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), + string: jspb.Message.getFieldWithDefault(msg, 6, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.io.arthas.api.BasicValue} + */ +proto.io.arthas.api.BasicValue.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.io.arthas.api.BasicValue; + return proto.io.arthas.api.BasicValue.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.io.arthas.api.BasicValue} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.io.arthas.api.BasicValue} + */ +proto.io.arthas.api.BasicValue.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setInt(value); + break; + case 2: + var value = /** @type {number} */ (reader.readInt64()); + msg.setLong(value); + break; + case 3: + var value = /** @type {number} */ (reader.readFloat()); + msg.setFloat(value); + break; + case 4: + var value = /** @type {number} */ (reader.readDouble()); + msg.setDouble(value); + break; + case 5: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setBoolean(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setString(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.io.arthas.api.BasicValue.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.io.arthas.api.BasicValue.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.io.arthas.api.BasicValue} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.BasicValue.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {number} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeInt32( + 1, + f + ); + } + f = /** @type {number} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeInt64( + 2, + f + ); + } + f = /** @type {number} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeFloat( + 3, + f + ); + } + f = /** @type {number} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeDouble( + 4, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeBool( + 5, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeString( + 6, + f + ); + } +}; + + +/** + * optional int32 int = 1; + * @return {number} + */ +proto.io.arthas.api.BasicValue.prototype.getInt = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.io.arthas.api.BasicValue} returns this + */ +proto.io.arthas.api.BasicValue.prototype.setInt = function(value) { + return jspb.Message.setOneofField(this, 1, proto.io.arthas.api.BasicValue.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.io.arthas.api.BasicValue} returns this + */ +proto.io.arthas.api.BasicValue.prototype.clearInt = function() { + return jspb.Message.setOneofField(this, 1, proto.io.arthas.api.BasicValue.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.BasicValue.prototype.hasInt = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional int64 long = 2; + * @return {number} + */ +proto.io.arthas.api.BasicValue.prototype.getLong = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.io.arthas.api.BasicValue} returns this + */ +proto.io.arthas.api.BasicValue.prototype.setLong = function(value) { + return jspb.Message.setOneofField(this, 2, proto.io.arthas.api.BasicValue.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.io.arthas.api.BasicValue} returns this + */ +proto.io.arthas.api.BasicValue.prototype.clearLong = function() { + return jspb.Message.setOneofField(this, 2, proto.io.arthas.api.BasicValue.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.BasicValue.prototype.hasLong = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional float float = 3; + * @return {number} + */ +proto.io.arthas.api.BasicValue.prototype.getFloat = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.io.arthas.api.BasicValue} returns this + */ +proto.io.arthas.api.BasicValue.prototype.setFloat = function(value) { + return jspb.Message.setOneofField(this, 3, proto.io.arthas.api.BasicValue.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.io.arthas.api.BasicValue} returns this + */ +proto.io.arthas.api.BasicValue.prototype.clearFloat = function() { + return jspb.Message.setOneofField(this, 3, proto.io.arthas.api.BasicValue.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.BasicValue.prototype.hasFloat = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional double double = 4; + * @return {number} + */ +proto.io.arthas.api.BasicValue.prototype.getDouble = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.io.arthas.api.BasicValue} returns this + */ +proto.io.arthas.api.BasicValue.prototype.setDouble = function(value) { + return jspb.Message.setOneofField(this, 4, proto.io.arthas.api.BasicValue.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.io.arthas.api.BasicValue} returns this + */ +proto.io.arthas.api.BasicValue.prototype.clearDouble = function() { + return jspb.Message.setOneofField(this, 4, proto.io.arthas.api.BasicValue.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.BasicValue.prototype.hasDouble = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional bool boolean = 5; + * @return {boolean} + */ +proto.io.arthas.api.BasicValue.prototype.getBoolean = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.io.arthas.api.BasicValue} returns this + */ +proto.io.arthas.api.BasicValue.prototype.setBoolean = function(value) { + return jspb.Message.setOneofField(this, 5, proto.io.arthas.api.BasicValue.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.io.arthas.api.BasicValue} returns this + */ +proto.io.arthas.api.BasicValue.prototype.clearBoolean = function() { + return jspb.Message.setOneofField(this, 5, proto.io.arthas.api.BasicValue.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.BasicValue.prototype.hasBoolean = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string string = 6; + * @return {string} + */ +proto.io.arthas.api.BasicValue.prototype.getString = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.BasicValue} returns this + */ +proto.io.arthas.api.BasicValue.prototype.setString = function(value) { + return jspb.Message.setOneofField(this, 6, proto.io.arthas.api.BasicValue.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.io.arthas.api.BasicValue} returns this + */ +proto.io.arthas.api.BasicValue.prototype.clearString = function() { + return jspb.Message.setOneofField(this, 6, proto.io.arthas.api.BasicValue.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.BasicValue.prototype.hasString = function() { + return jspb.Message.getField(this, 6) != null; +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.io.arthas.api.ArrayElement.oneofGroups_ = [[1,2,3,4,5]]; + +/** + * @enum {number} + */ +proto.io.arthas.api.ArrayElement.ElementCase = { + ELEMENT_NOT_SET: 0, + BASICVALUE: 1, + OBJECTVALUE: 2, + ARRAYVALUE: 3, + NULLVALUE: 4, + UNEXPANDEDOBJECT: 5 +}; + +/** + * @return {proto.io.arthas.api.ArrayElement.ElementCase} + */ +proto.io.arthas.api.ArrayElement.prototype.getElementCase = function() { + return /** @type {proto.io.arthas.api.ArrayElement.ElementCase} */(jspb.Message.computeOneofCase(this, proto.io.arthas.api.ArrayElement.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_ , eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.io.arthas.api.ArrayElement.prototype.toObject = function(opt_includeInstance) { + return proto.io.arthas.api.ArrayElement.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.io.arthas.api.ArrayElement} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.ArrayElement.toObject = function(includeInstance, msg) { + var f, obj = { + basicvalue: (f = msg.getBasicvalue()) && proto.io.arthas.api.BasicValue.toObject(includeInstance, f), + objectvalue: (f = msg.getObjectvalue()) && proto.io.arthas.api.JavaObject.toObject(includeInstance, f), + arrayvalue: (f = msg.getArrayvalue()) && proto.io.arthas.api.ArrayValue.toObject(includeInstance, f), + nullvalue: (f = msg.getNullvalue()) && proto.io.arthas.api.NullValue.toObject(includeInstance, f), + unexpandedobject: (f = msg.getUnexpandedobject()) && proto.io.arthas.api.UnexpandedObject.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.io.arthas.api.ArrayElement} + */ +proto.io.arthas.api.ArrayElement.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.io.arthas.api.ArrayElement; + return proto.io.arthas.api.ArrayElement.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.io.arthas.api.ArrayElement} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.io.arthas.api.ArrayElement} + */ +proto.io.arthas.api.ArrayElement.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.io.arthas.api.BasicValue; + reader.readMessage(value,proto.io.arthas.api.BasicValue.deserializeBinaryFromReader); + msg.setBasicvalue(value); + break; + case 2: + var value = new proto.io.arthas.api.JavaObject; + reader.readMessage(value,proto.io.arthas.api.JavaObject.deserializeBinaryFromReader); + msg.setObjectvalue(value); + break; + case 3: + var value = new proto.io.arthas.api.ArrayValue; + reader.readMessage(value,proto.io.arthas.api.ArrayValue.deserializeBinaryFromReader); + msg.setArrayvalue(value); + break; + case 4: + var value = new proto.io.arthas.api.NullValue; + reader.readMessage(value,proto.io.arthas.api.NullValue.deserializeBinaryFromReader); + msg.setNullvalue(value); + break; + case 5: + var value = new proto.io.arthas.api.UnexpandedObject; + reader.readMessage(value,proto.io.arthas.api.UnexpandedObject.deserializeBinaryFromReader); + msg.setUnexpandedobject(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.io.arthas.api.ArrayElement.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.io.arthas.api.ArrayElement.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.io.arthas.api.ArrayElement} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.ArrayElement.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getBasicvalue(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.io.arthas.api.BasicValue.serializeBinaryToWriter + ); + } + f = message.getObjectvalue(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.io.arthas.api.JavaObject.serializeBinaryToWriter + ); + } + f = message.getArrayvalue(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.io.arthas.api.ArrayValue.serializeBinaryToWriter + ); + } + f = message.getNullvalue(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.io.arthas.api.NullValue.serializeBinaryToWriter + ); + } + f = message.getUnexpandedobject(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.io.arthas.api.UnexpandedObject.serializeBinaryToWriter + ); + } +}; + + +/** + * optional BasicValue basicValue = 1; + * @return {?proto.io.arthas.api.BasicValue} + */ +proto.io.arthas.api.ArrayElement.prototype.getBasicvalue = function() { + return /** @type{?proto.io.arthas.api.BasicValue} */ ( + jspb.Message.getWrapperField(this, proto.io.arthas.api.BasicValue, 1)); +}; + + +/** + * @param {?proto.io.arthas.api.BasicValue|undefined} value + * @return {!proto.io.arthas.api.ArrayElement} returns this +*/ +proto.io.arthas.api.ArrayElement.prototype.setBasicvalue = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.io.arthas.api.ArrayElement.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.io.arthas.api.ArrayElement} returns this + */ +proto.io.arthas.api.ArrayElement.prototype.clearBasicvalue = function() { + return this.setBasicvalue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.ArrayElement.prototype.hasBasicvalue = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional JavaObject objectValue = 2; + * @return {?proto.io.arthas.api.JavaObject} + */ +proto.io.arthas.api.ArrayElement.prototype.getObjectvalue = function() { + return /** @type{?proto.io.arthas.api.JavaObject} */ ( + jspb.Message.getWrapperField(this, proto.io.arthas.api.JavaObject, 2)); +}; + + +/** + * @param {?proto.io.arthas.api.JavaObject|undefined} value + * @return {!proto.io.arthas.api.ArrayElement} returns this +*/ +proto.io.arthas.api.ArrayElement.prototype.setObjectvalue = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.io.arthas.api.ArrayElement.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.io.arthas.api.ArrayElement} returns this + */ +proto.io.arthas.api.ArrayElement.prototype.clearObjectvalue = function() { + return this.setObjectvalue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.ArrayElement.prototype.hasObjectvalue = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional ArrayValue arrayValue = 3; + * @return {?proto.io.arthas.api.ArrayValue} + */ +proto.io.arthas.api.ArrayElement.prototype.getArrayvalue = function() { + return /** @type{?proto.io.arthas.api.ArrayValue} */ ( + jspb.Message.getWrapperField(this, proto.io.arthas.api.ArrayValue, 3)); +}; + + +/** + * @param {?proto.io.arthas.api.ArrayValue|undefined} value + * @return {!proto.io.arthas.api.ArrayElement} returns this +*/ +proto.io.arthas.api.ArrayElement.prototype.setArrayvalue = function(value) { + return jspb.Message.setOneofWrapperField(this, 3, proto.io.arthas.api.ArrayElement.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.io.arthas.api.ArrayElement} returns this + */ +proto.io.arthas.api.ArrayElement.prototype.clearArrayvalue = function() { + return this.setArrayvalue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.ArrayElement.prototype.hasArrayvalue = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional NullValue nullValue = 4; + * @return {?proto.io.arthas.api.NullValue} + */ +proto.io.arthas.api.ArrayElement.prototype.getNullvalue = function() { + return /** @type{?proto.io.arthas.api.NullValue} */ ( + jspb.Message.getWrapperField(this, proto.io.arthas.api.NullValue, 4)); +}; + + +/** + * @param {?proto.io.arthas.api.NullValue|undefined} value + * @return {!proto.io.arthas.api.ArrayElement} returns this +*/ +proto.io.arthas.api.ArrayElement.prototype.setNullvalue = function(value) { + return jspb.Message.setOneofWrapperField(this, 4, proto.io.arthas.api.ArrayElement.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.io.arthas.api.ArrayElement} returns this + */ +proto.io.arthas.api.ArrayElement.prototype.clearNullvalue = function() { + return this.setNullvalue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.ArrayElement.prototype.hasNullvalue = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional UnexpandedObject unexpandedObject = 5; + * @return {?proto.io.arthas.api.UnexpandedObject} + */ +proto.io.arthas.api.ArrayElement.prototype.getUnexpandedobject = function() { + return /** @type{?proto.io.arthas.api.UnexpandedObject} */ ( + jspb.Message.getWrapperField(this, proto.io.arthas.api.UnexpandedObject, 5)); +}; + + +/** + * @param {?proto.io.arthas.api.UnexpandedObject|undefined} value + * @return {!proto.io.arthas.api.ArrayElement} returns this +*/ +proto.io.arthas.api.ArrayElement.prototype.setUnexpandedobject = function(value) { + return jspb.Message.setOneofWrapperField(this, 5, proto.io.arthas.api.ArrayElement.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.io.arthas.api.ArrayElement} returns this + */ +proto.io.arthas.api.ArrayElement.prototype.clearUnexpandedobject = function() { + return this.setUnexpandedobject(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.ArrayElement.prototype.hasUnexpandedobject = function() { + return jspb.Message.getField(this, 5) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array } + * @const + */ +proto.io.arthas.api.ArrayValue.repeatedFields_ = [2]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_ , eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.io.arthas.api.ArrayValue.prototype.toObject = function(opt_includeInstance) { + return proto.io.arthas.api.ArrayValue.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.io.arthas.api.ArrayValue} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.ArrayValue.toObject = function(includeInstance, msg) { + var f, obj = { + classname: jspb.Message.getFieldWithDefault(msg, 1, ""), + elementsList: jspb.Message.toObjectList(msg.getElementsList(), + proto.io.arthas.api.ArrayElement.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.io.arthas.api.ArrayValue} + */ +proto.io.arthas.api.ArrayValue.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.io.arthas.api.ArrayValue; + return proto.io.arthas.api.ArrayValue.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.io.arthas.api.ArrayValue} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.io.arthas.api.ArrayValue} + */ +proto.io.arthas.api.ArrayValue.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setClassname(value); + break; + case 2: + var value = new proto.io.arthas.api.ArrayElement; + reader.readMessage(value,proto.io.arthas.api.ArrayElement.deserializeBinaryFromReader); + msg.addElements(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.io.arthas.api.ArrayValue.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.io.arthas.api.ArrayValue.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.io.arthas.api.ArrayValue} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.ArrayValue.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getClassname(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getElementsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + proto.io.arthas.api.ArrayElement.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string className = 1; + * @return {string} + */ +proto.io.arthas.api.ArrayValue.prototype.getClassname = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.ArrayValue} returns this + */ +proto.io.arthas.api.ArrayValue.prototype.setClassname = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * repeated ArrayElement elements = 2; + * @return {!Array} + */ +proto.io.arthas.api.ArrayValue.prototype.getElementsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.io.arthas.api.ArrayElement, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.io.arthas.api.ArrayValue} returns this +*/ +proto.io.arthas.api.ArrayValue.prototype.setElementsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.io.arthas.api.ArrayElement=} opt_value + * @param {number=} opt_index + * @return {!proto.io.arthas.api.ArrayElement} + */ +proto.io.arthas.api.ArrayValue.prototype.addElements = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.io.arthas.api.ArrayElement, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.io.arthas.api.ArrayValue} returns this + */ +proto.io.arthas.api.ArrayValue.prototype.clearElementsList = function() { + return this.setElementsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_ , eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.io.arthas.api.NullValue.prototype.toObject = function(opt_includeInstance) { + return proto.io.arthas.api.NullValue.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.io.arthas.api.NullValue} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.NullValue.toObject = function(includeInstance, msg) { + var f, obj = { + classname: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.io.arthas.api.NullValue} + */ +proto.io.arthas.api.NullValue.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.io.arthas.api.NullValue; + return proto.io.arthas.api.NullValue.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.io.arthas.api.NullValue} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.io.arthas.api.NullValue} + */ +proto.io.arthas.api.NullValue.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setClassname(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.io.arthas.api.NullValue.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.io.arthas.api.NullValue.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.io.arthas.api.NullValue} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.NullValue.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getClassname(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string className = 1; + * @return {string} + */ +proto.io.arthas.api.NullValue.prototype.getClassname = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.NullValue} returns this + */ +proto.io.arthas.api.NullValue.prototype.setClassname = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_ , eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.io.arthas.api.UnexpandedObject.prototype.toObject = function(opt_includeInstance) { + return proto.io.arthas.api.UnexpandedObject.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.io.arthas.api.UnexpandedObject} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.UnexpandedObject.toObject = function(includeInstance, msg) { + var f, obj = { + classname: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.io.arthas.api.UnexpandedObject} + */ +proto.io.arthas.api.UnexpandedObject.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.io.arthas.api.UnexpandedObject; + return proto.io.arthas.api.UnexpandedObject.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.io.arthas.api.UnexpandedObject} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.io.arthas.api.UnexpandedObject} + */ +proto.io.arthas.api.UnexpandedObject.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setClassname(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.io.arthas.api.UnexpandedObject.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.io.arthas.api.UnexpandedObject.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.io.arthas.api.UnexpandedObject} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.UnexpandedObject.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getClassname(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string className = 1; + * @return {string} + */ +proto.io.arthas.api.UnexpandedObject.prototype.getClassname = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.UnexpandedObject} returns this + */ +proto.io.arthas.api.UnexpandedObject.prototype.setClassname = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array } + * @const + */ +proto.io.arthas.api.CollectionValue.repeatedFields_ = [2]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_ , eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.io.arthas.api.CollectionValue.prototype.toObject = function(opt_includeInstance) { + return proto.io.arthas.api.CollectionValue.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.io.arthas.api.CollectionValue} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.CollectionValue.toObject = function(includeInstance, msg) { + var f, obj = { + classname: jspb.Message.getFieldWithDefault(msg, 1, ""), + elementsList: jspb.Message.toObjectList(msg.getElementsList(), + proto.io.arthas.api.JavaObject.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.io.arthas.api.CollectionValue} + */ +proto.io.arthas.api.CollectionValue.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.io.arthas.api.CollectionValue; + return proto.io.arthas.api.CollectionValue.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.io.arthas.api.CollectionValue} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.io.arthas.api.CollectionValue} + */ +proto.io.arthas.api.CollectionValue.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setClassname(value); + break; + case 2: + var value = new proto.io.arthas.api.JavaObject; + reader.readMessage(value,proto.io.arthas.api.JavaObject.deserializeBinaryFromReader); + msg.addElements(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.io.arthas.api.CollectionValue.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.io.arthas.api.CollectionValue.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.io.arthas.api.CollectionValue} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.CollectionValue.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getClassname(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getElementsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + proto.io.arthas.api.JavaObject.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string className = 1; + * @return {string} + */ +proto.io.arthas.api.CollectionValue.prototype.getClassname = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.CollectionValue} returns this + */ +proto.io.arthas.api.CollectionValue.prototype.setClassname = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * repeated JavaObject elements = 2; + * @return {!Array} + */ +proto.io.arthas.api.CollectionValue.prototype.getElementsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.io.arthas.api.JavaObject, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.io.arthas.api.CollectionValue} returns this +*/ +proto.io.arthas.api.CollectionValue.prototype.setElementsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.io.arthas.api.JavaObject=} opt_value + * @param {number=} opt_index + * @return {!proto.io.arthas.api.JavaObject} + */ +proto.io.arthas.api.CollectionValue.prototype.addElements = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.io.arthas.api.JavaObject, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.io.arthas.api.CollectionValue} returns this + */ +proto.io.arthas.api.CollectionValue.prototype.clearElementsList = function() { + return this.setElementsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_ , eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.io.arthas.api.MapEntry.prototype.toObject = function(opt_includeInstance) { + return proto.io.arthas.api.MapEntry.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.io.arthas.api.MapEntry} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.MapEntry.toObject = function(includeInstance, msg) { + var f, obj = { + key: (f = msg.getKey()) && proto.io.arthas.api.JavaObject.toObject(includeInstance, f), + value: (f = msg.getValue()) && proto.io.arthas.api.JavaObject.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.io.arthas.api.MapEntry} + */ +proto.io.arthas.api.MapEntry.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.io.arthas.api.MapEntry; + return proto.io.arthas.api.MapEntry.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.io.arthas.api.MapEntry} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.io.arthas.api.MapEntry} + */ +proto.io.arthas.api.MapEntry.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.io.arthas.api.JavaObject; + reader.readMessage(value,proto.io.arthas.api.JavaObject.deserializeBinaryFromReader); + msg.setKey(value); + break; + case 2: + var value = new proto.io.arthas.api.JavaObject; + reader.readMessage(value,proto.io.arthas.api.JavaObject.deserializeBinaryFromReader); + msg.setValue(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.io.arthas.api.MapEntry.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.io.arthas.api.MapEntry.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.io.arthas.api.MapEntry} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.MapEntry.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getKey(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.io.arthas.api.JavaObject.serializeBinaryToWriter + ); + } + f = message.getValue(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.io.arthas.api.JavaObject.serializeBinaryToWriter + ); + } +}; + + +/** + * optional JavaObject key = 1; + * @return {?proto.io.arthas.api.JavaObject} + */ +proto.io.arthas.api.MapEntry.prototype.getKey = function() { + return /** @type{?proto.io.arthas.api.JavaObject} */ ( + jspb.Message.getWrapperField(this, proto.io.arthas.api.JavaObject, 1)); +}; + + +/** + * @param {?proto.io.arthas.api.JavaObject|undefined} value + * @return {!proto.io.arthas.api.MapEntry} returns this +*/ +proto.io.arthas.api.MapEntry.prototype.setKey = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.io.arthas.api.MapEntry} returns this + */ +proto.io.arthas.api.MapEntry.prototype.clearKey = function() { + return this.setKey(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.MapEntry.prototype.hasKey = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional JavaObject value = 2; + * @return {?proto.io.arthas.api.JavaObject} + */ +proto.io.arthas.api.MapEntry.prototype.getValue = function() { + return /** @type{?proto.io.arthas.api.JavaObject} */ ( + jspb.Message.getWrapperField(this, proto.io.arthas.api.JavaObject, 2)); +}; + + +/** + * @param {?proto.io.arthas.api.JavaObject|undefined} value + * @return {!proto.io.arthas.api.MapEntry} returns this +*/ +proto.io.arthas.api.MapEntry.prototype.setValue = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.io.arthas.api.MapEntry} returns this + */ +proto.io.arthas.api.MapEntry.prototype.clearValue = function() { + return this.setValue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.MapEntry.prototype.hasValue = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array } + * @const + */ +proto.io.arthas.api.MapValue.repeatedFields_ = [2]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_ , eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.io.arthas.api.MapValue.prototype.toObject = function(opt_includeInstance) { + return proto.io.arthas.api.MapValue.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.io.arthas.api.MapValue} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.MapValue.toObject = function(includeInstance, msg) { + var f, obj = { + classname: jspb.Message.getFieldWithDefault(msg, 1, ""), + entriesList: jspb.Message.toObjectList(msg.getEntriesList(), + proto.io.arthas.api.MapEntry.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.io.arthas.api.MapValue} + */ +proto.io.arthas.api.MapValue.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.io.arthas.api.MapValue; + return proto.io.arthas.api.MapValue.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.io.arthas.api.MapValue} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.io.arthas.api.MapValue} + */ +proto.io.arthas.api.MapValue.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setClassname(value); + break; + case 2: + var value = new proto.io.arthas.api.MapEntry; + reader.readMessage(value,proto.io.arthas.api.MapEntry.deserializeBinaryFromReader); + msg.addEntries(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.io.arthas.api.MapValue.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.io.arthas.api.MapValue.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.io.arthas.api.MapValue} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.MapValue.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getClassname(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getEntriesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + proto.io.arthas.api.MapEntry.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string className = 1; + * @return {string} + */ +proto.io.arthas.api.MapValue.prototype.getClassname = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.MapValue} returns this + */ +proto.io.arthas.api.MapValue.prototype.setClassname = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * repeated MapEntry entries = 2; + * @return {!Array} + */ +proto.io.arthas.api.MapValue.prototype.getEntriesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.io.arthas.api.MapEntry, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.io.arthas.api.MapValue} returns this +*/ +proto.io.arthas.api.MapValue.prototype.setEntriesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.io.arthas.api.MapEntry=} opt_value + * @param {number=} opt_index + * @return {!proto.io.arthas.api.MapEntry} + */ +proto.io.arthas.api.MapValue.prototype.addEntries = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.io.arthas.api.MapEntry, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.io.arthas.api.MapValue} returns this + */ +proto.io.arthas.api.MapValue.prototype.clearEntriesList = function() { + return this.setEntriesList([]); +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.io.arthas.api.JavaField.oneofGroups_ = [[2,3,4,5,6,7,8]]; + +/** + * @enum {number} + */ +proto.io.arthas.api.JavaField.ValueCase = { + VALUE_NOT_SET: 0, + OBJECTVALUE: 2, + BASICVALUE: 3, + ARRAYVALUE: 4, + NULLVALUE: 5, + COLLECTION: 6, + MAP: 7, + UNEXPANDEDOBJECT: 8 +}; + +/** + * @return {proto.io.arthas.api.JavaField.ValueCase} + */ +proto.io.arthas.api.JavaField.prototype.getValueCase = function() { + return /** @type {proto.io.arthas.api.JavaField.ValueCase} */(jspb.Message.computeOneofCase(this, proto.io.arthas.api.JavaField.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_ , eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.io.arthas.api.JavaField.prototype.toObject = function(opt_includeInstance) { + return proto.io.arthas.api.JavaField.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.io.arthas.api.JavaField} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.JavaField.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + objectvalue: (f = msg.getObjectvalue()) && proto.io.arthas.api.JavaObject.toObject(includeInstance, f), + basicvalue: (f = msg.getBasicvalue()) && proto.io.arthas.api.BasicValue.toObject(includeInstance, f), + arrayvalue: (f = msg.getArrayvalue()) && proto.io.arthas.api.ArrayValue.toObject(includeInstance, f), + nullvalue: (f = msg.getNullvalue()) && proto.io.arthas.api.NullValue.toObject(includeInstance, f), + collection: (f = msg.getCollection()) && proto.io.arthas.api.CollectionValue.toObject(includeInstance, f), + map: (f = msg.getMap()) && proto.io.arthas.api.MapValue.toObject(includeInstance, f), + unexpandedobject: (f = msg.getUnexpandedobject()) && proto.io.arthas.api.UnexpandedObject.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.io.arthas.api.JavaField} + */ +proto.io.arthas.api.JavaField.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.io.arthas.api.JavaField; + return proto.io.arthas.api.JavaField.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.io.arthas.api.JavaField} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.io.arthas.api.JavaField} + */ +proto.io.arthas.api.JavaField.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = new proto.io.arthas.api.JavaObject; + reader.readMessage(value,proto.io.arthas.api.JavaObject.deserializeBinaryFromReader); + msg.setObjectvalue(value); + break; + case 3: + var value = new proto.io.arthas.api.BasicValue; + reader.readMessage(value,proto.io.arthas.api.BasicValue.deserializeBinaryFromReader); + msg.setBasicvalue(value); + break; + case 4: + var value = new proto.io.arthas.api.ArrayValue; + reader.readMessage(value,proto.io.arthas.api.ArrayValue.deserializeBinaryFromReader); + msg.setArrayvalue(value); + break; + case 5: + var value = new proto.io.arthas.api.NullValue; + reader.readMessage(value,proto.io.arthas.api.NullValue.deserializeBinaryFromReader); + msg.setNullvalue(value); + break; + case 6: + var value = new proto.io.arthas.api.CollectionValue; + reader.readMessage(value,proto.io.arthas.api.CollectionValue.deserializeBinaryFromReader); + msg.setCollection(value); + break; + case 7: + var value = new proto.io.arthas.api.MapValue; + reader.readMessage(value,proto.io.arthas.api.MapValue.deserializeBinaryFromReader); + msg.setMap(value); + break; + case 8: + var value = new proto.io.arthas.api.UnexpandedObject; + reader.readMessage(value,proto.io.arthas.api.UnexpandedObject.deserializeBinaryFromReader); + msg.setUnexpandedobject(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.io.arthas.api.JavaField.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.io.arthas.api.JavaField.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.io.arthas.api.JavaField} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.JavaField.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getObjectvalue(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.io.arthas.api.JavaObject.serializeBinaryToWriter + ); + } + f = message.getBasicvalue(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.io.arthas.api.BasicValue.serializeBinaryToWriter + ); + } + f = message.getArrayvalue(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.io.arthas.api.ArrayValue.serializeBinaryToWriter + ); + } + f = message.getNullvalue(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.io.arthas.api.NullValue.serializeBinaryToWriter + ); + } + f = message.getCollection(); + if (f != null) { + writer.writeMessage( + 6, + f, + proto.io.arthas.api.CollectionValue.serializeBinaryToWriter + ); + } + f = message.getMap(); + if (f != null) { + writer.writeMessage( + 7, + f, + proto.io.arthas.api.MapValue.serializeBinaryToWriter + ); + } + f = message.getUnexpandedobject(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.io.arthas.api.UnexpandedObject.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.io.arthas.api.JavaField.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.JavaField} returns this + */ +proto.io.arthas.api.JavaField.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional JavaObject objectValue = 2; + * @return {?proto.io.arthas.api.JavaObject} + */ +proto.io.arthas.api.JavaField.prototype.getObjectvalue = function() { + return /** @type{?proto.io.arthas.api.JavaObject} */ ( + jspb.Message.getWrapperField(this, proto.io.arthas.api.JavaObject, 2)); +}; + + +/** + * @param {?proto.io.arthas.api.JavaObject|undefined} value + * @return {!proto.io.arthas.api.JavaField} returns this +*/ +proto.io.arthas.api.JavaField.prototype.setObjectvalue = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.io.arthas.api.JavaField.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.io.arthas.api.JavaField} returns this + */ +proto.io.arthas.api.JavaField.prototype.clearObjectvalue = function() { + return this.setObjectvalue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.JavaField.prototype.hasObjectvalue = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional BasicValue basicValue = 3; + * @return {?proto.io.arthas.api.BasicValue} + */ +proto.io.arthas.api.JavaField.prototype.getBasicvalue = function() { + return /** @type{?proto.io.arthas.api.BasicValue} */ ( + jspb.Message.getWrapperField(this, proto.io.arthas.api.BasicValue, 3)); +}; + + +/** + * @param {?proto.io.arthas.api.BasicValue|undefined} value + * @return {!proto.io.arthas.api.JavaField} returns this +*/ +proto.io.arthas.api.JavaField.prototype.setBasicvalue = function(value) { + return jspb.Message.setOneofWrapperField(this, 3, proto.io.arthas.api.JavaField.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.io.arthas.api.JavaField} returns this + */ +proto.io.arthas.api.JavaField.prototype.clearBasicvalue = function() { + return this.setBasicvalue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.JavaField.prototype.hasBasicvalue = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional ArrayValue arrayValue = 4; + * @return {?proto.io.arthas.api.ArrayValue} + */ +proto.io.arthas.api.JavaField.prototype.getArrayvalue = function() { + return /** @type{?proto.io.arthas.api.ArrayValue} */ ( + jspb.Message.getWrapperField(this, proto.io.arthas.api.ArrayValue, 4)); +}; + + +/** + * @param {?proto.io.arthas.api.ArrayValue|undefined} value + * @return {!proto.io.arthas.api.JavaField} returns this +*/ +proto.io.arthas.api.JavaField.prototype.setArrayvalue = function(value) { + return jspb.Message.setOneofWrapperField(this, 4, proto.io.arthas.api.JavaField.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.io.arthas.api.JavaField} returns this + */ +proto.io.arthas.api.JavaField.prototype.clearArrayvalue = function() { + return this.setArrayvalue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.JavaField.prototype.hasArrayvalue = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional NullValue nullValue = 5; + * @return {?proto.io.arthas.api.NullValue} + */ +proto.io.arthas.api.JavaField.prototype.getNullvalue = function() { + return /** @type{?proto.io.arthas.api.NullValue} */ ( + jspb.Message.getWrapperField(this, proto.io.arthas.api.NullValue, 5)); +}; + + +/** + * @param {?proto.io.arthas.api.NullValue|undefined} value + * @return {!proto.io.arthas.api.JavaField} returns this +*/ +proto.io.arthas.api.JavaField.prototype.setNullvalue = function(value) { + return jspb.Message.setOneofWrapperField(this, 5, proto.io.arthas.api.JavaField.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.io.arthas.api.JavaField} returns this + */ +proto.io.arthas.api.JavaField.prototype.clearNullvalue = function() { + return this.setNullvalue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.JavaField.prototype.hasNullvalue = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional CollectionValue collection = 6; + * @return {?proto.io.arthas.api.CollectionValue} + */ +proto.io.arthas.api.JavaField.prototype.getCollection = function() { + return /** @type{?proto.io.arthas.api.CollectionValue} */ ( + jspb.Message.getWrapperField(this, proto.io.arthas.api.CollectionValue, 6)); +}; + + +/** + * @param {?proto.io.arthas.api.CollectionValue|undefined} value + * @return {!proto.io.arthas.api.JavaField} returns this +*/ +proto.io.arthas.api.JavaField.prototype.setCollection = function(value) { + return jspb.Message.setOneofWrapperField(this, 6, proto.io.arthas.api.JavaField.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.io.arthas.api.JavaField} returns this + */ +proto.io.arthas.api.JavaField.prototype.clearCollection = function() { + return this.setCollection(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.JavaField.prototype.hasCollection = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional MapValue map = 7; + * @return {?proto.io.arthas.api.MapValue} + */ +proto.io.arthas.api.JavaField.prototype.getMap = function() { + return /** @type{?proto.io.arthas.api.MapValue} */ ( + jspb.Message.getWrapperField(this, proto.io.arthas.api.MapValue, 7)); +}; + + +/** + * @param {?proto.io.arthas.api.MapValue|undefined} value + * @return {!proto.io.arthas.api.JavaField} returns this +*/ +proto.io.arthas.api.JavaField.prototype.setMap = function(value) { + return jspb.Message.setOneofWrapperField(this, 7, proto.io.arthas.api.JavaField.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.io.arthas.api.JavaField} returns this + */ +proto.io.arthas.api.JavaField.prototype.clearMap = function() { + return this.setMap(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.JavaField.prototype.hasMap = function() { + return jspb.Message.getField(this, 7) != null; +}; + + +/** + * optional UnexpandedObject unexpandedObject = 8; + * @return {?proto.io.arthas.api.UnexpandedObject} + */ +proto.io.arthas.api.JavaField.prototype.getUnexpandedobject = function() { + return /** @type{?proto.io.arthas.api.UnexpandedObject} */ ( + jspb.Message.getWrapperField(this, proto.io.arthas.api.UnexpandedObject, 8)); +}; + + +/** + * @param {?proto.io.arthas.api.UnexpandedObject|undefined} value + * @return {!proto.io.arthas.api.JavaField} returns this +*/ +proto.io.arthas.api.JavaField.prototype.setUnexpandedobject = function(value) { + return jspb.Message.setOneofWrapperField(this, 8, proto.io.arthas.api.JavaField.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.io.arthas.api.JavaField} returns this + */ +proto.io.arthas.api.JavaField.prototype.clearUnexpandedobject = function() { + return this.setUnexpandedobject(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.JavaField.prototype.hasUnexpandedobject = function() { + return jspb.Message.getField(this, 8) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array } + * @const + */ +proto.io.arthas.api.JavaFields.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_ , eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.io.arthas.api.JavaFields.prototype.toObject = function(opt_includeInstance) { + return proto.io.arthas.api.JavaFields.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.io.arthas.api.JavaFields} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.JavaFields.toObject = function(includeInstance, msg) { + var f, obj = { + fieldsList: jspb.Message.toObjectList(msg.getFieldsList(), + proto.io.arthas.api.JavaField.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.io.arthas.api.JavaFields} + */ +proto.io.arthas.api.JavaFields.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.io.arthas.api.JavaFields; + return proto.io.arthas.api.JavaFields.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.io.arthas.api.JavaFields} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.io.arthas.api.JavaFields} + */ +proto.io.arthas.api.JavaFields.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.io.arthas.api.JavaField; + reader.readMessage(value,proto.io.arthas.api.JavaField.deserializeBinaryFromReader); + msg.addFields(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.io.arthas.api.JavaFields.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.io.arthas.api.JavaFields.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.io.arthas.api.JavaFields} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.JavaFields.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getFieldsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.io.arthas.api.JavaField.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated JavaField fields = 1; + * @return {!Array} + */ +proto.io.arthas.api.JavaFields.prototype.getFieldsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.io.arthas.api.JavaField, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.io.arthas.api.JavaFields} returns this +*/ +proto.io.arthas.api.JavaFields.prototype.setFieldsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.io.arthas.api.JavaField=} opt_value + * @param {number=} opt_index + * @return {!proto.io.arthas.api.JavaField} + */ +proto.io.arthas.api.JavaFields.prototype.addFields = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.io.arthas.api.JavaField, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.io.arthas.api.JavaFields} returns this + */ +proto.io.arthas.api.JavaFields.prototype.clearFieldsList = function() { + return this.setFieldsList([]); +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.io.arthas.api.JavaObject.oneofGroups_ = [[2,3,4,5,6,7,8,9]]; + +/** + * @enum {number} + */ +proto.io.arthas.api.JavaObject.ValueCase = { + VALUE_NOT_SET: 0, + OBJECTVALUE: 2, + BASICVALUE: 3, + ARRAYVALUE: 4, + NULLVALUE: 5, + COLLECTION: 6, + MAP: 7, + UNEXPANDEDOBJECT: 8, + FIELDS: 9 +}; + +/** + * @return {proto.io.arthas.api.JavaObject.ValueCase} + */ +proto.io.arthas.api.JavaObject.prototype.getValueCase = function() { + return /** @type {proto.io.arthas.api.JavaObject.ValueCase} */(jspb.Message.computeOneofCase(this, proto.io.arthas.api.JavaObject.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_ , eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.io.arthas.api.JavaObject.prototype.toObject = function(opt_includeInstance) { + return proto.io.arthas.api.JavaObject.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.io.arthas.api.JavaObject} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.JavaObject.toObject = function(includeInstance, msg) { + var f, obj = { + classname: jspb.Message.getFieldWithDefault(msg, 1, ""), + objectvalue: (f = msg.getObjectvalue()) && proto.io.arthas.api.JavaObject.toObject(includeInstance, f), + basicvalue: (f = msg.getBasicvalue()) && proto.io.arthas.api.BasicValue.toObject(includeInstance, f), + arrayvalue: (f = msg.getArrayvalue()) && proto.io.arthas.api.ArrayValue.toObject(includeInstance, f), + nullvalue: (f = msg.getNullvalue()) && proto.io.arthas.api.NullValue.toObject(includeInstance, f), + collection: (f = msg.getCollection()) && proto.io.arthas.api.CollectionValue.toObject(includeInstance, f), + map: (f = msg.getMap()) && proto.io.arthas.api.MapValue.toObject(includeInstance, f), + unexpandedobject: (f = msg.getUnexpandedobject()) && proto.io.arthas.api.UnexpandedObject.toObject(includeInstance, f), + fields: (f = msg.getFields()) && proto.io.arthas.api.JavaFields.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.io.arthas.api.JavaObject} + */ +proto.io.arthas.api.JavaObject.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.io.arthas.api.JavaObject; + return proto.io.arthas.api.JavaObject.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.io.arthas.api.JavaObject} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.io.arthas.api.JavaObject} + */ +proto.io.arthas.api.JavaObject.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setClassname(value); + break; + case 2: + var value = new proto.io.arthas.api.JavaObject; + reader.readMessage(value,proto.io.arthas.api.JavaObject.deserializeBinaryFromReader); + msg.setObjectvalue(value); + break; + case 3: + var value = new proto.io.arthas.api.BasicValue; + reader.readMessage(value,proto.io.arthas.api.BasicValue.deserializeBinaryFromReader); + msg.setBasicvalue(value); + break; + case 4: + var value = new proto.io.arthas.api.ArrayValue; + reader.readMessage(value,proto.io.arthas.api.ArrayValue.deserializeBinaryFromReader); + msg.setArrayvalue(value); + break; + case 5: + var value = new proto.io.arthas.api.NullValue; + reader.readMessage(value,proto.io.arthas.api.NullValue.deserializeBinaryFromReader); + msg.setNullvalue(value); + break; + case 6: + var value = new proto.io.arthas.api.CollectionValue; + reader.readMessage(value,proto.io.arthas.api.CollectionValue.deserializeBinaryFromReader); + msg.setCollection(value); + break; + case 7: + var value = new proto.io.arthas.api.MapValue; + reader.readMessage(value,proto.io.arthas.api.MapValue.deserializeBinaryFromReader); + msg.setMap(value); + break; + case 8: + var value = new proto.io.arthas.api.UnexpandedObject; + reader.readMessage(value,proto.io.arthas.api.UnexpandedObject.deserializeBinaryFromReader); + msg.setUnexpandedobject(value); + break; + case 9: + var value = new proto.io.arthas.api.JavaFields; + reader.readMessage(value,proto.io.arthas.api.JavaFields.deserializeBinaryFromReader); + msg.setFields(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.io.arthas.api.JavaObject.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.io.arthas.api.JavaObject.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.io.arthas.api.JavaObject} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.JavaObject.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getClassname(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getObjectvalue(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.io.arthas.api.JavaObject.serializeBinaryToWriter + ); + } + f = message.getBasicvalue(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.io.arthas.api.BasicValue.serializeBinaryToWriter + ); + } + f = message.getArrayvalue(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.io.arthas.api.ArrayValue.serializeBinaryToWriter + ); + } + f = message.getNullvalue(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.io.arthas.api.NullValue.serializeBinaryToWriter + ); + } + f = message.getCollection(); + if (f != null) { + writer.writeMessage( + 6, + f, + proto.io.arthas.api.CollectionValue.serializeBinaryToWriter + ); + } + f = message.getMap(); + if (f != null) { + writer.writeMessage( + 7, + f, + proto.io.arthas.api.MapValue.serializeBinaryToWriter + ); + } + f = message.getUnexpandedobject(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.io.arthas.api.UnexpandedObject.serializeBinaryToWriter + ); + } + f = message.getFields(); + if (f != null) { + writer.writeMessage( + 9, + f, + proto.io.arthas.api.JavaFields.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string className = 1; + * @return {string} + */ +proto.io.arthas.api.JavaObject.prototype.getClassname = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.JavaObject} returns this + */ +proto.io.arthas.api.JavaObject.prototype.setClassname = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional JavaObject objectValue = 2; + * @return {?proto.io.arthas.api.JavaObject} + */ +proto.io.arthas.api.JavaObject.prototype.getObjectvalue = function() { + return /** @type{?proto.io.arthas.api.JavaObject} */ ( + jspb.Message.getWrapperField(this, proto.io.arthas.api.JavaObject, 2)); +}; + + +/** + * @param {?proto.io.arthas.api.JavaObject|undefined} value + * @return {!proto.io.arthas.api.JavaObject} returns this +*/ +proto.io.arthas.api.JavaObject.prototype.setObjectvalue = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.io.arthas.api.JavaObject.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.io.arthas.api.JavaObject} returns this + */ +proto.io.arthas.api.JavaObject.prototype.clearObjectvalue = function() { + return this.setObjectvalue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.JavaObject.prototype.hasObjectvalue = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional BasicValue basicValue = 3; + * @return {?proto.io.arthas.api.BasicValue} + */ +proto.io.arthas.api.JavaObject.prototype.getBasicvalue = function() { + return /** @type{?proto.io.arthas.api.BasicValue} */ ( + jspb.Message.getWrapperField(this, proto.io.arthas.api.BasicValue, 3)); +}; + + +/** + * @param {?proto.io.arthas.api.BasicValue|undefined} value + * @return {!proto.io.arthas.api.JavaObject} returns this +*/ +proto.io.arthas.api.JavaObject.prototype.setBasicvalue = function(value) { + return jspb.Message.setOneofWrapperField(this, 3, proto.io.arthas.api.JavaObject.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.io.arthas.api.JavaObject} returns this + */ +proto.io.arthas.api.JavaObject.prototype.clearBasicvalue = function() { + return this.setBasicvalue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.JavaObject.prototype.hasBasicvalue = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional ArrayValue arrayValue = 4; + * @return {?proto.io.arthas.api.ArrayValue} + */ +proto.io.arthas.api.JavaObject.prototype.getArrayvalue = function() { + return /** @type{?proto.io.arthas.api.ArrayValue} */ ( + jspb.Message.getWrapperField(this, proto.io.arthas.api.ArrayValue, 4)); +}; + + +/** + * @param {?proto.io.arthas.api.ArrayValue|undefined} value + * @return {!proto.io.arthas.api.JavaObject} returns this +*/ +proto.io.arthas.api.JavaObject.prototype.setArrayvalue = function(value) { + return jspb.Message.setOneofWrapperField(this, 4, proto.io.arthas.api.JavaObject.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.io.arthas.api.JavaObject} returns this + */ +proto.io.arthas.api.JavaObject.prototype.clearArrayvalue = function() { + return this.setArrayvalue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.JavaObject.prototype.hasArrayvalue = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional NullValue nullValue = 5; + * @return {?proto.io.arthas.api.NullValue} + */ +proto.io.arthas.api.JavaObject.prototype.getNullvalue = function() { + return /** @type{?proto.io.arthas.api.NullValue} */ ( + jspb.Message.getWrapperField(this, proto.io.arthas.api.NullValue, 5)); +}; + + +/** + * @param {?proto.io.arthas.api.NullValue|undefined} value + * @return {!proto.io.arthas.api.JavaObject} returns this +*/ +proto.io.arthas.api.JavaObject.prototype.setNullvalue = function(value) { + return jspb.Message.setOneofWrapperField(this, 5, proto.io.arthas.api.JavaObject.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.io.arthas.api.JavaObject} returns this + */ +proto.io.arthas.api.JavaObject.prototype.clearNullvalue = function() { + return this.setNullvalue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.JavaObject.prototype.hasNullvalue = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional CollectionValue collection = 6; + * @return {?proto.io.arthas.api.CollectionValue} + */ +proto.io.arthas.api.JavaObject.prototype.getCollection = function() { + return /** @type{?proto.io.arthas.api.CollectionValue} */ ( + jspb.Message.getWrapperField(this, proto.io.arthas.api.CollectionValue, 6)); +}; + + +/** + * @param {?proto.io.arthas.api.CollectionValue|undefined} value + * @return {!proto.io.arthas.api.JavaObject} returns this +*/ +proto.io.arthas.api.JavaObject.prototype.setCollection = function(value) { + return jspb.Message.setOneofWrapperField(this, 6, proto.io.arthas.api.JavaObject.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.io.arthas.api.JavaObject} returns this + */ +proto.io.arthas.api.JavaObject.prototype.clearCollection = function() { + return this.setCollection(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.JavaObject.prototype.hasCollection = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional MapValue map = 7; + * @return {?proto.io.arthas.api.MapValue} + */ +proto.io.arthas.api.JavaObject.prototype.getMap = function() { + return /** @type{?proto.io.arthas.api.MapValue} */ ( + jspb.Message.getWrapperField(this, proto.io.arthas.api.MapValue, 7)); +}; + + +/** + * @param {?proto.io.arthas.api.MapValue|undefined} value + * @return {!proto.io.arthas.api.JavaObject} returns this +*/ +proto.io.arthas.api.JavaObject.prototype.setMap = function(value) { + return jspb.Message.setOneofWrapperField(this, 7, proto.io.arthas.api.JavaObject.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.io.arthas.api.JavaObject} returns this + */ +proto.io.arthas.api.JavaObject.prototype.clearMap = function() { + return this.setMap(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.JavaObject.prototype.hasMap = function() { + return jspb.Message.getField(this, 7) != null; +}; + + +/** + * optional UnexpandedObject unexpandedObject = 8; + * @return {?proto.io.arthas.api.UnexpandedObject} + */ +proto.io.arthas.api.JavaObject.prototype.getUnexpandedobject = function() { + return /** @type{?proto.io.arthas.api.UnexpandedObject} */ ( + jspb.Message.getWrapperField(this, proto.io.arthas.api.UnexpandedObject, 8)); +}; + + +/** + * @param {?proto.io.arthas.api.UnexpandedObject|undefined} value + * @return {!proto.io.arthas.api.JavaObject} returns this +*/ +proto.io.arthas.api.JavaObject.prototype.setUnexpandedobject = function(value) { + return jspb.Message.setOneofWrapperField(this, 8, proto.io.arthas.api.JavaObject.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.io.arthas.api.JavaObject} returns this + */ +proto.io.arthas.api.JavaObject.prototype.clearUnexpandedobject = function() { + return this.setUnexpandedobject(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.JavaObject.prototype.hasUnexpandedobject = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * optional JavaFields fields = 9; + * @return {?proto.io.arthas.api.JavaFields} + */ +proto.io.arthas.api.JavaObject.prototype.getFields = function() { + return /** @type{?proto.io.arthas.api.JavaFields} */ ( + jspb.Message.getWrapperField(this, proto.io.arthas.api.JavaFields, 9)); +}; + + +/** + * @param {?proto.io.arthas.api.JavaFields|undefined} value + * @return {!proto.io.arthas.api.JavaObject} returns this +*/ +proto.io.arthas.api.JavaObject.prototype.setFields = function(value) { + return jspb.Message.setOneofWrapperField(this, 9, proto.io.arthas.api.JavaObject.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.io.arthas.api.JavaObject} returns this + */ +proto.io.arthas.api.JavaObject.prototype.clearFields = function() { + return this.setFields(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.JavaObject.prototype.hasFields = function() { + return jspb.Message.getField(this, 9) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_ , eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.io.arthas.api.ObjectQuery.prototype.toObject = function(opt_includeInstance) { + return proto.io.arthas.api.ObjectQuery.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.io.arthas.api.ObjectQuery} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.ObjectQuery.toObject = function(includeInstance, msg) { + var f, obj = { + classname: jspb.Message.getFieldWithDefault(msg, 1, ""), + express: jspb.Message.getFieldWithDefault(msg, 2, ""), + classloaderhash: jspb.Message.getFieldWithDefault(msg, 3, ""), + classloaderclass: jspb.Message.getFieldWithDefault(msg, 4, ""), + limit: jspb.Message.getFieldWithDefault(msg, 5, 0), + depth: jspb.Message.getFieldWithDefault(msg, 6, 0), + jobid: jspb.Message.getFieldWithDefault(msg, 7, 0), + resultid: jspb.Message.getFieldWithDefault(msg, 8, 0), + resultexpress: jspb.Message.getFieldWithDefault(msg, 9, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.io.arthas.api.ObjectQuery} + */ +proto.io.arthas.api.ObjectQuery.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.io.arthas.api.ObjectQuery; + return proto.io.arthas.api.ObjectQuery.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.io.arthas.api.ObjectQuery} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.io.arthas.api.ObjectQuery} + */ +proto.io.arthas.api.ObjectQuery.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setClassname(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setExpress(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setClassloaderhash(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setClassloaderclass(value); + break; + case 5: + var value = /** @type {number} */ (reader.readInt32()); + msg.setLimit(value); + break; + case 6: + var value = /** @type {number} */ (reader.readInt32()); + msg.setDepth(value); + break; + case 7: + var value = /** @type {number} */ (reader.readInt32()); + msg.setJobid(value); + break; + case 8: + var value = /** @type {number} */ (reader.readInt64()); + msg.setResultid(value); + break; + case 9: + var value = /** @type {string} */ (reader.readString()); + msg.setResultexpress(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.io.arthas.api.ObjectQuery.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.io.arthas.api.ObjectQuery.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.io.arthas.api.ObjectQuery} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.ObjectQuery.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getClassname(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getExpress(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getClassloaderhash(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getClassloaderclass(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getLimit(); + if (f !== 0) { + writer.writeInt32( + 5, + f + ); + } + f = message.getDepth(); + if (f !== 0) { + writer.writeInt32( + 6, + f + ); + } + f = message.getJobid(); + if (f !== 0) { + writer.writeInt32( + 7, + f + ); + } + f = message.getResultid(); + if (f !== 0) { + writer.writeInt64( + 8, + f + ); + } + f = message.getResultexpress(); + if (f.length > 0) { + writer.writeString( + 9, + f + ); + } +}; + + +/** + * optional string className = 1; + * @return {string} + */ +proto.io.arthas.api.ObjectQuery.prototype.getClassname = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.ObjectQuery} returns this + */ +proto.io.arthas.api.ObjectQuery.prototype.setClassname = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string express = 2; + * @return {string} + */ +proto.io.arthas.api.ObjectQuery.prototype.getExpress = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.ObjectQuery} returns this + */ +proto.io.arthas.api.ObjectQuery.prototype.setExpress = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string ClassLoaderHash = 3; + * @return {string} + */ +proto.io.arthas.api.ObjectQuery.prototype.getClassloaderhash = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.ObjectQuery} returns this + */ +proto.io.arthas.api.ObjectQuery.prototype.setClassloaderhash = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string classLoaderClass = 4; + * @return {string} + */ +proto.io.arthas.api.ObjectQuery.prototype.getClassloaderclass = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.ObjectQuery} returns this + */ +proto.io.arthas.api.ObjectQuery.prototype.setClassloaderclass = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * optional int32 limit = 5; + * @return {number} + */ +proto.io.arthas.api.ObjectQuery.prototype.getLimit = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.io.arthas.api.ObjectQuery} returns this + */ +proto.io.arthas.api.ObjectQuery.prototype.setLimit = function(value) { + return jspb.Message.setProto3IntField(this, 5, value); +}; + + +/** + * optional int32 depth = 6; + * @return {number} + */ +proto.io.arthas.api.ObjectQuery.prototype.getDepth = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.io.arthas.api.ObjectQuery} returns this + */ +proto.io.arthas.api.ObjectQuery.prototype.setDepth = function(value) { + return jspb.Message.setProto3IntField(this, 6, value); +}; + + +/** + * optional int32 jobId = 7; + * @return {number} + */ +proto.io.arthas.api.ObjectQuery.prototype.getJobid = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.io.arthas.api.ObjectQuery} returns this + */ +proto.io.arthas.api.ObjectQuery.prototype.setJobid = function(value) { + return jspb.Message.setProto3IntField(this, 7, value); +}; + + +/** + * optional int64 resultId = 8; + * @return {number} + */ +proto.io.arthas.api.ObjectQuery.prototype.getResultid = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.io.arthas.api.ObjectQuery} returns this + */ +proto.io.arthas.api.ObjectQuery.prototype.setResultid = function(value) { + return jspb.Message.setProto3IntField(this, 8, value); +}; + + +/** + * optional string resultExpress = 9; + * @return {string} + */ +proto.io.arthas.api.ObjectQuery.prototype.getResultexpress = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.ObjectQuery} returns this + */ +proto.io.arthas.api.ObjectQuery.prototype.setResultexpress = function(value) { + return jspb.Message.setProto3StringField(this, 9, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array } + * @const + */ +proto.io.arthas.api.ObjectQueryResult.repeatedFields_ = [3]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_ , eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.io.arthas.api.ObjectQueryResult.prototype.toObject = function(opt_includeInstance) { + return proto.io.arthas.api.ObjectQueryResult.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.io.arthas.api.ObjectQueryResult} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.ObjectQueryResult.toObject = function(includeInstance, msg) { + var f, obj = { + success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), + message: jspb.Message.getFieldWithDefault(msg, 2, ""), + objectsList: jspb.Message.toObjectList(msg.getObjectsList(), + proto.io.arthas.api.JavaObject.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.io.arthas.api.ObjectQueryResult} + */ +proto.io.arthas.api.ObjectQueryResult.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.io.arthas.api.ObjectQueryResult; + return proto.io.arthas.api.ObjectQueryResult.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.io.arthas.api.ObjectQueryResult} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.io.arthas.api.ObjectQueryResult} + */ +proto.io.arthas.api.ObjectQueryResult.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setSuccess(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setMessage(value); + break; + case 3: + var value = new proto.io.arthas.api.JavaObject; + reader.readMessage(value,proto.io.arthas.api.JavaObject.deserializeBinaryFromReader); + msg.addObjects(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.io.arthas.api.ObjectQueryResult.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.io.arthas.api.ObjectQueryResult.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.io.arthas.api.ObjectQueryResult} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.ObjectQueryResult.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSuccess(); + if (f) { + writer.writeBool( + 1, + f + ); + } + f = message.getMessage(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getObjectsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 3, + f, + proto.io.arthas.api.JavaObject.serializeBinaryToWriter + ); + } +}; + + +/** + * optional bool success = 1; + * @return {boolean} + */ +proto.io.arthas.api.ObjectQueryResult.prototype.getSuccess = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.io.arthas.api.ObjectQueryResult} returns this + */ +proto.io.arthas.api.ObjectQueryResult.prototype.setSuccess = function(value) { + return jspb.Message.setProto3BooleanField(this, 1, value); +}; + + +/** + * optional string message = 2; + * @return {string} + */ +proto.io.arthas.api.ObjectQueryResult.prototype.getMessage = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.ObjectQueryResult} returns this + */ +proto.io.arthas.api.ObjectQueryResult.prototype.setMessage = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * repeated JavaObject objects = 3; + * @return {!Array} + */ +proto.io.arthas.api.ObjectQueryResult.prototype.getObjectsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.io.arthas.api.JavaObject, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.io.arthas.api.ObjectQueryResult} returns this +*/ +proto.io.arthas.api.ObjectQueryResult.prototype.setObjectsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + +/** + * @param {!proto.io.arthas.api.JavaObject=} opt_value + * @param {number=} opt_index + * @return {!proto.io.arthas.api.JavaObject} + */ +proto.io.arthas.api.ObjectQueryResult.prototype.addObjects = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.io.arthas.api.JavaObject, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.io.arthas.api.ObjectQueryResult} returns this + */ +proto.io.arthas.api.ObjectQueryResult.prototype.clearObjectsList = function() { + return this.setObjectsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_ , eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.io.arthas.api.StringKey.prototype.toObject = function(opt_includeInstance) { + return proto.io.arthas.api.StringKey.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.io.arthas.api.StringKey} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.StringKey.toObject = function(includeInstance, msg) { + var f, obj = { + key: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.io.arthas.api.StringKey} + */ +proto.io.arthas.api.StringKey.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.io.arthas.api.StringKey; + return proto.io.arthas.api.StringKey.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.io.arthas.api.StringKey} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.io.arthas.api.StringKey} + */ +proto.io.arthas.api.StringKey.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setKey(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.io.arthas.api.StringKey.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.io.arthas.api.StringKey.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.io.arthas.api.StringKey} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.StringKey.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getKey(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string key = 1; + * @return {string} + */ +proto.io.arthas.api.StringKey.prototype.getKey = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.StringKey} returns this + */ +proto.io.arthas.api.StringKey.prototype.setKey = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_ , eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.io.arthas.api.StringValue.prototype.toObject = function(opt_includeInstance) { + return proto.io.arthas.api.StringValue.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.io.arthas.api.StringValue} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.StringValue.toObject = function(includeInstance, msg) { + var f, obj = { + value: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.io.arthas.api.StringValue} + */ +proto.io.arthas.api.StringValue.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.io.arthas.api.StringValue; + return proto.io.arthas.api.StringValue.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.io.arthas.api.StringValue} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.io.arthas.api.StringValue} + */ +proto.io.arthas.api.StringValue.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setValue(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.io.arthas.api.StringValue.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.io.arthas.api.StringValue.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.io.arthas.api.StringValue} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.StringValue.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getValue(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string value = 1; + * @return {string} + */ +proto.io.arthas.api.StringValue.prototype.getValue = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.StringValue} returns this + */ +proto.io.arthas.api.StringValue.prototype.setValue = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_ , eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.io.arthas.api.StringStringMapValue.prototype.toObject = function(opt_includeInstance) { + return proto.io.arthas.api.StringStringMapValue.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.io.arthas.api.StringStringMapValue} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.StringStringMapValue.toObject = function(includeInstance, msg) { + var f, obj = { + stringstringmapMap: (f = msg.getStringstringmapMap()) ? f.toObject(includeInstance, undefined) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.io.arthas.api.StringStringMapValue} + */ +proto.io.arthas.api.StringStringMapValue.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.io.arthas.api.StringStringMapValue; + return proto.io.arthas.api.StringStringMapValue.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.io.arthas.api.StringStringMapValue} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.io.arthas.api.StringStringMapValue} + */ +proto.io.arthas.api.StringStringMapValue.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getStringstringmapMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.io.arthas.api.StringStringMapValue.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.io.arthas.api.StringStringMapValue.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.io.arthas.api.StringStringMapValue} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.StringStringMapValue.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getStringstringmapMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } +}; + + +/** + * map stringStringMap = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map } + */ +proto.io.arthas.api.StringStringMapValue.prototype.getStringstringmapMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map } */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.io.arthas.api.StringStringMapValue} returns this + */ +proto.io.arthas.api.StringStringMapValue.prototype.clearStringstringmapMap = function() { + this.getStringstringmapMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_ , eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.io.arthas.api.WatchRequest.prototype.toObject = function(opt_includeInstance) { + return proto.io.arthas.api.WatchRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.io.arthas.api.WatchRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.WatchRequest.toObject = function(includeInstance, msg) { + var f, obj = { + classpattern: jspb.Message.getFieldWithDefault(msg, 1, ""), + methodpattern: jspb.Message.getFieldWithDefault(msg, 2, ""), + express: jspb.Message.getFieldWithDefault(msg, 3, ""), + conditionexpress: jspb.Message.getFieldWithDefault(msg, 4, ""), + isbefore: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), + isfinish: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), + isexception: jspb.Message.getBooleanFieldWithDefault(msg, 7, false), + issuccess: jspb.Message.getBooleanFieldWithDefault(msg, 8, false), + expand: jspb.Message.getFieldWithDefault(msg, 9, 0), + sizelimit: jspb.Message.getFieldWithDefault(msg, 10, 0), + isregex: jspb.Message.getBooleanFieldWithDefault(msg, 11, false), + numberoflimit: jspb.Message.getFieldWithDefault(msg, 12, 0), + excludeclasspattern: jspb.Message.getFieldWithDefault(msg, 13, ""), + listenerid: jspb.Message.getFieldWithDefault(msg, 14, 0), + verbose: jspb.Message.getBooleanFieldWithDefault(msg, 15, false), + maxnumofmatchedclass: jspb.Message.getFieldWithDefault(msg, 16, 0), + jobid: jspb.Message.getFieldWithDefault(msg, 17, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.io.arthas.api.WatchRequest} + */ +proto.io.arthas.api.WatchRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.io.arthas.api.WatchRequest; + return proto.io.arthas.api.WatchRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.io.arthas.api.WatchRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.io.arthas.api.WatchRequest} + */ +proto.io.arthas.api.WatchRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setClasspattern(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setMethodpattern(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setExpress(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setConditionexpress(value); + break; + case 5: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsbefore(value); + break; + case 6: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsfinish(value); + break; + case 7: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsexception(value); + break; + case 8: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIssuccess(value); + break; + case 9: + var value = /** @type {number} */ (reader.readInt32()); + msg.setExpand(value); + break; + case 10: + var value = /** @type {number} */ (reader.readInt32()); + msg.setSizelimit(value); + break; + case 11: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsregex(value); + break; + case 12: + var value = /** @type {number} */ (reader.readInt32()); + msg.setNumberoflimit(value); + break; + case 13: + var value = /** @type {string} */ (reader.readString()); + msg.setExcludeclasspattern(value); + break; + case 14: + var value = /** @type {number} */ (reader.readInt64()); + msg.setListenerid(value); + break; + case 15: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setVerbose(value); + break; + case 16: + var value = /** @type {number} */ (reader.readInt32()); + msg.setMaxnumofmatchedclass(value); + break; + case 17: + var value = /** @type {number} */ (reader.readInt64()); + msg.setJobid(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.io.arthas.api.WatchRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.io.arthas.api.WatchRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.io.arthas.api.WatchRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.WatchRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getClasspattern(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getMethodpattern(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getExpress(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getConditionexpress(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getIsbefore(); + if (f) { + writer.writeBool( + 5, + f + ); + } + f = message.getIsfinish(); + if (f) { + writer.writeBool( + 6, + f + ); + } + f = message.getIsexception(); + if (f) { + writer.writeBool( + 7, + f + ); + } + f = message.getIssuccess(); + if (f) { + writer.writeBool( + 8, + f + ); + } + f = message.getExpand(); + if (f !== 0) { + writer.writeInt32( + 9, + f + ); + } + f = message.getSizelimit(); + if (f !== 0) { + writer.writeInt32( + 10, + f + ); + } + f = message.getIsregex(); + if (f) { + writer.writeBool( + 11, + f + ); + } + f = message.getNumberoflimit(); + if (f !== 0) { + writer.writeInt32( + 12, + f + ); + } + f = message.getExcludeclasspattern(); + if (f.length > 0) { + writer.writeString( + 13, + f + ); + } + f = message.getListenerid(); + if (f !== 0) { + writer.writeInt64( + 14, + f + ); + } + f = message.getVerbose(); + if (f) { + writer.writeBool( + 15, + f + ); + } + f = message.getMaxnumofmatchedclass(); + if (f !== 0) { + writer.writeInt32( + 16, + f + ); + } + f = message.getJobid(); + if (f !== 0) { + writer.writeInt64( + 17, + f + ); + } +}; + + +/** + * optional string classPattern = 1; + * @return {string} + */ +proto.io.arthas.api.WatchRequest.prototype.getClasspattern = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.WatchRequest} returns this + */ +proto.io.arthas.api.WatchRequest.prototype.setClasspattern = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string methodPattern = 2; + * @return {string} + */ +proto.io.arthas.api.WatchRequest.prototype.getMethodpattern = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.WatchRequest} returns this + */ +proto.io.arthas.api.WatchRequest.prototype.setMethodpattern = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string express = 3; + * @return {string} + */ +proto.io.arthas.api.WatchRequest.prototype.getExpress = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.WatchRequest} returns this + */ +proto.io.arthas.api.WatchRequest.prototype.setExpress = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string conditionExpress = 4; + * @return {string} + */ +proto.io.arthas.api.WatchRequest.prototype.getConditionexpress = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.WatchRequest} returns this + */ +proto.io.arthas.api.WatchRequest.prototype.setConditionexpress = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * optional bool isBefore = 5; + * @return {boolean} + */ +proto.io.arthas.api.WatchRequest.prototype.getIsbefore = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.io.arthas.api.WatchRequest} returns this + */ +proto.io.arthas.api.WatchRequest.prototype.setIsbefore = function(value) { + return jspb.Message.setProto3BooleanField(this, 5, value); +}; + + +/** + * optional bool isFinish = 6; + * @return {boolean} + */ +proto.io.arthas.api.WatchRequest.prototype.getIsfinish = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.io.arthas.api.WatchRequest} returns this + */ +proto.io.arthas.api.WatchRequest.prototype.setIsfinish = function(value) { + return jspb.Message.setProto3BooleanField(this, 6, value); +}; + + +/** + * optional bool isException = 7; + * @return {boolean} + */ +proto.io.arthas.api.WatchRequest.prototype.getIsexception = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.io.arthas.api.WatchRequest} returns this + */ +proto.io.arthas.api.WatchRequest.prototype.setIsexception = function(value) { + return jspb.Message.setProto3BooleanField(this, 7, value); +}; + + +/** + * optional bool isSuccess = 8; + * @return {boolean} + */ +proto.io.arthas.api.WatchRequest.prototype.getIssuccess = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.io.arthas.api.WatchRequest} returns this + */ +proto.io.arthas.api.WatchRequest.prototype.setIssuccess = function(value) { + return jspb.Message.setProto3BooleanField(this, 8, value); +}; + + +/** + * optional int32 expand = 9; + * @return {number} + */ +proto.io.arthas.api.WatchRequest.prototype.getExpand = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.io.arthas.api.WatchRequest} returns this + */ +proto.io.arthas.api.WatchRequest.prototype.setExpand = function(value) { + return jspb.Message.setProto3IntField(this, 9, value); +}; + + +/** + * optional int32 sizeLimit = 10; + * @return {number} + */ +proto.io.arthas.api.WatchRequest.prototype.getSizelimit = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.io.arthas.api.WatchRequest} returns this + */ +proto.io.arthas.api.WatchRequest.prototype.setSizelimit = function(value) { + return jspb.Message.setProto3IntField(this, 10, value); +}; + + +/** + * optional bool isRegEx = 11; + * @return {boolean} + */ +proto.io.arthas.api.WatchRequest.prototype.getIsregex = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.io.arthas.api.WatchRequest} returns this + */ +proto.io.arthas.api.WatchRequest.prototype.setIsregex = function(value) { + return jspb.Message.setProto3BooleanField(this, 11, value); +}; + + +/** + * optional int32 numberOfLimit = 12; + * @return {number} + */ +proto.io.arthas.api.WatchRequest.prototype.getNumberoflimit = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.io.arthas.api.WatchRequest} returns this + */ +proto.io.arthas.api.WatchRequest.prototype.setNumberoflimit = function(value) { + return jspb.Message.setProto3IntField(this, 12, value); +}; + + +/** + * optional string excludeClassPattern = 13; + * @return {string} + */ +proto.io.arthas.api.WatchRequest.prototype.getExcludeclasspattern = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.WatchRequest} returns this + */ +proto.io.arthas.api.WatchRequest.prototype.setExcludeclasspattern = function(value) { + return jspb.Message.setProto3StringField(this, 13, value); +}; + + +/** + * optional int64 listenerId = 14; + * @return {number} + */ +proto.io.arthas.api.WatchRequest.prototype.getListenerid = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.io.arthas.api.WatchRequest} returns this + */ +proto.io.arthas.api.WatchRequest.prototype.setListenerid = function(value) { + return jspb.Message.setProto3IntField(this, 14, value); +}; + + +/** + * optional bool verbose = 15; + * @return {boolean} + */ +proto.io.arthas.api.WatchRequest.prototype.getVerbose = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 15, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.io.arthas.api.WatchRequest} returns this + */ +proto.io.arthas.api.WatchRequest.prototype.setVerbose = function(value) { + return jspb.Message.setProto3BooleanField(this, 15, value); +}; + + +/** + * optional int32 maxNumOfMatchedClass = 16; + * @return {number} + */ +proto.io.arthas.api.WatchRequest.prototype.getMaxnumofmatchedclass = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.io.arthas.api.WatchRequest} returns this + */ +proto.io.arthas.api.WatchRequest.prototype.setMaxnumofmatchedclass = function(value) { + return jspb.Message.setProto3IntField(this, 16, value); +}; + + +/** + * optional int64 jobId = 17; + * @return {number} + */ +proto.io.arthas.api.WatchRequest.prototype.getJobid = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.io.arthas.api.WatchRequest} returns this + */ +proto.io.arthas.api.WatchRequest.prototype.setJobid = function(value) { + return jspb.Message.setProto3IntField(this, 17, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_ , eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.io.arthas.api.WatchResponse.prototype.toObject = function(opt_includeInstance) { + return proto.io.arthas.api.WatchResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.io.arthas.api.WatchResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.WatchResponse.toObject = function(includeInstance, msg) { + var f, obj = { + ts: jspb.Message.getFieldWithDefault(msg, 1, ""), + cost: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), + value: (f = msg.getValue()) && proto.io.arthas.api.JavaObject.toObject(includeInstance, f), + sizelimit: jspb.Message.getFieldWithDefault(msg, 4, 0), + classname: jspb.Message.getFieldWithDefault(msg, 5, ""), + methodname: jspb.Message.getFieldWithDefault(msg, 6, ""), + accesspoint: jspb.Message.getFieldWithDefault(msg, 7, ""), + listenerclassname: jspb.Message.getFieldWithDefault(msg, 8, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.io.arthas.api.WatchResponse} + */ +proto.io.arthas.api.WatchResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.io.arthas.api.WatchResponse; + return proto.io.arthas.api.WatchResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.io.arthas.api.WatchResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.io.arthas.api.WatchResponse} + */ +proto.io.arthas.api.WatchResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setTs(value); + break; + case 2: + var value = /** @type {number} */ (reader.readDouble()); + msg.setCost(value); + break; + case 3: + var value = new proto.io.arthas.api.JavaObject; + reader.readMessage(value,proto.io.arthas.api.JavaObject.deserializeBinaryFromReader); + msg.setValue(value); + break; + case 4: + var value = /** @type {number} */ (reader.readInt32()); + msg.setSizelimit(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setClassname(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setMethodname(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setAccesspoint(value); + break; + case 8: + var value = /** @type {string} */ (reader.readString()); + msg.setListenerclassname(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.io.arthas.api.WatchResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.io.arthas.api.WatchResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.io.arthas.api.WatchResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.WatchResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTs(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getCost(); + if (f !== 0.0) { + writer.writeDouble( + 2, + f + ); + } + f = message.getValue(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.io.arthas.api.JavaObject.serializeBinaryToWriter + ); + } + f = message.getSizelimit(); + if (f !== 0) { + writer.writeInt32( + 4, + f + ); + } + f = message.getClassname(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getMethodname(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getAccesspoint(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getListenerclassname(); + if (f.length > 0) { + writer.writeString( + 8, + f + ); + } +}; + + +/** + * optional string ts = 1; + * @return {string} + */ +proto.io.arthas.api.WatchResponse.prototype.getTs = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.WatchResponse} returns this + */ +proto.io.arthas.api.WatchResponse.prototype.setTs = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional double cost = 2; + * @return {number} + */ +proto.io.arthas.api.WatchResponse.prototype.getCost = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.io.arthas.api.WatchResponse} returns this + */ +proto.io.arthas.api.WatchResponse.prototype.setCost = function(value) { + return jspb.Message.setProto3FloatField(this, 2, value); +}; + + +/** + * optional JavaObject value = 3; + * @return {?proto.io.arthas.api.JavaObject} + */ +proto.io.arthas.api.WatchResponse.prototype.getValue = function() { + return /** @type{?proto.io.arthas.api.JavaObject} */ ( + jspb.Message.getWrapperField(this, proto.io.arthas.api.JavaObject, 3)); +}; + + +/** + * @param {?proto.io.arthas.api.JavaObject|undefined} value + * @return {!proto.io.arthas.api.WatchResponse} returns this +*/ +proto.io.arthas.api.WatchResponse.prototype.setValue = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.io.arthas.api.WatchResponse} returns this + */ +proto.io.arthas.api.WatchResponse.prototype.clearValue = function() { + return this.setValue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.WatchResponse.prototype.hasValue = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional int32 sizeLimit = 4; + * @return {number} + */ +proto.io.arthas.api.WatchResponse.prototype.getSizelimit = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.io.arthas.api.WatchResponse} returns this + */ +proto.io.arthas.api.WatchResponse.prototype.setSizelimit = function(value) { + return jspb.Message.setProto3IntField(this, 4, value); +}; + + +/** + * optional string className = 5; + * @return {string} + */ +proto.io.arthas.api.WatchResponse.prototype.getClassname = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.WatchResponse} returns this + */ +proto.io.arthas.api.WatchResponse.prototype.setClassname = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * optional string methodName = 6; + * @return {string} + */ +proto.io.arthas.api.WatchResponse.prototype.getMethodname = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.WatchResponse} returns this + */ +proto.io.arthas.api.WatchResponse.prototype.setMethodname = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string accessPoint = 7; + * @return {string} + */ +proto.io.arthas.api.WatchResponse.prototype.getAccesspoint = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.WatchResponse} returns this + */ +proto.io.arthas.api.WatchResponse.prototype.setAccesspoint = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional string listenerClassName = 8; + * @return {string} + */ +proto.io.arthas.api.WatchResponse.prototype.getListenerclassname = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.WatchResponse} returns this + */ +proto.io.arthas.api.WatchResponse.prototype.setListenerclassname = function(value) { + return jspb.Message.setProto3StringField(this, 8, value); +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.io.arthas.api.ResponseBody.oneofGroups_ = [[4,5,6,7]]; + +/** + * @enum {number} + */ +proto.io.arthas.api.ResponseBody.DataCase = { + DATA_NOT_SET: 0, + STRINGSTRINGMAPVALUE: 4, + STRINGVALUE: 5, + WATCHRESPONSE: 6, + JAVAOBJECT: 7 +}; + +/** + * @return {proto.io.arthas.api.ResponseBody.DataCase} + */ +proto.io.arthas.api.ResponseBody.prototype.getDataCase = function() { + return /** @type {proto.io.arthas.api.ResponseBody.DataCase} */(jspb.Message.computeOneofCase(this, proto.io.arthas.api.ResponseBody.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_ , eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.io.arthas.api.ResponseBody.prototype.toObject = function(opt_includeInstance) { + return proto.io.arthas.api.ResponseBody.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.io.arthas.api.ResponseBody} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.ResponseBody.toObject = function(includeInstance, msg) { + var f, obj = { + jobid: jspb.Message.getFieldWithDefault(msg, 1, 0), + type: jspb.Message.getFieldWithDefault(msg, 2, ""), + resultid: jspb.Message.getFieldWithDefault(msg, 3, 0), + stringstringmapvalue: (f = msg.getStringstringmapvalue()) && proto.io.arthas.api.StringStringMapValue.toObject(includeInstance, f), + stringvalue: jspb.Message.getFieldWithDefault(msg, 5, ""), + watchresponse: (f = msg.getWatchresponse()) && proto.io.arthas.api.WatchResponse.toObject(includeInstance, f), + javaobject: (f = msg.getJavaobject()) && proto.io.arthas.api.JavaObject.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.io.arthas.api.ResponseBody} + */ +proto.io.arthas.api.ResponseBody.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.io.arthas.api.ResponseBody; + return proto.io.arthas.api.ResponseBody.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.io.arthas.api.ResponseBody} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.io.arthas.api.ResponseBody} + */ +proto.io.arthas.api.ResponseBody.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setJobid(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setType(value); + break; + case 3: + var value = /** @type {number} */ (reader.readInt64()); + msg.setResultid(value); + break; + case 4: + var value = new proto.io.arthas.api.StringStringMapValue; + reader.readMessage(value,proto.io.arthas.api.StringStringMapValue.deserializeBinaryFromReader); + msg.setStringstringmapvalue(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setStringvalue(value); + break; + case 6: + var value = new proto.io.arthas.api.WatchResponse; + reader.readMessage(value,proto.io.arthas.api.WatchResponse.deserializeBinaryFromReader); + msg.setWatchresponse(value); + break; + case 7: + var value = new proto.io.arthas.api.JavaObject; + reader.readMessage(value,proto.io.arthas.api.JavaObject.deserializeBinaryFromReader); + msg.setJavaobject(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.io.arthas.api.ResponseBody.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.io.arthas.api.ResponseBody.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.io.arthas.api.ResponseBody} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.io.arthas.api.ResponseBody.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getJobid(); + if (f !== 0) { + writer.writeInt32( + 1, + f + ); + } + f = message.getType(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getResultid(); + if (f !== 0) { + writer.writeInt64( + 3, + f + ); + } + f = message.getStringstringmapvalue(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.io.arthas.api.StringStringMapValue.serializeBinaryToWriter + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeString( + 5, + f + ); + } + f = message.getWatchresponse(); + if (f != null) { + writer.writeMessage( + 6, + f, + proto.io.arthas.api.WatchResponse.serializeBinaryToWriter + ); + } + f = message.getJavaobject(); + if (f != null) { + writer.writeMessage( + 7, + f, + proto.io.arthas.api.JavaObject.serializeBinaryToWriter + ); + } +}; + + +/** + * optional int32 jobId = 1; + * @return {number} + */ +proto.io.arthas.api.ResponseBody.prototype.getJobid = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.io.arthas.api.ResponseBody} returns this + */ +proto.io.arthas.api.ResponseBody.prototype.setJobid = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional string type = 2; + * @return {string} + */ +proto.io.arthas.api.ResponseBody.prototype.getType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.ResponseBody} returns this + */ +proto.io.arthas.api.ResponseBody.prototype.setType = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional int64 resultId = 3; + * @return {number} + */ +proto.io.arthas.api.ResponseBody.prototype.getResultid = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.io.arthas.api.ResponseBody} returns this + */ +proto.io.arthas.api.ResponseBody.prototype.setResultid = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + +/** + * optional StringStringMapValue stringStringMapValue = 4; + * @return {?proto.io.arthas.api.StringStringMapValue} + */ +proto.io.arthas.api.ResponseBody.prototype.getStringstringmapvalue = function() { + return /** @type{?proto.io.arthas.api.StringStringMapValue} */ ( + jspb.Message.getWrapperField(this, proto.io.arthas.api.StringStringMapValue, 4)); +}; + + +/** + * @param {?proto.io.arthas.api.StringStringMapValue|undefined} value + * @return {!proto.io.arthas.api.ResponseBody} returns this +*/ +proto.io.arthas.api.ResponseBody.prototype.setStringstringmapvalue = function(value) { + return jspb.Message.setOneofWrapperField(this, 4, proto.io.arthas.api.ResponseBody.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.io.arthas.api.ResponseBody} returns this + */ +proto.io.arthas.api.ResponseBody.prototype.clearStringstringmapvalue = function() { + return this.setStringstringmapvalue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.ResponseBody.prototype.hasStringstringmapvalue = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional string stringValue = 5; + * @return {string} + */ +proto.io.arthas.api.ResponseBody.prototype.getStringvalue = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.io.arthas.api.ResponseBody} returns this + */ +proto.io.arthas.api.ResponseBody.prototype.setStringvalue = function(value) { + return jspb.Message.setOneofField(this, 5, proto.io.arthas.api.ResponseBody.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.io.arthas.api.ResponseBody} returns this + */ +proto.io.arthas.api.ResponseBody.prototype.clearStringvalue = function() { + return jspb.Message.setOneofField(this, 5, proto.io.arthas.api.ResponseBody.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.ResponseBody.prototype.hasStringvalue = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional WatchResponse watchResponse = 6; + * @return {?proto.io.arthas.api.WatchResponse} + */ +proto.io.arthas.api.ResponseBody.prototype.getWatchresponse = function() { + return /** @type{?proto.io.arthas.api.WatchResponse} */ ( + jspb.Message.getWrapperField(this, proto.io.arthas.api.WatchResponse, 6)); +}; + + +/** + * @param {?proto.io.arthas.api.WatchResponse|undefined} value + * @return {!proto.io.arthas.api.ResponseBody} returns this +*/ +proto.io.arthas.api.ResponseBody.prototype.setWatchresponse = function(value) { + return jspb.Message.setOneofWrapperField(this, 6, proto.io.arthas.api.ResponseBody.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.io.arthas.api.ResponseBody} returns this + */ +proto.io.arthas.api.ResponseBody.prototype.clearWatchresponse = function() { + return this.setWatchresponse(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.ResponseBody.prototype.hasWatchresponse = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional JavaObject javaObject = 7; + * @return {?proto.io.arthas.api.JavaObject} + */ +proto.io.arthas.api.ResponseBody.prototype.getJavaobject = function() { + return /** @type{?proto.io.arthas.api.JavaObject} */ ( + jspb.Message.getWrapperField(this, proto.io.arthas.api.JavaObject, 7)); +}; + + +/** + * @param {?proto.io.arthas.api.JavaObject|undefined} value + * @return {!proto.io.arthas.api.ResponseBody} returns this +*/ +proto.io.arthas.api.ResponseBody.prototype.setJavaobject = function(value) { + return jspb.Message.setOneofWrapperField(this, 7, proto.io.arthas.api.ResponseBody.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.io.arthas.api.ResponseBody} returns this + */ +proto.io.arthas.api.ResponseBody.prototype.clearJavaobject = function() { + return this.setJavaobject(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.io.arthas.api.ResponseBody.prototype.hasJavaobject = function() { + return jspb.Message.getField(this, 7) != null; +}; + + +goog.object.extend(exports, proto.io.arthas.api); diff --git a/arthas-grpc-web-proxy/ui/src/assets/proto/protoc-gen-grpc-web.exe b/arthas-grpc-web-proxy/ui/src/assets/proto/protoc-gen-grpc-web.exe new file mode 100644 index 0000000000000000000000000000000000000000..309f742618eac6eae38e92c544a342c426acd0a5 GIT binary patch literal 2839040 zcmeFad3;nw+BVz)qCtd2u@yILFlsA`EsF+Zuu&Wv4H^|R?u~%P1&k0h?!g2FLu*E( z!nnm1+{UQL;5tD;+C8oVu5qtSP*G4(2l=k+uDed3PIrht&-;GA?~l*l45zE=-nXh# zr_RaP6YBz91A#y{{D0%dKwt^3{4Xm1Zu+0~81A*pQ@sL jq><+^Hcvs^zO{2{L6hOQj^vs^zJ z`~j}VoHenGG&|Cu >!9AtBYTum#fdcs% z&EbW=y95H8NmuF`XdGaTi2kmD_)LeSxQdv%5Z#jHuR!3Tzk~yQgn?}bn! ;a%Bbj4&4qqQy}Wj zVDSAH3IyT m05k)`aoq`5-+xhr%|Htls6-=B4vF^1^*BnF`Y#GG z2bNnv(Gj`^9)qrPGvJ~FE6$xx%&YiM6>LnCjKtOVUzGHwO+NQLcv5TxTLrcTKr{pH zU?1B5{}UF7Rj&@m62VpT`UYZ&o&)Q{0rL{#5WkPvx^KXIzr#)dSr&fbRsB!lZ=4V& z%v8e9-?nE8#*X(KO5{cDkwL>hUf;=hMJMCqIv)S%1_)L%aPyR4>GBUfUF84jMu4pf zX3GELR*-+)_U)8U$uHyYbTYoElkxga#w$7*AJ@tFkWR+8>12FepHB4eWPDL4 F;QE#$|BF4afJo3ImLx} zv6-urpcAXjjhuz#9=t3zr>3wGJuAS5wLX@ZTiAfB3HQwj)WvFR3Rem|2I^%XRy$X^ zHkL#@*qzQtF$AGHKY qI60D5X)=Pu1&FC}*O{7^ 85ZT-!uE+XXzz5(XX!hN_b}kR#;LD=(y9oFu2amdHQOwM6H?x>gD46}eV9 zTYI@y9a}rORs)1FeIJGSA!##)= eWRt7e;M8X_`=M zV-u|yidA1)7#co(k60qNu@rGvTg;%|CdnUBGxoVaAb)Ywtfq=?jX7=I+LjG!LX;P! zn54oNJRA$qC+$LzE(}z3=Ow3Nx3<4xqFytc{wL}FTOnM0R>bdU+h~An|2GG+u^
TLo~_ zedETBR4 X8^u z5{Y1Mf`iD@9+52|IK~2jwmkmA54Z|HX2bF#P)j%Xt)O~RVdyt16*X`4b4s;z!BB4w zZSeGZG&P!o(R_~nZmn?>hDf^*{rf|ho35iUa|@fm)0~j+yp$)>JKaf-!AhXEA;2p4 zW9`}j)+IhHvS r_-$%u z$=~mH_D0+L_dN{x{d=Scqxn0(M|S^`UYdVHeyoWdU_I@_^85FOUY+^ZH-T`5h?zCV zQ)*5=1Ly-R5Lm>n>F&g}v#)^uxD#dN400SYS-Ph62ljJ;+T_OI&)5_|X)1I>$72XE zg|qW~bO&Xldz+){pHuW!OfJ6qlOcb^lYgL(&&zpP L~4<%Xct!9a~>gK7szR}4TwHmiQ?2~0=Hd*f9QEiz`=S}GwJuaKS-rqcn zzK1# l`eEx=HQzpl(i_nRFyAv+zmDfz3$JNf gBk-7JeOf7yN$I;ZPvGpLjT!M++fW7q_ QN=b%QHzGZITJsQ@$f@vp+UFgKs&wzGx3$!WEVJiS$#GBGDGX2nvF z*~pcAVjNd(O8jpa!*ad2Fk-GcRy{xCNG=4}H5j!P{;6I+aK><@Flq_aCK2595auXQ zP(v~grLUHejb9~Zg6u;nM-lmrZs{Tm!f=9NnM4R0znrU`$=#(|(pLV}PP_Px5x&IC zKHU?exUke*#HRD-N&Ho6CMyWmp~N^&n=l4P4^xatY(O$ryOfSE =jV#Cw&RHjK9x$$eQW|U>;z06I=G4H61CtjV%)C5 zbxz<+(64P5U#WY%YbHpRkR6THvp-%TFIhy*#Ic@4%p8Pu$fF+G7<>jBhSJ%#qj!5{ z=Pb-Wcep{h*$PzbP7ukykX1;H95v4(dh!>;MYHqT{+UHQfBl-dnmK~|nZOC&dWZpo zY?7xFSae)oW7k7rvk2-V*k!tyTeuKl=25J3p>2rK8a9sy$r(*dw_|~NtfI!uMMN!5 z$Q^pUpvG!7z54#XaU)bIw0FXVq!cq}ff56{0ZiJCXd44!TPv|Lv$rEw#)PIE9 FyL7v@#3A9d-r`s>6iwzR*RLT#J3 eZDn=HthEb*ap&OVBG~j^;8C%Iw|S8Z~B4>%tyDg&{^DW3sl=n$}Zc51Fs0 zX@%E;045PBF{jPg+nVn8Bk2UJcxG%*U&YuPF)L320Ws~sBXR<5d!$o&3gth4ah~ZS zIn- leRQjYt`?{&Xkeypk)9;NbbfEqo09y#jdd-7nHFVq#gpCO zit1&RX?}3^-)CR1^q1gyN{s7wY|8jeTxzCbuHB?TWmZ^7xoOb+>gz-hjcOS@LS{oT zLy>t7PXz01MK6+iEaskY=?K?17R6WkF1{k{`i5zr2|>V!>)jQ-&^UrMBRo??yOx^E zWhV|li_G+`Vew+IIQOk;vA0Hxe)xO4y&|c%fc2OBN}6$6*K8% y}iD%Uf;%FF-<0NPnHf{ zS;o!wk7TG2HZ|D2VHJx@0jB(qb&)VAO%H?i^?&B-qzIgQ#5k{LHKHe_3idG3Ha8$- zWxwMDT;T|mOC7lg6A`(Fb#{W@C8qvo= QDIpM7>ez`WeUuARsP2Ro!F2o4=J1BZN4YumAy5KPlt5Ab zim{Ml)|1;Am1yOI84{J7UAZabaSPfOHQmA|Dy5|LX#YVu5 =~mO zasO(oxVN7vvSwY)z4~gVKj|&R {-g+ge;Tw+*OPK&O%LLQ8 <(^~e|1kh zzK=~ro6qmw!4yz4bDMq9)phB{7DVhPm(ikg#g*pU|E60C9%}*d)-_!y!`wpQbP;a5 z7&-lp$-(k1XU0HKxzkT&VFy$m0F^dW;@~BI=!-jmzLY!@!IS*3M|J>PVqp*P!}jk0 zw$Q@%_QU@4TXwzIV?pZaz2D?6qW4*tBpCc_V3`?bdc#}m@ZlVWc}~aO8Y5B?OANPW zk|j`7Oo&v1IqOH($poE>6Se*{zZ4HDk wk#M<>?{2eF=F>8hTnMW{bEF~v!LK+U z5P*wr-7==k4-3+5p1^cx5_S!s6ZjRb1%d%{K3c3H#BQ75sk_6(F1VGl?vQn!#`0$n z6 N$-+#l7-2Z1PzHmm}$2c~?|8KFk{lELo>*eTs z0RMk`U?4Cb|9=m^+23WK6pn*;bGZMSng6JZP&@aMBfb2Op~vMvH7^&4`oc0^#f*zN zOHl!KnNlpRWz~~k6BkhJZ<){~faw>px;sdwD2cnp r2~W$i9!C3`_E9eH4S9-OG{Zc7JUuXC p3h=<`xDB_uSpUg;Y_(MfnTs6MN@omnZ;i zA-AClh=|paSqg%^wXRBi78^|g93VU!IsEamuy^b1e~em}@nV(*W0MVryr#7`!Cj z+Q)Cu7f!Kd)n~sbRjU2b&H!;r8mCHpP`qJ=RUI*|Pw`&33%3Sr3Dy(XSo3^XI>zNi z1+7s9L15q)NdoY3av7?5T~01|%#1r3aGAKb ^kbdYQWoNau$ 01a4FeYRebW#T+Jd373vQ2N(pD&looRf*VCP42RXsHn9T3WpwQz9`?PZ -sqnIzKuIa{!En-29t(zg|@yTm hA&_^Y_@dLN9vEZ!%<~=CMF69_U`W09y!zXA79;l`a;!<} zL@C`z-g&LqgNpufdo+&r?2+1^seVSJ3~;L|I3i$Un!L;j-=#|fx3Ir;xd@`lEgMPc zl4dn(s|{AC_5;WkFHX6XXDM0!wP(uz9H`ct5p#PnH>1$VuFb%TAzZm2nuF(YSpwWr zi6^o^hOk} 7fZD`%9$h5+qD+ggce7S0F>`t#E#C1WUijVE zCO-0Xg^x;10K0qi5h18g9j~1K)`*+vh>W1m^p_Tar$?oNe$0v{OhX$V+t*Pwv#|c8 z@$i%j$E7yT7#(x@P_Ye!KW76}h6IwwbFeGS;Rf&zR0LzS_4;fFYXbC`RwQcct@xFq zF^V;kN3x1*<;g}`e6}iY%w_(K&i>4I*rCX*$BtHt;h~OJ`g1Q?qtQZUzS7hDfY>6| zTap+|poOI8V*Z0~Gh#lq+D@Av?f&HSsAtF2{0=e0=5Gj0d5)lK;4*U__t2oL&eDyo z8HpG+J3^Q`N>gSEL@ur`(3A;#B!x?xuzmHtdUYAHE)1159P226o2}cnpvgBjiBqYp z*$-<8gkvZ_u?#4%bx4e0e)+2=j>};|Efmy3f)tr;4-wSD{6vjK)&7qUwx}>Qx6gOE z+1><1ZL@$))Wn4{Q%mJ5F*`DP0F5a%&w_2QSjbrt*+Q|V`LVu~;!ms0$!k3ovD?}g z|7Z?jE-;hUh;766Nez|?OrY bJ=Zj6}L z0SrtvU&QRSH_~|vG7Ou(n8foJb4Z%kNqOS|kKwlCNGcDH6j3Vt6APKzVZ2XDVs(Ad zFRUxUD|vw>;->BvY_!}*%%~}(Dru2mqtq7 5i4 zbr2kL3(Ejzjz*=l@o_g+Yc@V~=(yXgCx0Jh<&Qzm-`7)I-7pwxB#L!?G#mJ)zp-lx zB<5(nyXMjefGW`_nSx|Vmo!5p4M0wCH~W?39P#zoAOger$}o@AmwoMLXxO#%bIY)d z49jTd%2=%`a3};XMmJ&%afr (+CKaeUlhU6bU` zqAV EP&+`zjmlj4h=GVLkL $iEEQTp TSR@7S)$&KK1Cf4P zFLhbt0j@zUlGQFI2Xo}^aF i z0|Nh`Jg*)Eim-CGzi1#ZccN4w1T-`DldLs|5}P+i*qRg7nuBr|Fc0Aw16g!Zb6Tis z35tu<3c>tgowkJW7ickW8Ubj{bxed3+RDUj9g-k~M3NY^PIR$*`?1 `Wsep;)o7GM~IR_pF8fDpNXJ)4O&f`fnXQRsi8 z;85fR7#3np1pWo+ m-EM9)2Ee=n%>qz6S-u80g=&D#HN z+?ahqg^VY_U5F@5w^&o{+8q=V!7(%g
u#|I!nQi)d1wZ;J#uo4A4?fwNSZQ ziC-?6U|ghxmV97G$n4$q6dF09em~Te2_bPac5UDXBj&3Y3{Q|9KW2SYsiv}6CW8M~ zJBy@G-9XX`FxCQm>sMty0TRJq{e81+UoW~GPK;5J?>~VePvMvCLQOH3zizXogb8W) zSg0Do$x>AN6_uUwh;>HNjGY?@*fT#MN(#?#P3*Dw2U_lab0=tglgQLg<2^shqc!fz zHr5kkp0af)j8N>g?|goH=z6&q4nqr+9!MRQb#&M|==B4{=i&TBcf9ipp|$@e^wV*X z7}6z=+My9AZ3+PcmC-=WAFHP$W)?QoSXSWDxLNX%MJS^g$_Q?#`pmb}OAVJbFdj*H z#(P#Kh;dx-Buyg{Lu@7JSFX{P@UB1$@{Cn^W>cPMN}eA@0lR=A6OMaKN`(m$8#dAS zTkcp1q3ta3fD&Iw;-5n)3G0YSUc=RAv)F-(<+a#))6rUt_#X2Q@brbNIa{2P<`u-c zC|O2Qw{cZW!ou@9w4mf{hBx}cgg7ZBM|nz)*&M2p;@|N~h4`Kv$Eq9+VuYkQ#K|F~ zf=&+Mxw*(uQ)mc_LdxX>
s8_H&ETC|un10QD$u<7?J#G9zSJ zW00;V@7*k^uv?Q*!hWesBq24~?(FD7`gpV$xhOIsZ<5zUu baT+n=jxV7_NFHBCKtbxGDylC5&X#L_^P~{2!26`UliedK%q}`%b>(De2K#puC z&17dSK{&wUH>J>9Sa<1a*Y~6hxmnAojMUWoR{F}!FSZ`Nl@0JRKVX2R8fQTSP$}(n zty8s&Q#HTlSr`x%u7v(+&w7BL;^mh0nb`ol01!lW%{KPczkTu#(|Vc>@L4}#)L&c& zvylik{D(5CGDjsa@xKfYg71OZ$W8T=Tl%30_&_$mL;ZkB3%Dv9;7)$P^DJO88{pda zd@5gH0nf}fp}y<~+}Q#imksbv07B81vyIL26IuCz04~i2c(Nbx5ev8^8{l9+;9>xJ zR=?k3ZJljC-0-fj-ap&erx^2yOd`cZa9FF)omI7P=PIn{J*bfuYJeZ=L_$6DlZBEQ zzvw?URb<_T1zevGWC6#8S;hh`bN$AQ#QN>Qy~A#kWIgLhg5}_Knb8u#BWWR|J1eC* z;oq9>Y+1OgSfG(PA)%EtKdshcBM33<^Dz&V2+Nk)#t~u55*cM@n=8c|Ni)cmD1q+= z8XYYk`>+U2#4WmAK3>{Q*c~i%@H#O^ce^IFd=&6)0Io~JU|0oPPr)w1a$e@ym?@V# z2rjfx+c;?DoX_fxYKcXd+%t4{$_oBTM$+*M=0su~Rxn6b5#h79t^1`hbd|XOW62x^ zm^r88rBck?J