• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: gltrace.proto
3 
4 package com.android.ide.eclipse.gltrace;
5 
6 public final class GLProtoBuf {
GLProtoBuf()7   private GLProtoBuf() {}
registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry)8   public static void registerAllExtensions(
9       com.google.protobuf.ExtensionRegistryLite registry) {
10   }
11   public static final class GLMessage extends
12       com.google.protobuf.GeneratedMessageLite {
13     // Use GLMessage.newBuilder() to construct.
GLMessage()14     private GLMessage() {
15       initFields();
16     }
GLMessage(boolean noInit)17     private GLMessage(boolean noInit) {}
18 
19     private static final GLMessage defaultInstance;
getDefaultInstance()20     public static GLMessage getDefaultInstance() {
21       return defaultInstance;
22     }
23 
24     @Override
getDefaultInstanceForType()25     public GLMessage getDefaultInstanceForType() {
26       return defaultInstance;
27     }
28 
29     public enum Function
30         implements com.google.protobuf.Internal.EnumLite {
31       glActiveTexture(0, 0),
32       glAlphaFunc(1, 1),
33       glAlphaFuncx(2, 2),
34       glAlphaFuncxOES(3, 3),
35       glAttachShader(4, 4),
36       glBeginPerfMonitorAMD(5, 5),
37       glBindAttribLocation(6, 6),
38       glBindBuffer(7, 7),
39       glBindFramebuffer(8, 8),
40       glBindFramebufferOES(9, 9),
41       glBindRenderbuffer(10, 10),
42       glBindRenderbufferOES(11, 11),
43       glBindTexture(12, 12),
44       glBindVertexArrayOES(13, 13),
45       glBlendColor(14, 14),
46       glBlendEquation(15, 15),
47       glBlendEquationOES(16, 16),
48       glBlendEquationSeparate(17, 17),
49       glBlendEquationSeparateOES(18, 18),
50       glBlendFunc(19, 19),
51       glBlendFuncSeparate(20, 20),
52       glBlendFuncSeparateOES(21, 21),
53       glBufferData(22, 22),
54       glBufferSubData(23, 23),
55       glCheckFramebufferStatus(24, 24),
56       glCheckFramebufferStatusOES(25, 25),
57       glClearColor(26, 26),
58       glClearColorx(27, 27),
59       glClearColorxOES(28, 28),
60       glClearDepthf(29, 29),
61       glClearDepthfOES(30, 30),
62       glClearDepthx(31, 31),
63       glClearDepthxOES(32, 32),
64       glClear(33, 33),
65       glClearStencil(34, 34),
66       glClientActiveTexture(35, 35),
67       glClipPlanef(36, 36),
68       glClipPlanefIMG(37, 37),
69       glClipPlanefOES(38, 38),
70       glClipPlanex(39, 39),
71       glClipPlanexIMG(40, 40),
72       glClipPlanexOES(41, 41),
73       glColor4f(42, 42),
74       glColor4ub(43, 43),
75       glColor4x(44, 44),
76       glColor4xOES(45, 45),
77       glColorMask(46, 46),
78       glColorPointer(47, 47),
79       glCompileShader(48, 48),
80       glCompressedTexImage2D(49, 49),
81       glCompressedTexImage3DOES(50, 50),
82       glCompressedTexSubImage2D(51, 51),
83       glCompressedTexSubImage3DOES(52, 52),
84       glCopyTexImage2D(53, 53),
85       glCopyTexSubImage2D(54, 54),
86       glCopyTexSubImage3DOES(55, 55),
87       glCoverageMaskNV(56, 56),
88       glCoverageOperationNV(57, 57),
89       glCreateProgram(58, 58),
90       glCreateShader(59, 59),
91       glCullFace(60, 60),
92       glCurrentPaletteMatrixOES(61, 61),
93       glDeleteBuffers(62, 62),
94       glDeleteFencesNV(63, 63),
95       glDeleteFramebuffers(64, 64),
96       glDeleteFramebuffersOES(65, 65),
97       glDeletePerfMonitorsAMD(66, 66),
98       glDeleteProgram(67, 67),
99       glDeleteRenderbuffers(68, 68),
100       glDeleteRenderbuffersOES(69, 69),
101       glDeleteShader(70, 70),
102       glDeleteTextures(71, 71),
103       glDeleteVertexArraysOES(72, 72),
104       glDepthFunc(73, 73),
105       glDepthMask(74, 74),
106       glDepthRangef(75, 75),
107       glDepthRangefOES(76, 76),
108       glDepthRangex(77, 77),
109       glDepthRangexOES(78, 78),
110       glDetachShader(79, 79),
111       glDisableClientState(80, 80),
112       glDisableDriverControlQCOM(81, 81),
113       glDisable(82, 82),
114       glDisableVertexAttribArray(83, 83),
115       glDiscardFramebufferEXT(84, 84),
116       glDrawArrays(85, 85),
117       glDrawElements(86, 86),
118       glDrawTexfOES(87, 87),
119       glDrawTexfvOES(88, 88),
120       glDrawTexiOES(89, 89),
121       glDrawTexivOES(90, 90),
122       glDrawTexsOES(91, 91),
123       glDrawTexsvOES(92, 92),
124       glDrawTexxOES(93, 93),
125       glDrawTexxvOES(94, 94),
126       glEGLImageTargetRenderbufferStorageOES(95, 95),
127       glEGLImageTargetTexture2DOES(96, 96),
128       glEnableClientState(97, 97),
129       glEnableDriverControlQCOM(98, 98),
130       glEnable(99, 99),
131       glEnableVertexAttribArray(100, 100),
132       glEndPerfMonitorAMD(101, 101),
133       glEndTilingQCOM(102, 102),
134       glExtGetBufferPointervQCOM(103, 103),
135       glExtGetBuffersQCOM(104, 104),
136       glExtGetFramebuffersQCOM(105, 105),
137       glExtGetProgramBinarySourceQCOM(106, 106),
138       glExtGetProgramsQCOM(107, 107),
139       glExtGetRenderbuffersQCOM(108, 108),
140       glExtGetShadersQCOM(109, 109),
141       glExtGetTexLevelParameterivQCOM(110, 110),
142       glExtGetTexSubImageQCOM(111, 111),
143       glExtGetTexturesQCOM(112, 112),
144       glExtIsProgramBinaryQCOM(113, 113),
145       glExtTexObjectStateOverrideiQCOM(114, 114),
146       glFinishFenceNV(115, 115),
147       glFinish(116, 116),
148       glFlush(117, 117),
149       glFogf(118, 118),
150       glFogfv(119, 119),
151       glFogx(120, 120),
152       glFogxOES(121, 121),
153       glFogxv(122, 122),
154       glFogxvOES(123, 123),
155       glFramebufferRenderbuffer(124, 124),
156       glFramebufferRenderbufferOES(125, 125),
157       glFramebufferTexture2D(126, 126),
158       glFramebufferTexture2DMultisampleIMG(127, 127),
159       glFramebufferTexture2DOES(128, 128),
160       glFramebufferTexture3DOES(129, 129),
161       glFrontFace(130, 130),
162       glFrustumf(131, 131),
163       glFrustumfOES(132, 132),
164       glFrustumx(133, 133),
165       glFrustumxOES(134, 134),
166       glGenBuffers(135, 135),
167       glGenerateMipmap(136, 136),
168       glGenerateMipmapOES(137, 137),
169       glGenFencesNV(138, 138),
170       glGenFramebuffers(139, 139),
171       glGenFramebuffersOES(140, 140),
172       glGenPerfMonitorsAMD(141, 141),
173       glGenRenderbuffers(142, 142),
174       glGenRenderbuffersOES(143, 143),
175       glGenTextures(144, 144),
176       glGenVertexArraysOES(145, 145),
177       glGetActiveAttrib(146, 146),
178       glGetActiveUniform(147, 147),
179       glGetAttachedShaders(148, 148),
180       glGetAttribLocation(149, 149),
181       glGetBooleanv(150, 150),
182       glGetBufferParameteriv(151, 151),
183       glGetBufferPointervOES(152, 152),
184       glGetClipPlanef(153, 153),
185       glGetClipPlanefOES(154, 154),
186       glGetClipPlanex(155, 155),
187       glGetClipPlanexOES(156, 156),
188       glGetDriverControlsQCOM(157, 157),
189       glGetDriverControlStringQCOM(158, 158),
190       glGetError(159, 159),
191       glGetFenceivNV(160, 160),
192       glGetFixedv(161, 161),
193       glGetFixedvOES(162, 162),
194       glGetFloatv(163, 163),
195       glGetFramebufferAttachmentParameteriv(164, 164),
196       glGetFramebufferAttachmentParameterivOES(165, 165),
197       glGetIntegerv(166, 166),
198       glGetLightfv(167, 167),
199       glGetLightxv(168, 168),
200       glGetLightxvOES(169, 169),
201       glGetMaterialfv(170, 170),
202       glGetMaterialxv(171, 171),
203       glGetMaterialxvOES(172, 172),
204       glGetPerfMonitorCounterDataAMD(173, 173),
205       glGetPerfMonitorCounterInfoAMD(174, 174),
206       glGetPerfMonitorCountersAMD(175, 175),
207       glGetPerfMonitorCounterStringAMD(176, 176),
208       glGetPerfMonitorGroupsAMD(177, 177),
209       glGetPerfMonitorGroupStringAMD(178, 178),
210       glGetPointerv(179, 179),
211       glGetProgramBinaryOES(180, 180),
212       glGetProgramInfoLog(181, 181),
213       glGetProgramiv(182, 182),
214       glGetRenderbufferParameteriv(183, 183),
215       glGetRenderbufferParameterivOES(184, 184),
216       glGetShaderInfoLog(185, 185),
217       glGetShaderiv(186, 186),
218       glGetShaderPrecisionFormat(187, 187),
219       glGetShaderSource(188, 188),
220       glGetString(189, 189),
221       glGetTexEnvfv(190, 190),
222       glGetTexEnviv(191, 191),
223       glGetTexEnvxv(192, 192),
224       glGetTexEnvxvOES(193, 193),
225       glGetTexGenfvOES(194, 194),
226       glGetTexGenivOES(195, 195),
227       glGetTexGenxvOES(196, 196),
228       glGetTexParameterfv(197, 197),
229       glGetTexParameteriv(198, 198),
230       glGetTexParameterxv(199, 199),
231       glGetTexParameterxvOES(200, 200),
232       glGetUniformfv(201, 201),
233       glGetUniformiv(202, 202),
234       glGetUniformLocation(203, 203),
235       glGetVertexAttribfv(204, 204),
236       glGetVertexAttribiv(205, 205),
237       glGetVertexAttribPointerv(206, 206),
238       glHint(207, 207),
239       glIsBuffer(208, 208),
240       glIsEnabled(209, 209),
241       glIsFenceNV(210, 210),
242       glIsFramebuffer(211, 211),
243       glIsFramebufferOES(212, 212),
244       glIsProgram(213, 213),
245       glIsRenderbuffer(214, 214),
246       glIsRenderbufferOES(215, 215),
247       glIsShader(216, 216),
248       glIsTexture(217, 217),
249       glIsVertexArrayOES(218, 218),
250       glLightf(219, 219),
251       glLightfv(220, 220),
252       glLightModelf(221, 221),
253       glLightModelfv(222, 222),
254       glLightModelx(223, 223),
255       glLightModelxOES(224, 224),
256       glLightModelxv(225, 225),
257       glLightModelxvOES(226, 226),
258       glLightx(227, 227),
259       glLightxOES(228, 228),
260       glLightxv(229, 229),
261       glLightxvOES(230, 230),
262       glLineWidth(231, 231),
263       glLineWidthx(232, 232),
264       glLineWidthxOES(233, 233),
265       glLinkProgram(234, 234),
266       glLoadIdentity(235, 235),
267       glLoadMatrixf(236, 236),
268       glLoadMatrixx(237, 237),
269       glLoadMatrixxOES(238, 238),
270       glLoadPaletteFromModelViewMatrixOES(239, 239),
271       glLogicOp(240, 240),
272       glMapBufferOES(241, 241),
273       glMaterialf(242, 242),
274       glMaterialfv(243, 243),
275       glMaterialx(244, 244),
276       glMaterialxOES(245, 245),
277       glMaterialxv(246, 246),
278       glMaterialxvOES(247, 247),
279       glMatrixIndexPointerOES(248, 248),
280       glMatrixMode(249, 249),
281       glMultiDrawArraysEXT(250, 250),
282       glMultiDrawElementsEXT(251, 251),
283       glMultiTexCoord4f(252, 252),
284       glMultiTexCoord4x(253, 253),
285       glMultiTexCoord4xOES(254, 254),
286       glMultMatrixf(255, 255),
287       glMultMatrixx(256, 256),
288       glMultMatrixxOES(257, 257),
289       glNormal3f(258, 258),
290       glNormal3x(259, 259),
291       glNormal3xOES(260, 260),
292       glNormalPointer(261, 261),
293       glOrthof(262, 262),
294       glOrthofOES(263, 263),
295       glOrthox(264, 264),
296       glOrthoxOES(265, 265),
297       glPixelStorei(266, 266),
298       glPointParameterf(267, 267),
299       glPointParameterfv(268, 268),
300       glPointParameterx(269, 269),
301       glPointParameterxOES(270, 270),
302       glPointParameterxv(271, 271),
303       glPointParameterxvOES(272, 272),
304       glPointSize(273, 273),
305       glPointSizePointerOES(274, 274),
306       glPointSizex(275, 275),
307       glPointSizexOES(276, 276),
308       glPolygonOffset(277, 277),
309       glPolygonOffsetx(278, 278),
310       glPolygonOffsetxOES(279, 279),
311       glPopMatrix(280, 280),
312       glProgramBinaryOES(281, 281),
313       glPushMatrix(282, 282),
314       glQueryMatrixxOES(283, 283),
315       glReadPixels(284, 284),
316       glReleaseShaderCompiler(285, 285),
317       glRenderbufferStorage(286, 286),
318       glRenderbufferStorageMultisampleIMG(287, 287),
319       glRenderbufferStorageOES(288, 288),
320       glRotatef(289, 289),
321       glRotatex(290, 290),
322       glRotatexOES(291, 291),
323       glSampleCoverage(292, 292),
324       glSampleCoveragex(293, 293),
325       glSampleCoveragexOES(294, 294),
326       glScalef(295, 295),
327       glScalex(296, 296),
328       glScalexOES(297, 297),
329       glScissor(298, 298),
330       glSelectPerfMonitorCountersAMD(299, 299),
331       glSetFenceNV(300, 300),
332       glShadeModel(301, 301),
333       glShaderBinary(302, 302),
334       glShaderSource(303, 303),
335       glStartTilingQCOM(304, 304),
336       glStencilFunc(305, 305),
337       glStencilFuncSeparate(306, 306),
338       glStencilMask(307, 307),
339       glStencilMaskSeparate(308, 308),
340       glStencilOp(309, 309),
341       glStencilOpSeparate(310, 310),
342       glTestFenceNV(311, 311),
343       glTexCoordPointer(312, 312),
344       glTexEnvf(313, 313),
345       glTexEnvfv(314, 314),
346       glTexEnvi(315, 315),
347       glTexEnviv(316, 316),
348       glTexEnvx(317, 317),
349       glTexEnvxOES(318, 318),
350       glTexEnvxv(319, 319),
351       glTexEnvxvOES(320, 320),
352       glTexGenfOES(321, 321),
353       glTexGenfvOES(322, 322),
354       glTexGeniOES(323, 323),
355       glTexGenivOES(324, 324),
356       glTexGenxOES(325, 325),
357       glTexGenxvOES(326, 326),
358       glTexImage2D(327, 327),
359       glTexImage3DOES(328, 328),
360       glTexParameterf(329, 329),
361       glTexParameterfv(330, 330),
362       glTexParameteri(331, 331),
363       glTexParameteriv(332, 332),
364       glTexParameterx(333, 333),
365       glTexParameterxOES(334, 334),
366       glTexParameterxv(335, 335),
367       glTexParameterxvOES(336, 336),
368       glTexSubImage2D(337, 337),
369       glTexSubImage3DOES(338, 338),
370       glTranslatef(339, 339),
371       glTranslatex(340, 340),
372       glTranslatexOES(341, 341),
373       glUniform1f(342, 342),
374       glUniform1fv(343, 343),
375       glUniform1i(344, 344),
376       glUniform1iv(345, 345),
377       glUniform2f(346, 346),
378       glUniform2fv(347, 347),
379       glUniform2i(348, 348),
380       glUniform2iv(349, 349),
381       glUniform3f(350, 350),
382       glUniform3fv(351, 351),
383       glUniform3i(352, 352),
384       glUniform3iv(353, 353),
385       glUniform4f(354, 354),
386       glUniform4fv(355, 355),
387       glUniform4i(356, 356),
388       glUniform4iv(357, 357),
389       glUniformMatrix2fv(358, 358),
390       glUniformMatrix3fv(359, 359),
391       glUniformMatrix4fv(360, 360),
392       glUnmapBufferOES(361, 361),
393       glUseProgram(362, 362),
394       glValidateProgram(363, 363),
395       glVertexAttrib1f(364, 364),
396       glVertexAttrib1fv(365, 365),
397       glVertexAttrib2f(366, 366),
398       glVertexAttrib2fv(367, 367),
399       glVertexAttrib3f(368, 368),
400       glVertexAttrib3fv(369, 369),
401       glVertexAttrib4f(370, 370),
402       glVertexAttrib4fv(371, 371),
403       glVertexAttribPointer(372, 372),
404       glVertexPointer(373, 373),
405       glViewport(374, 374),
406       glWeightPointerOES(375, 375),
407       glActiveShaderProgramEXT(376, 502),
408       glAlphaFuncQCOM(377, 503),
409       glBeginQueryEXT(378, 504),
410       glBindProgramPipelineEXT(379, 505),
411       glBlitFramebufferANGLE(380, 506),
412       glCreateShaderProgramvEXT(381, 507),
413       glDeleteProgramPipelinesEXT(382, 508),
414       glDeleteQueriesEXT(383, 509),
415       glDrawBuffersNV(384, 510),
416       glEndQueryEXT(385, 511),
417       glFramebufferTexture2DMultisampleEXT(386, 512),
418       glGenProgramPipelinesEXT(387, 513),
419       glGenQueriesEXT(388, 514),
420       glGetGraphicsResetStatusEXT(389, 515),
421       glGetObjectLabelEXT(390, 516),
422       glGetProgramPipelineInfoLogEXT(391, 517),
423       glGetProgramPipelineivEXT(392, 518),
424       glGetQueryObjectuivEXT(393, 519),
425       glGetQueryivEXT(394, 520),
426       glGetnUniformfvEXT(395, 521),
427       glInsertEventMarkerEXT(397, 522),
428       glIsProgramPipelineEXT(398, 523),
429       glIsQueryEXT(399, 524),
430       glLabelObjectEXT(400, 525),
431       glPopGroupMarkerEXT(401, 526),
432       glProgramParameteriEXT(402, 527),
433       glProgramUniform1fEXT(403, 528),
434       glProgramUniform1fvEXT(404, 529),
435       glProgramUniform1iEXT(405, 530),
436       glProgramUniform1ivEXT(406, 531),
437       glProgramUniform2fEXT(407, 532),
438       glProgramUniform2fvEXT(408, 533),
439       glProgramUniform2iEXT(409, 534),
440       glProgramUniform2ivEXT(410, 535),
441       glProgramUniform3fEXT(411, 536),
442       glProgramUniform3fvEXT(412, 537),
443       glProgramUniform3iEXT(413, 538),
444       glProgramUniform3ivEXT(414, 539),
445       glProgramUniform4fEXT(415, 540),
446       glProgramUniform4fvEXT(416, 541),
447       glProgramUniform4iEXT(417, 542),
448       glProgramUniform4ivEXT(418, 543),
449       glProgramUniformMatrix2fvEXT(419, 544),
450       glProgramUniformMatrix3fvEXT(420, 545),
451       glProgramUniformMatrix4fvEXT(421, 546),
452       glPushGroupMarkerEXT(422, 547),
453       glReadBufferNV(423, 548),
454       glReadnPixelsEXT(424, 549),
455       glRenderbufferStorageMultisampleANGLE(425, 550),
456       glRenderbufferStorageMultisampleAPPLE(426, 551),
457       glRenderbufferStorageMultisampleEXT(427, 552),
458       glResolveMultisampleFramebufferAPPLE(428, 553),
459       glTexStorage1DEXT(429, 554),
460       glTexStorage2DEXT(430, 555),
461       glTexStorage3DEXT(431, 556),
462       glTextureStorage1DEXT(432, 557),
463       glTextureStorage2DEXT(433, 558),
464       glTextureStorage3DEXT(434, 559),
465       glUseProgramStagesEXT(435, 560),
466       glValidateProgramPipelineEXT(436, 561),
467       eglGetDisplay(437, 2000),
468       eglInitialize(438, 2001),
469       eglTerminate(439, 2002),
470       eglGetConfigs(440, 2003),
471       eglChooseConfig(441, 2004),
472       eglGetConfigAttrib(442, 2005),
473       eglCreateWindowSurface(443, 2006),
474       eglCreatePixmapSurface(444, 2007),
475       eglCreatePbufferSurface(445, 2008),
476       eglDestroySurface(446, 2009),
477       eglQuerySurface(447, 2010),
478       eglCreateContext(448, 2011),
479       eglDestroyContext(449, 2012),
480       eglMakeCurrent(450, 2013),
481       eglGetCurrentContext(451, 2014),
482       eglGetCurrentSurface(452, 2015),
483       eglGetCurrentDisplay(453, 2016),
484       eglQueryContext(454, 2017),
485       eglWaitGL(455, 2018),
486       eglWaitNative(456, 2019),
487       eglSwapBuffers(457, 2020),
488       eglCopyBuffers(458, 2021),
489       eglGetError(459, 2022),
490       eglQueryString(460, 2023),
491       eglGetProcAddress(461, 2024),
492       eglSurfaceAttrib(462, 2025),
493       eglBindTexImage(463, 2026),
494       eglReleaseTexImage(464, 2027),
495       eglSwapInterval(465, 2028),
496       eglBindAPI(466, 2029),
497       eglQueryAPI(467, 2030),
498       eglWaitClient(468, 2031),
499       eglReleaseThread(469, 2032),
500       eglCreatePbufferFromClientBuffer(470, 2033),
501       eglLockSurfaceKHR(471, 2034),
502       eglUnlockSurfaceKHR(472, 2035),
503       eglCreateImageKHR(473, 2036),
504       eglDestroyImageKHR(474, 2037),
505       eglCreateSyncKHR(475, 2038),
506       eglDestroySyncKHR(476, 2039),
507       eglClientWaitSyncKHR(477, 2040),
508       eglGetSyncAttribKHR(478, 2041),
509       eglSetSwapRectangleANDROID(479, 2042),
510       eglGetRenderBufferANDROID(480, 2043),
511       eglGetSystemTimeFrequencyNV(481, 2044),
512       eglGetSystemTimeNV(482, 2045),
513       invalid(483, 3000),
514       glVertexAttribPointerData(484, 3001),
515       ;
516 
517       public static final Function glGetnUniformivEXT = glGetnUniformfvEXT;
518 
519       @Override
getNumber()520     public final int getNumber() { return value; }
521 
valueOf(int value)522       public static Function valueOf(int value) {
523         switch (value) {
524           case 0: return glActiveTexture;
525           case 1: return glAlphaFunc;
526           case 2: return glAlphaFuncx;
527           case 3: return glAlphaFuncxOES;
528           case 4: return glAttachShader;
529           case 5: return glBeginPerfMonitorAMD;
530           case 6: return glBindAttribLocation;
531           case 7: return glBindBuffer;
532           case 8: return glBindFramebuffer;
533           case 9: return glBindFramebufferOES;
534           case 10: return glBindRenderbuffer;
535           case 11: return glBindRenderbufferOES;
536           case 12: return glBindTexture;
537           case 13: return glBindVertexArrayOES;
538           case 14: return glBlendColor;
539           case 15: return glBlendEquation;
540           case 16: return glBlendEquationOES;
541           case 17: return glBlendEquationSeparate;
542           case 18: return glBlendEquationSeparateOES;
543           case 19: return glBlendFunc;
544           case 20: return glBlendFuncSeparate;
545           case 21: return glBlendFuncSeparateOES;
546           case 22: return glBufferData;
547           case 23: return glBufferSubData;
548           case 24: return glCheckFramebufferStatus;
549           case 25: return glCheckFramebufferStatusOES;
550           case 26: return glClearColor;
551           case 27: return glClearColorx;
552           case 28: return glClearColorxOES;
553           case 29: return glClearDepthf;
554           case 30: return glClearDepthfOES;
555           case 31: return glClearDepthx;
556           case 32: return glClearDepthxOES;
557           case 33: return glClear;
558           case 34: return glClearStencil;
559           case 35: return glClientActiveTexture;
560           case 36: return glClipPlanef;
561           case 37: return glClipPlanefIMG;
562           case 38: return glClipPlanefOES;
563           case 39: return glClipPlanex;
564           case 40: return glClipPlanexIMG;
565           case 41: return glClipPlanexOES;
566           case 42: return glColor4f;
567           case 43: return glColor4ub;
568           case 44: return glColor4x;
569           case 45: return glColor4xOES;
570           case 46: return glColorMask;
571           case 47: return glColorPointer;
572           case 48: return glCompileShader;
573           case 49: return glCompressedTexImage2D;
574           case 50: return glCompressedTexImage3DOES;
575           case 51: return glCompressedTexSubImage2D;
576           case 52: return glCompressedTexSubImage3DOES;
577           case 53: return glCopyTexImage2D;
578           case 54: return glCopyTexSubImage2D;
579           case 55: return glCopyTexSubImage3DOES;
580           case 56: return glCoverageMaskNV;
581           case 57: return glCoverageOperationNV;
582           case 58: return glCreateProgram;
583           case 59: return glCreateShader;
584           case 60: return glCullFace;
585           case 61: return glCurrentPaletteMatrixOES;
586           case 62: return glDeleteBuffers;
587           case 63: return glDeleteFencesNV;
588           case 64: return glDeleteFramebuffers;
589           case 65: return glDeleteFramebuffersOES;
590           case 66: return glDeletePerfMonitorsAMD;
591           case 67: return glDeleteProgram;
592           case 68: return glDeleteRenderbuffers;
593           case 69: return glDeleteRenderbuffersOES;
594           case 70: return glDeleteShader;
595           case 71: return glDeleteTextures;
596           case 72: return glDeleteVertexArraysOES;
597           case 73: return glDepthFunc;
598           case 74: return glDepthMask;
599           case 75: return glDepthRangef;
600           case 76: return glDepthRangefOES;
601           case 77: return glDepthRangex;
602           case 78: return glDepthRangexOES;
603           case 79: return glDetachShader;
604           case 80: return glDisableClientState;
605           case 81: return glDisableDriverControlQCOM;
606           case 82: return glDisable;
607           case 83: return glDisableVertexAttribArray;
608           case 84: return glDiscardFramebufferEXT;
609           case 85: return glDrawArrays;
610           case 86: return glDrawElements;
611           case 87: return glDrawTexfOES;
612           case 88: return glDrawTexfvOES;
613           case 89: return glDrawTexiOES;
614           case 90: return glDrawTexivOES;
615           case 91: return glDrawTexsOES;
616           case 92: return glDrawTexsvOES;
617           case 93: return glDrawTexxOES;
618           case 94: return glDrawTexxvOES;
619           case 95: return glEGLImageTargetRenderbufferStorageOES;
620           case 96: return glEGLImageTargetTexture2DOES;
621           case 97: return glEnableClientState;
622           case 98: return glEnableDriverControlQCOM;
623           case 99: return glEnable;
624           case 100: return glEnableVertexAttribArray;
625           case 101: return glEndPerfMonitorAMD;
626           case 102: return glEndTilingQCOM;
627           case 103: return glExtGetBufferPointervQCOM;
628           case 104: return glExtGetBuffersQCOM;
629           case 105: return glExtGetFramebuffersQCOM;
630           case 106: return glExtGetProgramBinarySourceQCOM;
631           case 107: return glExtGetProgramsQCOM;
632           case 108: return glExtGetRenderbuffersQCOM;
633           case 109: return glExtGetShadersQCOM;
634           case 110: return glExtGetTexLevelParameterivQCOM;
635           case 111: return glExtGetTexSubImageQCOM;
636           case 112: return glExtGetTexturesQCOM;
637           case 113: return glExtIsProgramBinaryQCOM;
638           case 114: return glExtTexObjectStateOverrideiQCOM;
639           case 115: return glFinishFenceNV;
640           case 116: return glFinish;
641           case 117: return glFlush;
642           case 118: return glFogf;
643           case 119: return glFogfv;
644           case 120: return glFogx;
645           case 121: return glFogxOES;
646           case 122: return glFogxv;
647           case 123: return glFogxvOES;
648           case 124: return glFramebufferRenderbuffer;
649           case 125: return glFramebufferRenderbufferOES;
650           case 126: return glFramebufferTexture2D;
651           case 127: return glFramebufferTexture2DMultisampleIMG;
652           case 128: return glFramebufferTexture2DOES;
653           case 129: return glFramebufferTexture3DOES;
654           case 130: return glFrontFace;
655           case 131: return glFrustumf;
656           case 132: return glFrustumfOES;
657           case 133: return glFrustumx;
658           case 134: return glFrustumxOES;
659           case 135: return glGenBuffers;
660           case 136: return glGenerateMipmap;
661           case 137: return glGenerateMipmapOES;
662           case 138: return glGenFencesNV;
663           case 139: return glGenFramebuffers;
664           case 140: return glGenFramebuffersOES;
665           case 141: return glGenPerfMonitorsAMD;
666           case 142: return glGenRenderbuffers;
667           case 143: return glGenRenderbuffersOES;
668           case 144: return glGenTextures;
669           case 145: return glGenVertexArraysOES;
670           case 146: return glGetActiveAttrib;
671           case 147: return glGetActiveUniform;
672           case 148: return glGetAttachedShaders;
673           case 149: return glGetAttribLocation;
674           case 150: return glGetBooleanv;
675           case 151: return glGetBufferParameteriv;
676           case 152: return glGetBufferPointervOES;
677           case 153: return glGetClipPlanef;
678           case 154: return glGetClipPlanefOES;
679           case 155: return glGetClipPlanex;
680           case 156: return glGetClipPlanexOES;
681           case 157: return glGetDriverControlsQCOM;
682           case 158: return glGetDriverControlStringQCOM;
683           case 159: return glGetError;
684           case 160: return glGetFenceivNV;
685           case 161: return glGetFixedv;
686           case 162: return glGetFixedvOES;
687           case 163: return glGetFloatv;
688           case 164: return glGetFramebufferAttachmentParameteriv;
689           case 165: return glGetFramebufferAttachmentParameterivOES;
690           case 166: return glGetIntegerv;
691           case 167: return glGetLightfv;
692           case 168: return glGetLightxv;
693           case 169: return glGetLightxvOES;
694           case 170: return glGetMaterialfv;
695           case 171: return glGetMaterialxv;
696           case 172: return glGetMaterialxvOES;
697           case 173: return glGetPerfMonitorCounterDataAMD;
698           case 174: return glGetPerfMonitorCounterInfoAMD;
699           case 175: return glGetPerfMonitorCountersAMD;
700           case 176: return glGetPerfMonitorCounterStringAMD;
701           case 177: return glGetPerfMonitorGroupsAMD;
702           case 178: return glGetPerfMonitorGroupStringAMD;
703           case 179: return glGetPointerv;
704           case 180: return glGetProgramBinaryOES;
705           case 181: return glGetProgramInfoLog;
706           case 182: return glGetProgramiv;
707           case 183: return glGetRenderbufferParameteriv;
708           case 184: return glGetRenderbufferParameterivOES;
709           case 185: return glGetShaderInfoLog;
710           case 186: return glGetShaderiv;
711           case 187: return glGetShaderPrecisionFormat;
712           case 188: return glGetShaderSource;
713           case 189: return glGetString;
714           case 190: return glGetTexEnvfv;
715           case 191: return glGetTexEnviv;
716           case 192: return glGetTexEnvxv;
717           case 193: return glGetTexEnvxvOES;
718           case 194: return glGetTexGenfvOES;
719           case 195: return glGetTexGenivOES;
720           case 196: return glGetTexGenxvOES;
721           case 197: return glGetTexParameterfv;
722           case 198: return glGetTexParameteriv;
723           case 199: return glGetTexParameterxv;
724           case 200: return glGetTexParameterxvOES;
725           case 201: return glGetUniformfv;
726           case 202: return glGetUniformiv;
727           case 203: return glGetUniformLocation;
728           case 204: return glGetVertexAttribfv;
729           case 205: return glGetVertexAttribiv;
730           case 206: return glGetVertexAttribPointerv;
731           case 207: return glHint;
732           case 208: return glIsBuffer;
733           case 209: return glIsEnabled;
734           case 210: return glIsFenceNV;
735           case 211: return glIsFramebuffer;
736           case 212: return glIsFramebufferOES;
737           case 213: return glIsProgram;
738           case 214: return glIsRenderbuffer;
739           case 215: return glIsRenderbufferOES;
740           case 216: return glIsShader;
741           case 217: return glIsTexture;
742           case 218: return glIsVertexArrayOES;
743           case 219: return glLightf;
744           case 220: return glLightfv;
745           case 221: return glLightModelf;
746           case 222: return glLightModelfv;
747           case 223: return glLightModelx;
748           case 224: return glLightModelxOES;
749           case 225: return glLightModelxv;
750           case 226: return glLightModelxvOES;
751           case 227: return glLightx;
752           case 228: return glLightxOES;
753           case 229: return glLightxv;
754           case 230: return glLightxvOES;
755           case 231: return glLineWidth;
756           case 232: return glLineWidthx;
757           case 233: return glLineWidthxOES;
758           case 234: return glLinkProgram;
759           case 235: return glLoadIdentity;
760           case 236: return glLoadMatrixf;
761           case 237: return glLoadMatrixx;
762           case 238: return glLoadMatrixxOES;
763           case 239: return glLoadPaletteFromModelViewMatrixOES;
764           case 240: return glLogicOp;
765           case 241: return glMapBufferOES;
766           case 242: return glMaterialf;
767           case 243: return glMaterialfv;
768           case 244: return glMaterialx;
769           case 245: return glMaterialxOES;
770           case 246: return glMaterialxv;
771           case 247: return glMaterialxvOES;
772           case 248: return glMatrixIndexPointerOES;
773           case 249: return glMatrixMode;
774           case 250: return glMultiDrawArraysEXT;
775           case 251: return glMultiDrawElementsEXT;
776           case 252: return glMultiTexCoord4f;
777           case 253: return glMultiTexCoord4x;
778           case 254: return glMultiTexCoord4xOES;
779           case 255: return glMultMatrixf;
780           case 256: return glMultMatrixx;
781           case 257: return glMultMatrixxOES;
782           case 258: return glNormal3f;
783           case 259: return glNormal3x;
784           case 260: return glNormal3xOES;
785           case 261: return glNormalPointer;
786           case 262: return glOrthof;
787           case 263: return glOrthofOES;
788           case 264: return glOrthox;
789           case 265: return glOrthoxOES;
790           case 266: return glPixelStorei;
791           case 267: return glPointParameterf;
792           case 268: return glPointParameterfv;
793           case 269: return glPointParameterx;
794           case 270: return glPointParameterxOES;
795           case 271: return glPointParameterxv;
796           case 272: return glPointParameterxvOES;
797           case 273: return glPointSize;
798           case 274: return glPointSizePointerOES;
799           case 275: return glPointSizex;
800           case 276: return glPointSizexOES;
801           case 277: return glPolygonOffset;
802           case 278: return glPolygonOffsetx;
803           case 279: return glPolygonOffsetxOES;
804           case 280: return glPopMatrix;
805           case 281: return glProgramBinaryOES;
806           case 282: return glPushMatrix;
807           case 283: return glQueryMatrixxOES;
808           case 284: return glReadPixels;
809           case 285: return glReleaseShaderCompiler;
810           case 286: return glRenderbufferStorage;
811           case 287: return glRenderbufferStorageMultisampleIMG;
812           case 288: return glRenderbufferStorageOES;
813           case 289: return glRotatef;
814           case 290: return glRotatex;
815           case 291: return glRotatexOES;
816           case 292: return glSampleCoverage;
817           case 293: return glSampleCoveragex;
818           case 294: return glSampleCoveragexOES;
819           case 295: return glScalef;
820           case 296: return glScalex;
821           case 297: return glScalexOES;
822           case 298: return glScissor;
823           case 299: return glSelectPerfMonitorCountersAMD;
824           case 300: return glSetFenceNV;
825           case 301: return glShadeModel;
826           case 302: return glShaderBinary;
827           case 303: return glShaderSource;
828           case 304: return glStartTilingQCOM;
829           case 305: return glStencilFunc;
830           case 306: return glStencilFuncSeparate;
831           case 307: return glStencilMask;
832           case 308: return glStencilMaskSeparate;
833           case 309: return glStencilOp;
834           case 310: return glStencilOpSeparate;
835           case 311: return glTestFenceNV;
836           case 312: return glTexCoordPointer;
837           case 313: return glTexEnvf;
838           case 314: return glTexEnvfv;
839           case 315: return glTexEnvi;
840           case 316: return glTexEnviv;
841           case 317: return glTexEnvx;
842           case 318: return glTexEnvxOES;
843           case 319: return glTexEnvxv;
844           case 320: return glTexEnvxvOES;
845           case 321: return glTexGenfOES;
846           case 322: return glTexGenfvOES;
847           case 323: return glTexGeniOES;
848           case 324: return glTexGenivOES;
849           case 325: return glTexGenxOES;
850           case 326: return glTexGenxvOES;
851           case 327: return glTexImage2D;
852           case 328: return glTexImage3DOES;
853           case 329: return glTexParameterf;
854           case 330: return glTexParameterfv;
855           case 331: return glTexParameteri;
856           case 332: return glTexParameteriv;
857           case 333: return glTexParameterx;
858           case 334: return glTexParameterxOES;
859           case 335: return glTexParameterxv;
860           case 336: return glTexParameterxvOES;
861           case 337: return glTexSubImage2D;
862           case 338: return glTexSubImage3DOES;
863           case 339: return glTranslatef;
864           case 340: return glTranslatex;
865           case 341: return glTranslatexOES;
866           case 342: return glUniform1f;
867           case 343: return glUniform1fv;
868           case 344: return glUniform1i;
869           case 345: return glUniform1iv;
870           case 346: return glUniform2f;
871           case 347: return glUniform2fv;
872           case 348: return glUniform2i;
873           case 349: return glUniform2iv;
874           case 350: return glUniform3f;
875           case 351: return glUniform3fv;
876           case 352: return glUniform3i;
877           case 353: return glUniform3iv;
878           case 354: return glUniform4f;
879           case 355: return glUniform4fv;
880           case 356: return glUniform4i;
881           case 357: return glUniform4iv;
882           case 358: return glUniformMatrix2fv;
883           case 359: return glUniformMatrix3fv;
884           case 360: return glUniformMatrix4fv;
885           case 361: return glUnmapBufferOES;
886           case 362: return glUseProgram;
887           case 363: return glValidateProgram;
888           case 364: return glVertexAttrib1f;
889           case 365: return glVertexAttrib1fv;
890           case 366: return glVertexAttrib2f;
891           case 367: return glVertexAttrib2fv;
892           case 368: return glVertexAttrib3f;
893           case 369: return glVertexAttrib3fv;
894           case 370: return glVertexAttrib4f;
895           case 371: return glVertexAttrib4fv;
896           case 372: return glVertexAttribPointer;
897           case 373: return glVertexPointer;
898           case 374: return glViewport;
899           case 375: return glWeightPointerOES;
900           case 502: return glActiveShaderProgramEXT;
901           case 503: return glAlphaFuncQCOM;
902           case 504: return glBeginQueryEXT;
903           case 505: return glBindProgramPipelineEXT;
904           case 506: return glBlitFramebufferANGLE;
905           case 507: return glCreateShaderProgramvEXT;
906           case 508: return glDeleteProgramPipelinesEXT;
907           case 509: return glDeleteQueriesEXT;
908           case 510: return glDrawBuffersNV;
909           case 511: return glEndQueryEXT;
910           case 512: return glFramebufferTexture2DMultisampleEXT;
911           case 513: return glGenProgramPipelinesEXT;
912           case 514: return glGenQueriesEXT;
913           case 515: return glGetGraphicsResetStatusEXT;
914           case 516: return glGetObjectLabelEXT;
915           case 517: return glGetProgramPipelineInfoLogEXT;
916           case 518: return glGetProgramPipelineivEXT;
917           case 519: return glGetQueryObjectuivEXT;
918           case 520: return glGetQueryivEXT;
919           case 521: return glGetnUniformfvEXT;
920           case 522: return glInsertEventMarkerEXT;
921           case 523: return glIsProgramPipelineEXT;
922           case 524: return glIsQueryEXT;
923           case 525: return glLabelObjectEXT;
924           case 526: return glPopGroupMarkerEXT;
925           case 527: return glProgramParameteriEXT;
926           case 528: return glProgramUniform1fEXT;
927           case 529: return glProgramUniform1fvEXT;
928           case 530: return glProgramUniform1iEXT;
929           case 531: return glProgramUniform1ivEXT;
930           case 532: return glProgramUniform2fEXT;
931           case 533: return glProgramUniform2fvEXT;
932           case 534: return glProgramUniform2iEXT;
933           case 535: return glProgramUniform2ivEXT;
934           case 536: return glProgramUniform3fEXT;
935           case 537: return glProgramUniform3fvEXT;
936           case 538: return glProgramUniform3iEXT;
937           case 539: return glProgramUniform3ivEXT;
938           case 540: return glProgramUniform4fEXT;
939           case 541: return glProgramUniform4fvEXT;
940           case 542: return glProgramUniform4iEXT;
941           case 543: return glProgramUniform4ivEXT;
942           case 544: return glProgramUniformMatrix2fvEXT;
943           case 545: return glProgramUniformMatrix3fvEXT;
944           case 546: return glProgramUniformMatrix4fvEXT;
945           case 547: return glPushGroupMarkerEXT;
946           case 548: return glReadBufferNV;
947           case 549: return glReadnPixelsEXT;
948           case 550: return glRenderbufferStorageMultisampleANGLE;
949           case 551: return glRenderbufferStorageMultisampleAPPLE;
950           case 552: return glRenderbufferStorageMultisampleEXT;
951           case 553: return glResolveMultisampleFramebufferAPPLE;
952           case 554: return glTexStorage1DEXT;
953           case 555: return glTexStorage2DEXT;
954           case 556: return glTexStorage3DEXT;
955           case 557: return glTextureStorage1DEXT;
956           case 558: return glTextureStorage2DEXT;
957           case 559: return glTextureStorage3DEXT;
958           case 560: return glUseProgramStagesEXT;
959           case 561: return glValidateProgramPipelineEXT;
960           case 2000: return eglGetDisplay;
961           case 2001: return eglInitialize;
962           case 2002: return eglTerminate;
963           case 2003: return eglGetConfigs;
964           case 2004: return eglChooseConfig;
965           case 2005: return eglGetConfigAttrib;
966           case 2006: return eglCreateWindowSurface;
967           case 2007: return eglCreatePixmapSurface;
968           case 2008: return eglCreatePbufferSurface;
969           case 2009: return eglDestroySurface;
970           case 2010: return eglQuerySurface;
971           case 2011: return eglCreateContext;
972           case 2012: return eglDestroyContext;
973           case 2013: return eglMakeCurrent;
974           case 2014: return eglGetCurrentContext;
975           case 2015: return eglGetCurrentSurface;
976           case 2016: return eglGetCurrentDisplay;
977           case 2017: return eglQueryContext;
978           case 2018: return eglWaitGL;
979           case 2019: return eglWaitNative;
980           case 2020: return eglSwapBuffers;
981           case 2021: return eglCopyBuffers;
982           case 2022: return eglGetError;
983           case 2023: return eglQueryString;
984           case 2024: return eglGetProcAddress;
985           case 2025: return eglSurfaceAttrib;
986           case 2026: return eglBindTexImage;
987           case 2027: return eglReleaseTexImage;
988           case 2028: return eglSwapInterval;
989           case 2029: return eglBindAPI;
990           case 2030: return eglQueryAPI;
991           case 2031: return eglWaitClient;
992           case 2032: return eglReleaseThread;
993           case 2033: return eglCreatePbufferFromClientBuffer;
994           case 2034: return eglLockSurfaceKHR;
995           case 2035: return eglUnlockSurfaceKHR;
996           case 2036: return eglCreateImageKHR;
997           case 2037: return eglDestroyImageKHR;
998           case 2038: return eglCreateSyncKHR;
999           case 2039: return eglDestroySyncKHR;
1000           case 2040: return eglClientWaitSyncKHR;
1001           case 2041: return eglGetSyncAttribKHR;
1002           case 2042: return eglSetSwapRectangleANDROID;
1003           case 2043: return eglGetRenderBufferANDROID;
1004           case 2044: return eglGetSystemTimeFrequencyNV;
1005           case 2045: return eglGetSystemTimeNV;
1006           case 3000: return invalid;
1007           case 3001: return glVertexAttribPointerData;
1008           default: return null;
1009         }
1010       }
1011 
1012       public static com.google.protobuf.Internal.EnumLiteMap<Function>
internalGetValueMap()1013           internalGetValueMap() {
1014         return internalValueMap;
1015       }
1016       private static com.google.protobuf.Internal.EnumLiteMap<Function>
1017           internalValueMap =
1018             new com.google.protobuf.Internal.EnumLiteMap<Function>() {
1019             @Override
1020             public Function findValueByNumber(int number) {
1021                 return Function.valueOf(number);
1022             }
1023       };
1024 
1025       private final int index;
1026       private final int value;
Function(int index, int value)1027       private Function(int index, int value) {
1028         this.index = index;
1029         this.value = value;
1030       }
1031 
1032       // @@protoc_insertion_point(enum_scope:android.gltrace.GLMessage.Function)
1033     }
1034 
1035     public static final class DataType extends
1036         com.google.protobuf.GeneratedMessageLite {
1037       // Use DataType.newBuilder() to construct.
DataType()1038       private DataType() {
1039         initFields();
1040       }
DataType(boolean noInit)1041       private DataType(boolean noInit) {}
1042 
1043       private static final DataType defaultInstance;
getDefaultInstance()1044       public static DataType getDefaultInstance() {
1045         return defaultInstance;
1046       }
1047 
1048       @Override
getDefaultInstanceForType()1049       public DataType getDefaultInstanceForType() {
1050         return defaultInstance;
1051       }
1052 
1053       public enum Type
1054           implements com.google.protobuf.Internal.EnumLite {
1055         VOID(0, 1),
1056         CHAR(1, 2),
1057         BYTE(2, 3),
1058         INT(3, 4),
1059         FLOAT(4, 5),
1060         BOOL(5, 6),
1061         ENUM(6, 7),
1062         ;
1063 
1064 
1065         @Override
getNumber()1066         public final int getNumber() { return value; }
1067 
valueOf(int value)1068         public static Type valueOf(int value) {
1069           switch (value) {
1070             case 1: return VOID;
1071             case 2: return CHAR;
1072             case 3: return BYTE;
1073             case 4: return INT;
1074             case 5: return FLOAT;
1075             case 6: return BOOL;
1076             case 7: return ENUM;
1077             default: return null;
1078           }
1079         }
1080 
1081         public static com.google.protobuf.Internal.EnumLiteMap<Type>
internalGetValueMap()1082             internalGetValueMap() {
1083           return internalValueMap;
1084         }
1085         private static com.google.protobuf.Internal.EnumLiteMap<Type>
1086             internalValueMap =
1087               new com.google.protobuf.Internal.EnumLiteMap<Type>() {
1088                 @Override
1089                 public Type findValueByNumber(int number) {
1090                   return Type.valueOf(number);
1091                 }
1092               };
1093 
1094         private final int index;
1095         private final int value;
Type(int index, int value)1096         private Type(int index, int value) {
1097           this.index = index;
1098           this.value = value;
1099         }
1100 
1101         // @@protoc_insertion_point(enum_scope:android.gltrace.GLMessage.DataType.Type)
1102       }
1103 
1104       // required .android.gltrace.GLMessage.DataType.Type type = 1 [default = VOID];
1105       public static final int TYPE_FIELD_NUMBER = 1;
1106       private boolean hasType;
1107       private com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType.Type type_;
hasType()1108       public boolean hasType() { return hasType; }
getType()1109       public com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType.Type getType() { return type_; }
1110 
1111       // required bool isArray = 2 [default = false];
1112       public static final int ISARRAY_FIELD_NUMBER = 2;
1113       private boolean hasIsArray;
1114       private boolean isArray_ = false;
hasIsArray()1115       public boolean hasIsArray() { return hasIsArray; }
getIsArray()1116       public boolean getIsArray() { return isArray_; }
1117 
1118       // repeated int32 intValue = 3;
1119       public static final int INTVALUE_FIELD_NUMBER = 3;
1120       private java.util.List<java.lang.Integer> intValue_ =
1121         java.util.Collections.emptyList();
getIntValueList()1122       public java.util.List<java.lang.Integer> getIntValueList() {
1123         return intValue_;
1124       }
getIntValueCount()1125       public int getIntValueCount() { return intValue_.size(); }
getIntValue(int index)1126       public int getIntValue(int index) {
1127         return intValue_.get(index);
1128       }
1129 
1130       // repeated float floatValue = 4;
1131       public static final int FLOATVALUE_FIELD_NUMBER = 4;
1132       private java.util.List<java.lang.Float> floatValue_ =
1133         java.util.Collections.emptyList();
getFloatValueList()1134       public java.util.List<java.lang.Float> getFloatValueList() {
1135         return floatValue_;
1136       }
getFloatValueCount()1137       public int getFloatValueCount() { return floatValue_.size(); }
getFloatValue(int index)1138       public float getFloatValue(int index) {
1139         return floatValue_.get(index);
1140       }
1141 
1142       // repeated bytes charValue = 5;
1143       public static final int CHARVALUE_FIELD_NUMBER = 5;
1144       private java.util.List<com.google.protobuf.ByteString> charValue_ =
1145         java.util.Collections.emptyList();
getCharValueList()1146       public java.util.List<com.google.protobuf.ByteString> getCharValueList() {
1147         return charValue_;
1148       }
getCharValueCount()1149       public int getCharValueCount() { return charValue_.size(); }
getCharValue(int index)1150       public com.google.protobuf.ByteString getCharValue(int index) {
1151         return charValue_.get(index);
1152       }
1153 
1154       // repeated bytes rawBytes = 6;
1155       public static final int RAWBYTES_FIELD_NUMBER = 6;
1156       private java.util.List<com.google.protobuf.ByteString> rawBytes_ =
1157         java.util.Collections.emptyList();
getRawBytesList()1158       public java.util.List<com.google.protobuf.ByteString> getRawBytesList() {
1159         return rawBytes_;
1160       }
getRawBytesCount()1161       public int getRawBytesCount() { return rawBytes_.size(); }
getRawBytes(int index)1162       public com.google.protobuf.ByteString getRawBytes(int index) {
1163         return rawBytes_.get(index);
1164       }
1165 
1166       // repeated bool boolValue = 7;
1167       public static final int BOOLVALUE_FIELD_NUMBER = 7;
1168       private java.util.List<java.lang.Boolean> boolValue_ =
1169         java.util.Collections.emptyList();
getBoolValueList()1170       public java.util.List<java.lang.Boolean> getBoolValueList() {
1171         return boolValue_;
1172       }
getBoolValueCount()1173       public int getBoolValueCount() { return boolValue_.size(); }
getBoolValue(int index)1174       public boolean getBoolValue(int index) {
1175         return boolValue_.get(index);
1176       }
1177 
initFields()1178       private void initFields() {
1179         type_ = com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType.Type.VOID;
1180       }
1181       @Override
isInitialized()1182     public final boolean isInitialized() {
1183         if (!hasType) return false;
1184         if (!hasIsArray) return false;
1185         return true;
1186       }
1187 
1188       @Override
writeTo(com.google.protobuf.CodedOutputStream output)1189     public void writeTo(com.google.protobuf.CodedOutputStream output)
1190                           throws java.io.IOException {
1191         getSerializedSize();
1192         if (hasType()) {
1193           output.writeEnum(1, getType().getNumber());
1194         }
1195         if (hasIsArray()) {
1196           output.writeBool(2, getIsArray());
1197         }
1198         for (int element : getIntValueList()) {
1199           output.writeInt32(3, element);
1200         }
1201         for (float element : getFloatValueList()) {
1202           output.writeFloat(4, element);
1203         }
1204         for (com.google.protobuf.ByteString element : getCharValueList()) {
1205           output.writeBytes(5, element);
1206         }
1207         for (com.google.protobuf.ByteString element : getRawBytesList()) {
1208           output.writeBytes(6, element);
1209         }
1210         for (boolean element : getBoolValueList()) {
1211           output.writeBool(7, element);
1212         }
1213       }
1214 
1215       private int memoizedSerializedSize = -1;
1216       @Override
getSerializedSize()1217     public int getSerializedSize() {
1218         int size = memoizedSerializedSize;
1219         if (size != -1) return size;
1220 
1221         size = 0;
1222         if (hasType()) {
1223           size += com.google.protobuf.CodedOutputStream
1224             .computeEnumSize(1, getType().getNumber());
1225         }
1226         if (hasIsArray()) {
1227           size += com.google.protobuf.CodedOutputStream
1228             .computeBoolSize(2, getIsArray());
1229         }
1230         {
1231           int dataSize = 0;
1232           for (int element : getIntValueList()) {
1233             dataSize += com.google.protobuf.CodedOutputStream
1234               .computeInt32SizeNoTag(element);
1235           }
1236           size += dataSize;
1237           size += 1 * getIntValueList().size();
1238         }
1239         {
1240           int dataSize = 0;
1241           dataSize = 4 * getFloatValueList().size();
1242           size += dataSize;
1243           size += 1 * getFloatValueList().size();
1244         }
1245         {
1246           int dataSize = 0;
1247           for (com.google.protobuf.ByteString element : getCharValueList()) {
1248             dataSize += com.google.protobuf.CodedOutputStream
1249               .computeBytesSizeNoTag(element);
1250           }
1251           size += dataSize;
1252           size += 1 * getCharValueList().size();
1253         }
1254         {
1255           int dataSize = 0;
1256           for (com.google.protobuf.ByteString element : getRawBytesList()) {
1257             dataSize += com.google.protobuf.CodedOutputStream
1258               .computeBytesSizeNoTag(element);
1259           }
1260           size += dataSize;
1261           size += 1 * getRawBytesList().size();
1262         }
1263         {
1264           int dataSize = 0;
1265           dataSize = 1 * getBoolValueList().size();
1266           size += dataSize;
1267           size += 1 * getBoolValueList().size();
1268         }
1269         memoizedSerializedSize = size;
1270         return size;
1271       }
1272 
parseFrom( com.google.protobuf.ByteString data)1273       public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType parseFrom(
1274           com.google.protobuf.ByteString data)
1275           throws com.google.protobuf.InvalidProtocolBufferException {
1276         return newBuilder().mergeFrom(data).buildParsed();
1277       }
parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1278       public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType parseFrom(
1279           com.google.protobuf.ByteString data,
1280           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1281           throws com.google.protobuf.InvalidProtocolBufferException {
1282         return newBuilder().mergeFrom(data, extensionRegistry)
1283                  .buildParsed();
1284       }
parseFrom(byte[] data)1285       public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType parseFrom(byte[] data)
1286           throws com.google.protobuf.InvalidProtocolBufferException {
1287         return newBuilder().mergeFrom(data).buildParsed();
1288       }
parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1289       public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType parseFrom(
1290           byte[] data,
1291           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1292           throws com.google.protobuf.InvalidProtocolBufferException {
1293         return newBuilder().mergeFrom(data, extensionRegistry)
1294                  .buildParsed();
1295       }
parseFrom(java.io.InputStream input)1296       public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType parseFrom(java.io.InputStream input)
1297           throws java.io.IOException {
1298         return newBuilder().mergeFrom(input).buildParsed();
1299       }
parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1300       public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType parseFrom(
1301           java.io.InputStream input,
1302           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1303           throws java.io.IOException {
1304         return newBuilder().mergeFrom(input, extensionRegistry)
1305                  .buildParsed();
1306       }
parseDelimitedFrom(java.io.InputStream input)1307       public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType parseDelimitedFrom(java.io.InputStream input)
1308           throws java.io.IOException {
1309         Builder builder = newBuilder();
1310         if (builder.mergeDelimitedFrom(input)) {
1311           return builder.buildParsed();
1312         } else {
1313           return null;
1314         }
1315       }
parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1316       public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType parseDelimitedFrom(
1317           java.io.InputStream input,
1318           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1319           throws java.io.IOException {
1320         Builder builder = newBuilder();
1321         if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
1322           return builder.buildParsed();
1323         } else {
1324           return null;
1325         }
1326       }
parseFrom( com.google.protobuf.CodedInputStream input)1327       public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType parseFrom(
1328           com.google.protobuf.CodedInputStream input)
1329           throws java.io.IOException {
1330         return newBuilder().mergeFrom(input).buildParsed();
1331       }
parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1332       public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType parseFrom(
1333           com.google.protobuf.CodedInputStream input,
1334           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1335           throws java.io.IOException {
1336         return newBuilder().mergeFrom(input, extensionRegistry)
1337                  .buildParsed();
1338       }
1339 
newBuilder()1340       public static Builder newBuilder() { return Builder.create(); }
1341       @Override
newBuilderForType()1342     public Builder newBuilderForType() { return newBuilder(); }
newBuilder(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType prototype)1343       public static Builder newBuilder(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType prototype) {
1344         return newBuilder().mergeFrom(prototype);
1345       }
1346       @Override
toBuilder()1347     public Builder toBuilder() { return newBuilder(this); }
1348 
1349       public static final class Builder extends
1350           com.google.protobuf.GeneratedMessageLite.Builder<
1351             com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType, Builder> {
1352         private com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType result;
1353 
1354         // Construct using com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType.newBuilder()
Builder()1355         private Builder() {}
1356 
create()1357         private static Builder create() {
1358           Builder builder = new Builder();
1359           builder.result = new com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType();
1360           return builder;
1361         }
1362 
1363         @Override
internalGetResult()1364         protected com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType internalGetResult() {
1365           return result;
1366         }
1367 
1368         @Override
clear()1369         public Builder clear() {
1370           if (result == null) {
1371             throw new IllegalStateException(
1372               "Cannot call clear() after build().");
1373           }
1374           result = new com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType();
1375           return this;
1376         }
1377 
1378         @Override
clone()1379         public Builder clone() {
1380           return create().mergeFrom(result);
1381         }
1382 
1383         @Override
getDefaultInstanceForType()1384         public com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType getDefaultInstanceForType() {
1385           return com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType.getDefaultInstance();
1386         }
1387 
1388         @Override
isInitialized()1389         public boolean isInitialized() {
1390           return result.isInitialized();
1391         }
1392         @Override
build()1393         public com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType build() {
1394           if (result != null && !isInitialized()) {
1395             throw newUninitializedMessageException(result);
1396           }
1397           return buildPartial();
1398         }
1399 
buildParsed()1400         private com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType buildParsed()
1401             throws com.google.protobuf.InvalidProtocolBufferException {
1402           if (!isInitialized()) {
1403             throw newUninitializedMessageException(
1404               result).asInvalidProtocolBufferException();
1405           }
1406           return buildPartial();
1407         }
1408 
1409         @Override
buildPartial()1410         public com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType buildPartial() {
1411           if (result == null) {
1412             throw new IllegalStateException(
1413               "build() has already been called on this Builder.");
1414           }
1415           if (result.intValue_ != java.util.Collections.EMPTY_LIST) {
1416             result.intValue_ =
1417               java.util.Collections.unmodifiableList(result.intValue_);
1418           }
1419           if (result.floatValue_ != java.util.Collections.EMPTY_LIST) {
1420             result.floatValue_ =
1421               java.util.Collections.unmodifiableList(result.floatValue_);
1422           }
1423           if (result.charValue_ != java.util.Collections.EMPTY_LIST) {
1424             result.charValue_ =
1425               java.util.Collections.unmodifiableList(result.charValue_);
1426           }
1427           if (result.rawBytes_ != java.util.Collections.EMPTY_LIST) {
1428             result.rawBytes_ =
1429               java.util.Collections.unmodifiableList(result.rawBytes_);
1430           }
1431           if (result.boolValue_ != java.util.Collections.EMPTY_LIST) {
1432             result.boolValue_ =
1433               java.util.Collections.unmodifiableList(result.boolValue_);
1434           }
1435           com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType returnMe = result;
1436           result = null;
1437           return returnMe;
1438         }
1439 
1440         @Override
mergeFrom(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType other)1441         public Builder mergeFrom(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType other) {
1442           if (other == com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType.getDefaultInstance()) return this;
1443           if (other.hasType()) {
1444             setType(other.getType());
1445           }
1446           if (other.hasIsArray()) {
1447             setIsArray(other.getIsArray());
1448           }
1449           if (!other.intValue_.isEmpty()) {
1450             if (result.intValue_.isEmpty()) {
1451               result.intValue_ = new java.util.ArrayList<java.lang.Integer>();
1452             }
1453             result.intValue_.addAll(other.intValue_);
1454           }
1455           if (!other.floatValue_.isEmpty()) {
1456             if (result.floatValue_.isEmpty()) {
1457               result.floatValue_ = new java.util.ArrayList<java.lang.Float>();
1458             }
1459             result.floatValue_.addAll(other.floatValue_);
1460           }
1461           if (!other.charValue_.isEmpty()) {
1462             if (result.charValue_.isEmpty()) {
1463               result.charValue_ = new java.util.ArrayList<com.google.protobuf.ByteString>();
1464             }
1465             result.charValue_.addAll(other.charValue_);
1466           }
1467           if (!other.rawBytes_.isEmpty()) {
1468             if (result.rawBytes_.isEmpty()) {
1469               result.rawBytes_ = new java.util.ArrayList<com.google.protobuf.ByteString>();
1470             }
1471             result.rawBytes_.addAll(other.rawBytes_);
1472           }
1473           if (!other.boolValue_.isEmpty()) {
1474             if (result.boolValue_.isEmpty()) {
1475               result.boolValue_ = new java.util.ArrayList<java.lang.Boolean>();
1476             }
1477             result.boolValue_.addAll(other.boolValue_);
1478           }
1479           return this;
1480         }
1481 
1482         @Override
mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1483         public Builder mergeFrom(
1484             com.google.protobuf.CodedInputStream input,
1485             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1486             throws java.io.IOException {
1487           while (true) {
1488             int tag = input.readTag();
1489             switch (tag) {
1490               case 0:
1491                 return this;
1492               default: {
1493                 if (!parseUnknownField(input, extensionRegistry, tag)) {
1494                   return this;
1495                 }
1496                 break;
1497               }
1498               case 8: {
1499                 int rawValue = input.readEnum();
1500                 com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType.Type value = com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType.Type.valueOf(rawValue);
1501                 if (value != null) {
1502                   setType(value);
1503                 }
1504                 break;
1505               }
1506               case 16: {
1507                 setIsArray(input.readBool());
1508                 break;
1509               }
1510               case 24: {
1511                 addIntValue(input.readInt32());
1512                 break;
1513               }
1514               case 26: {
1515                 int length = input.readRawVarint32();
1516                 int limit = input.pushLimit(length);
1517                 while (input.getBytesUntilLimit() > 0) {
1518                   addIntValue(input.readInt32());
1519                 }
1520                 input.popLimit(limit);
1521                 break;
1522               }
1523               case 37: {
1524                 addFloatValue(input.readFloat());
1525                 break;
1526               }
1527               case 34: {
1528                 int length = input.readRawVarint32();
1529                 int limit = input.pushLimit(length);
1530                 while (input.getBytesUntilLimit() > 0) {
1531                   addFloatValue(input.readFloat());
1532                 }
1533                 input.popLimit(limit);
1534                 break;
1535               }
1536               case 42: {
1537                 addCharValue(input.readBytes());
1538                 break;
1539               }
1540               case 50: {
1541                 addRawBytes(input.readBytes());
1542                 break;
1543               }
1544               case 56: {
1545                 addBoolValue(input.readBool());
1546                 break;
1547               }
1548               case 58: {
1549                 int length = input.readRawVarint32();
1550                 int limit = input.pushLimit(length);
1551                 while (input.getBytesUntilLimit() > 0) {
1552                   addBoolValue(input.readBool());
1553                 }
1554                 input.popLimit(limit);
1555                 break;
1556               }
1557             }
1558           }
1559         }
1560 
1561 
1562         // required .android.gltrace.GLMessage.DataType.Type type = 1 [default = VOID];
hasType()1563         public boolean hasType() {
1564           return result.hasType();
1565         }
getType()1566         public com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType.Type getType() {
1567           return result.getType();
1568         }
setType(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType.Type value)1569         public Builder setType(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType.Type value) {
1570           if (value == null) {
1571             throw new NullPointerException();
1572           }
1573           result.hasType = true;
1574           result.type_ = value;
1575           return this;
1576         }
clearType()1577         public Builder clearType() {
1578           result.hasType = false;
1579           result.type_ = com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType.Type.VOID;
1580           return this;
1581         }
1582 
1583         // required bool isArray = 2 [default = false];
hasIsArray()1584         public boolean hasIsArray() {
1585           return result.hasIsArray();
1586         }
getIsArray()1587         public boolean getIsArray() {
1588           return result.getIsArray();
1589         }
setIsArray(boolean value)1590         public Builder setIsArray(boolean value) {
1591           result.hasIsArray = true;
1592           result.isArray_ = value;
1593           return this;
1594         }
clearIsArray()1595         public Builder clearIsArray() {
1596           result.hasIsArray = false;
1597           result.isArray_ = false;
1598           return this;
1599         }
1600 
1601         // repeated int32 intValue = 3;
getIntValueList()1602         public java.util.List<java.lang.Integer> getIntValueList() {
1603           return java.util.Collections.unmodifiableList(result.intValue_);
1604         }
getIntValueCount()1605         public int getIntValueCount() {
1606           return result.getIntValueCount();
1607         }
getIntValue(int index)1608         public int getIntValue(int index) {
1609           return result.getIntValue(index);
1610         }
setIntValue(int index, int value)1611         public Builder setIntValue(int index, int value) {
1612           result.intValue_.set(index, value);
1613           return this;
1614         }
addIntValue(int value)1615         public Builder addIntValue(int value) {
1616           if (result.intValue_.isEmpty()) {
1617             result.intValue_ = new java.util.ArrayList<java.lang.Integer>();
1618           }
1619           result.intValue_.add(value);
1620           return this;
1621         }
addAllIntValue( java.lang.Iterable<? extends java.lang.Integer> values)1622         public Builder addAllIntValue(
1623             java.lang.Iterable<? extends java.lang.Integer> values) {
1624           if (result.intValue_.isEmpty()) {
1625             result.intValue_ = new java.util.ArrayList<java.lang.Integer>();
1626           }
1627           super.addAll(values, result.intValue_);
1628           return this;
1629         }
clearIntValue()1630         public Builder clearIntValue() {
1631           result.intValue_ = java.util.Collections.emptyList();
1632           return this;
1633         }
1634 
1635         // repeated float floatValue = 4;
getFloatValueList()1636         public java.util.List<java.lang.Float> getFloatValueList() {
1637           return java.util.Collections.unmodifiableList(result.floatValue_);
1638         }
getFloatValueCount()1639         public int getFloatValueCount() {
1640           return result.getFloatValueCount();
1641         }
getFloatValue(int index)1642         public float getFloatValue(int index) {
1643           return result.getFloatValue(index);
1644         }
setFloatValue(int index, float value)1645         public Builder setFloatValue(int index, float value) {
1646           result.floatValue_.set(index, value);
1647           return this;
1648         }
addFloatValue(float value)1649         public Builder addFloatValue(float value) {
1650           if (result.floatValue_.isEmpty()) {
1651             result.floatValue_ = new java.util.ArrayList<java.lang.Float>();
1652           }
1653           result.floatValue_.add(value);
1654           return this;
1655         }
addAllFloatValue( java.lang.Iterable<? extends java.lang.Float> values)1656         public Builder addAllFloatValue(
1657             java.lang.Iterable<? extends java.lang.Float> values) {
1658           if (result.floatValue_.isEmpty()) {
1659             result.floatValue_ = new java.util.ArrayList<java.lang.Float>();
1660           }
1661           super.addAll(values, result.floatValue_);
1662           return this;
1663         }
clearFloatValue()1664         public Builder clearFloatValue() {
1665           result.floatValue_ = java.util.Collections.emptyList();
1666           return this;
1667         }
1668 
1669         // repeated bytes charValue = 5;
getCharValueList()1670         public java.util.List<com.google.protobuf.ByteString> getCharValueList() {
1671           return java.util.Collections.unmodifiableList(result.charValue_);
1672         }
getCharValueCount()1673         public int getCharValueCount() {
1674           return result.getCharValueCount();
1675         }
getCharValue(int index)1676         public com.google.protobuf.ByteString getCharValue(int index) {
1677           return result.getCharValue(index);
1678         }
setCharValue(int index, com.google.protobuf.ByteString value)1679         public Builder setCharValue(int index, com.google.protobuf.ByteString value) {
1680           if (value == null) {
1681     throw new NullPointerException();
1682   }
1683   result.charValue_.set(index, value);
1684           return this;
1685         }
addCharValue(com.google.protobuf.ByteString value)1686         public Builder addCharValue(com.google.protobuf.ByteString value) {
1687           if (value == null) {
1688     throw new NullPointerException();
1689   }
1690   if (result.charValue_.isEmpty()) {
1691             result.charValue_ = new java.util.ArrayList<com.google.protobuf.ByteString>();
1692           }
1693           result.charValue_.add(value);
1694           return this;
1695         }
addAllCharValue( java.lang.Iterable<? extends com.google.protobuf.ByteString> values)1696         public Builder addAllCharValue(
1697             java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
1698           if (result.charValue_.isEmpty()) {
1699             result.charValue_ = new java.util.ArrayList<com.google.protobuf.ByteString>();
1700           }
1701           super.addAll(values, result.charValue_);
1702           return this;
1703         }
clearCharValue()1704         public Builder clearCharValue() {
1705           result.charValue_ = java.util.Collections.emptyList();
1706           return this;
1707         }
1708 
1709         // repeated bytes rawBytes = 6;
getRawBytesList()1710         public java.util.List<com.google.protobuf.ByteString> getRawBytesList() {
1711           return java.util.Collections.unmodifiableList(result.rawBytes_);
1712         }
getRawBytesCount()1713         public int getRawBytesCount() {
1714           return result.getRawBytesCount();
1715         }
getRawBytes(int index)1716         public com.google.protobuf.ByteString getRawBytes(int index) {
1717           return result.getRawBytes(index);
1718         }
setRawBytes(int index, com.google.protobuf.ByteString value)1719         public Builder setRawBytes(int index, com.google.protobuf.ByteString value) {
1720           if (value == null) {
1721     throw new NullPointerException();
1722   }
1723   result.rawBytes_.set(index, value);
1724           return this;
1725         }
addRawBytes(com.google.protobuf.ByteString value)1726         public Builder addRawBytes(com.google.protobuf.ByteString value) {
1727           if (value == null) {
1728     throw new NullPointerException();
1729   }
1730   if (result.rawBytes_.isEmpty()) {
1731             result.rawBytes_ = new java.util.ArrayList<com.google.protobuf.ByteString>();
1732           }
1733           result.rawBytes_.add(value);
1734           return this;
1735         }
addAllRawBytes( java.lang.Iterable<? extends com.google.protobuf.ByteString> values)1736         public Builder addAllRawBytes(
1737             java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
1738           if (result.rawBytes_.isEmpty()) {
1739             result.rawBytes_ = new java.util.ArrayList<com.google.protobuf.ByteString>();
1740           }
1741           super.addAll(values, result.rawBytes_);
1742           return this;
1743         }
clearRawBytes()1744         public Builder clearRawBytes() {
1745           result.rawBytes_ = java.util.Collections.emptyList();
1746           return this;
1747         }
1748 
1749         // repeated bool boolValue = 7;
getBoolValueList()1750         public java.util.List<java.lang.Boolean> getBoolValueList() {
1751           return java.util.Collections.unmodifiableList(result.boolValue_);
1752         }
getBoolValueCount()1753         public int getBoolValueCount() {
1754           return result.getBoolValueCount();
1755         }
getBoolValue(int index)1756         public boolean getBoolValue(int index) {
1757           return result.getBoolValue(index);
1758         }
setBoolValue(int index, boolean value)1759         public Builder setBoolValue(int index, boolean value) {
1760           result.boolValue_.set(index, value);
1761           return this;
1762         }
addBoolValue(boolean value)1763         public Builder addBoolValue(boolean value) {
1764           if (result.boolValue_.isEmpty()) {
1765             result.boolValue_ = new java.util.ArrayList<java.lang.Boolean>();
1766           }
1767           result.boolValue_.add(value);
1768           return this;
1769         }
addAllBoolValue( java.lang.Iterable<? extends java.lang.Boolean> values)1770         public Builder addAllBoolValue(
1771             java.lang.Iterable<? extends java.lang.Boolean> values) {
1772           if (result.boolValue_.isEmpty()) {
1773             result.boolValue_ = new java.util.ArrayList<java.lang.Boolean>();
1774           }
1775           super.addAll(values, result.boolValue_);
1776           return this;
1777         }
clearBoolValue()1778         public Builder clearBoolValue() {
1779           result.boolValue_ = java.util.Collections.emptyList();
1780           return this;
1781         }
1782 
1783         // @@protoc_insertion_point(builder_scope:android.gltrace.GLMessage.DataType)
1784       }
1785 
1786       static {
1787         defaultInstance = new DataType(true);
com.android.ide.eclipse.gltrace.GLProtoBuf.internalForceInit()1788         com.android.ide.eclipse.gltrace.GLProtoBuf.internalForceInit();
defaultInstance.initFields()1789         defaultInstance.initFields();
1790       }
1791 
1792       // @@protoc_insertion_point(class_scope:android.gltrace.GLMessage.DataType)
1793     }
1794 
1795     public static final class FrameBuffer extends
1796         com.google.protobuf.GeneratedMessageLite {
1797       // Use FrameBuffer.newBuilder() to construct.
FrameBuffer()1798       private FrameBuffer() {
1799         initFields();
1800       }
FrameBuffer(boolean noInit)1801       private FrameBuffer(boolean noInit) {}
1802 
1803       private static final FrameBuffer defaultInstance;
getDefaultInstance()1804       public static FrameBuffer getDefaultInstance() {
1805         return defaultInstance;
1806       }
1807 
1808       @Override
getDefaultInstanceForType()1809       public FrameBuffer getDefaultInstanceForType() {
1810         return defaultInstance;
1811       }
1812 
1813       // required int32 width = 1;
1814       public static final int WIDTH_FIELD_NUMBER = 1;
1815       private boolean hasWidth;
1816       private int width_ = 0;
hasWidth()1817       public boolean hasWidth() { return hasWidth; }
getWidth()1818       public int getWidth() { return width_; }
1819 
1820       // required int32 height = 2;
1821       public static final int HEIGHT_FIELD_NUMBER = 2;
1822       private boolean hasHeight;
1823       private int height_ = 0;
hasHeight()1824       public boolean hasHeight() { return hasHeight; }
getHeight()1825       public int getHeight() { return height_; }
1826 
1827       // repeated bytes contents = 3;
1828       public static final int CONTENTS_FIELD_NUMBER = 3;
1829       private java.util.List<com.google.protobuf.ByteString> contents_ =
1830         java.util.Collections.emptyList();
getContentsList()1831       public java.util.List<com.google.protobuf.ByteString> getContentsList() {
1832         return contents_;
1833       }
getContentsCount()1834       public int getContentsCount() { return contents_.size(); }
getContents(int index)1835       public com.google.protobuf.ByteString getContents(int index) {
1836         return contents_.get(index);
1837       }
1838 
initFields()1839       private void initFields() {
1840       }
1841       @Override
isInitialized()1842     public final boolean isInitialized() {
1843         if (!hasWidth) return false;
1844         if (!hasHeight) return false;
1845         return true;
1846       }
1847 
1848       @Override
writeTo(com.google.protobuf.CodedOutputStream output)1849     public void writeTo(com.google.protobuf.CodedOutputStream output)
1850                           throws java.io.IOException {
1851         getSerializedSize();
1852         if (hasWidth()) {
1853           output.writeInt32(1, getWidth());
1854         }
1855         if (hasHeight()) {
1856           output.writeInt32(2, getHeight());
1857         }
1858         for (com.google.protobuf.ByteString element : getContentsList()) {
1859           output.writeBytes(3, element);
1860         }
1861       }
1862 
1863       private int memoizedSerializedSize = -1;
1864       @Override
getSerializedSize()1865     public int getSerializedSize() {
1866         int size = memoizedSerializedSize;
1867         if (size != -1) return size;
1868 
1869         size = 0;
1870         if (hasWidth()) {
1871           size += com.google.protobuf.CodedOutputStream
1872             .computeInt32Size(1, getWidth());
1873         }
1874         if (hasHeight()) {
1875           size += com.google.protobuf.CodedOutputStream
1876             .computeInt32Size(2, getHeight());
1877         }
1878         {
1879           int dataSize = 0;
1880           for (com.google.protobuf.ByteString element : getContentsList()) {
1881             dataSize += com.google.protobuf.CodedOutputStream
1882               .computeBytesSizeNoTag(element);
1883           }
1884           size += dataSize;
1885           size += 1 * getContentsList().size();
1886         }
1887         memoizedSerializedSize = size;
1888         return size;
1889       }
1890 
parseFrom( com.google.protobuf.ByteString data)1891       public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer parseFrom(
1892           com.google.protobuf.ByteString data)
1893           throws com.google.protobuf.InvalidProtocolBufferException {
1894         return newBuilder().mergeFrom(data).buildParsed();
1895       }
parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1896       public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer parseFrom(
1897           com.google.protobuf.ByteString data,
1898           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1899           throws com.google.protobuf.InvalidProtocolBufferException {
1900         return newBuilder().mergeFrom(data, extensionRegistry)
1901                  .buildParsed();
1902       }
parseFrom(byte[] data)1903       public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer parseFrom(byte[] data)
1904           throws com.google.protobuf.InvalidProtocolBufferException {
1905         return newBuilder().mergeFrom(data).buildParsed();
1906       }
parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1907       public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer parseFrom(
1908           byte[] data,
1909           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1910           throws com.google.protobuf.InvalidProtocolBufferException {
1911         return newBuilder().mergeFrom(data, extensionRegistry)
1912                  .buildParsed();
1913       }
parseFrom(java.io.InputStream input)1914       public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer parseFrom(java.io.InputStream input)
1915           throws java.io.IOException {
1916         return newBuilder().mergeFrom(input).buildParsed();
1917       }
parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1918       public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer parseFrom(
1919           java.io.InputStream input,
1920           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1921           throws java.io.IOException {
1922         return newBuilder().mergeFrom(input, extensionRegistry)
1923                  .buildParsed();
1924       }
parseDelimitedFrom(java.io.InputStream input)1925       public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer parseDelimitedFrom(java.io.InputStream input)
1926           throws java.io.IOException {
1927         Builder builder = newBuilder();
1928         if (builder.mergeDelimitedFrom(input)) {
1929           return builder.buildParsed();
1930         } else {
1931           return null;
1932         }
1933       }
parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1934       public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer parseDelimitedFrom(
1935           java.io.InputStream input,
1936           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1937           throws java.io.IOException {
1938         Builder builder = newBuilder();
1939         if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
1940           return builder.buildParsed();
1941         } else {
1942           return null;
1943         }
1944       }
parseFrom( com.google.protobuf.CodedInputStream input)1945       public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer parseFrom(
1946           com.google.protobuf.CodedInputStream input)
1947           throws java.io.IOException {
1948         return newBuilder().mergeFrom(input).buildParsed();
1949       }
parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1950       public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer parseFrom(
1951           com.google.protobuf.CodedInputStream input,
1952           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1953           throws java.io.IOException {
1954         return newBuilder().mergeFrom(input, extensionRegistry)
1955                  .buildParsed();
1956       }
1957 
newBuilder()1958       public static Builder newBuilder() { return Builder.create(); }
1959       @Override
newBuilderForType()1960     public Builder newBuilderForType() { return newBuilder(); }
newBuilder(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer prototype)1961       public static Builder newBuilder(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer prototype) {
1962         return newBuilder().mergeFrom(prototype);
1963       }
1964       @Override
toBuilder()1965     public Builder toBuilder() { return newBuilder(this); }
1966 
1967       public static final class Builder extends
1968           com.google.protobuf.GeneratedMessageLite.Builder<
1969             com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer, Builder> {
1970         private com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer result;
1971 
1972         // Construct using com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer.newBuilder()
Builder()1973         private Builder() {}
1974 
create()1975         private static Builder create() {
1976           Builder builder = new Builder();
1977           builder.result = new com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer();
1978           return builder;
1979         }
1980 
1981         @Override
internalGetResult()1982         protected com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer internalGetResult() {
1983           return result;
1984         }
1985 
1986         @Override
clear()1987         public Builder clear() {
1988           if (result == null) {
1989             throw new IllegalStateException(
1990               "Cannot call clear() after build().");
1991           }
1992           result = new com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer();
1993           return this;
1994         }
1995 
1996         @Override
clone()1997         public Builder clone() {
1998           return create().mergeFrom(result);
1999         }
2000 
2001         @Override
getDefaultInstanceForType()2002         public com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer getDefaultInstanceForType() {
2003           return com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer.getDefaultInstance();
2004         }
2005 
2006         @Override
isInitialized()2007         public boolean isInitialized() {
2008           return result.isInitialized();
2009         }
2010         @Override
build()2011         public com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer build() {
2012           if (result != null && !isInitialized()) {
2013             throw newUninitializedMessageException(result);
2014           }
2015           return buildPartial();
2016         }
2017 
buildParsed()2018         private com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer buildParsed()
2019             throws com.google.protobuf.InvalidProtocolBufferException {
2020           if (!isInitialized()) {
2021             throw newUninitializedMessageException(
2022               result).asInvalidProtocolBufferException();
2023           }
2024           return buildPartial();
2025         }
2026 
2027         @Override
buildPartial()2028         public com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer buildPartial() {
2029           if (result == null) {
2030             throw new IllegalStateException(
2031               "build() has already been called on this Builder.");
2032           }
2033           if (result.contents_ != java.util.Collections.EMPTY_LIST) {
2034             result.contents_ =
2035               java.util.Collections.unmodifiableList(result.contents_);
2036           }
2037           com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer returnMe = result;
2038           result = null;
2039           return returnMe;
2040         }
2041 
2042         @Override
mergeFrom(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer other)2043         public Builder mergeFrom(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer other) {
2044           if (other == com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer.getDefaultInstance()) return this;
2045           if (other.hasWidth()) {
2046             setWidth(other.getWidth());
2047           }
2048           if (other.hasHeight()) {
2049             setHeight(other.getHeight());
2050           }
2051           if (!other.contents_.isEmpty()) {
2052             if (result.contents_.isEmpty()) {
2053               result.contents_ = new java.util.ArrayList<com.google.protobuf.ByteString>();
2054             }
2055             result.contents_.addAll(other.contents_);
2056           }
2057           return this;
2058         }
2059 
2060         @Override
mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)2061         public Builder mergeFrom(
2062             com.google.protobuf.CodedInputStream input,
2063             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2064             throws java.io.IOException {
2065           while (true) {
2066             int tag = input.readTag();
2067             switch (tag) {
2068               case 0:
2069                 return this;
2070               default: {
2071                 if (!parseUnknownField(input, extensionRegistry, tag)) {
2072                   return this;
2073                 }
2074                 break;
2075               }
2076               case 8: {
2077                 setWidth(input.readInt32());
2078                 break;
2079               }
2080               case 16: {
2081                 setHeight(input.readInt32());
2082                 break;
2083               }
2084               case 26: {
2085                 addContents(input.readBytes());
2086                 break;
2087               }
2088             }
2089           }
2090         }
2091 
2092 
2093         // required int32 width = 1;
hasWidth()2094         public boolean hasWidth() {
2095           return result.hasWidth();
2096         }
getWidth()2097         public int getWidth() {
2098           return result.getWidth();
2099         }
setWidth(int value)2100         public Builder setWidth(int value) {
2101           result.hasWidth = true;
2102           result.width_ = value;
2103           return this;
2104         }
clearWidth()2105         public Builder clearWidth() {
2106           result.hasWidth = false;
2107           result.width_ = 0;
2108           return this;
2109         }
2110 
2111         // required int32 height = 2;
hasHeight()2112         public boolean hasHeight() {
2113           return result.hasHeight();
2114         }
getHeight()2115         public int getHeight() {
2116           return result.getHeight();
2117         }
setHeight(int value)2118         public Builder setHeight(int value) {
2119           result.hasHeight = true;
2120           result.height_ = value;
2121           return this;
2122         }
clearHeight()2123         public Builder clearHeight() {
2124           result.hasHeight = false;
2125           result.height_ = 0;
2126           return this;
2127         }
2128 
2129         // repeated bytes contents = 3;
getContentsList()2130         public java.util.List<com.google.protobuf.ByteString> getContentsList() {
2131           return java.util.Collections.unmodifiableList(result.contents_);
2132         }
getContentsCount()2133         public int getContentsCount() {
2134           return result.getContentsCount();
2135         }
getContents(int index)2136         public com.google.protobuf.ByteString getContents(int index) {
2137           return result.getContents(index);
2138         }
setContents(int index, com.google.protobuf.ByteString value)2139         public Builder setContents(int index, com.google.protobuf.ByteString value) {
2140           if (value == null) {
2141     throw new NullPointerException();
2142   }
2143   result.contents_.set(index, value);
2144           return this;
2145         }
addContents(com.google.protobuf.ByteString value)2146         public Builder addContents(com.google.protobuf.ByteString value) {
2147           if (value == null) {
2148     throw new NullPointerException();
2149   }
2150   if (result.contents_.isEmpty()) {
2151             result.contents_ = new java.util.ArrayList<com.google.protobuf.ByteString>();
2152           }
2153           result.contents_.add(value);
2154           return this;
2155         }
addAllContents( java.lang.Iterable<? extends com.google.protobuf.ByteString> values)2156         public Builder addAllContents(
2157             java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
2158           if (result.contents_.isEmpty()) {
2159             result.contents_ = new java.util.ArrayList<com.google.protobuf.ByteString>();
2160           }
2161           super.addAll(values, result.contents_);
2162           return this;
2163         }
clearContents()2164         public Builder clearContents() {
2165           result.contents_ = java.util.Collections.emptyList();
2166           return this;
2167         }
2168 
2169         // @@protoc_insertion_point(builder_scope:android.gltrace.GLMessage.FrameBuffer)
2170       }
2171 
2172       static {
2173         defaultInstance = new FrameBuffer(true);
com.android.ide.eclipse.gltrace.GLProtoBuf.internalForceInit()2174         com.android.ide.eclipse.gltrace.GLProtoBuf.internalForceInit();
defaultInstance.initFields()2175         defaultInstance.initFields();
2176       }
2177 
2178       // @@protoc_insertion_point(class_scope:android.gltrace.GLMessage.FrameBuffer)
2179     }
2180 
2181     // required int32 context_id = 1;
2182     public static final int CONTEXT_ID_FIELD_NUMBER = 1;
2183     private boolean hasContextId;
2184     private int contextId_ = 0;
hasContextId()2185     public boolean hasContextId() { return hasContextId; }
getContextId()2186     public int getContextId() { return contextId_; }
2187 
2188     // required int64 start_time = 2;
2189     public static final int START_TIME_FIELD_NUMBER = 2;
2190     private boolean hasStartTime;
2191     private long startTime_ = 0L;
hasStartTime()2192     public boolean hasStartTime() { return hasStartTime; }
getStartTime()2193     public long getStartTime() { return startTime_; }
2194 
2195     // required int32 duration = 3;
2196     public static final int DURATION_FIELD_NUMBER = 3;
2197     private boolean hasDuration;
2198     private int duration_ = 0;
hasDuration()2199     public boolean hasDuration() { return hasDuration; }
getDuration()2200     public int getDuration() { return duration_; }
2201 
2202     // required .android.gltrace.GLMessage.Function function = 4 [default = invalid];
2203     public static final int FUNCTION_FIELD_NUMBER = 4;
2204     private boolean hasFunction;
2205     private com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.Function function_;
hasFunction()2206     public boolean hasFunction() { return hasFunction; }
getFunction()2207     public com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.Function getFunction() { return function_; }
2208 
2209     // repeated .android.gltrace.GLMessage.DataType args = 5;
2210     public static final int ARGS_FIELD_NUMBER = 5;
2211     private java.util.List<com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType> args_ =
2212       java.util.Collections.emptyList();
getArgsList()2213     public java.util.List<com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType> getArgsList() {
2214       return args_;
2215     }
getArgsCount()2216     public int getArgsCount() { return args_.size(); }
getArgs(int index)2217     public com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType getArgs(int index) {
2218       return args_.get(index);
2219     }
2220 
2221     // optional .android.gltrace.GLMessage.DataType returnValue = 6;
2222     public static final int RETURNVALUE_FIELD_NUMBER = 6;
2223     private boolean hasReturnValue;
2224     private com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType returnValue_;
hasReturnValue()2225     public boolean hasReturnValue() { return hasReturnValue; }
getReturnValue()2226     public com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType getReturnValue() { return returnValue_; }
2227 
2228     // optional .android.gltrace.GLMessage.FrameBuffer fb = 7;
2229     public static final int FB_FIELD_NUMBER = 7;
2230     private boolean hasFb;
2231     private com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer fb_;
hasFb()2232     public boolean hasFb() { return hasFb; }
getFb()2233     public com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer getFb() { return fb_; }
2234 
2235     // optional int32 threadtime = 8;
2236     public static final int THREADTIME_FIELD_NUMBER = 8;
2237     private boolean hasThreadtime;
2238     private int threadtime_ = 0;
hasThreadtime()2239     public boolean hasThreadtime() { return hasThreadtime; }
getThreadtime()2240     public int getThreadtime() { return threadtime_; }
2241 
initFields()2242     private void initFields() {
2243       function_ = com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.Function.invalid;
2244       returnValue_ = com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType.getDefaultInstance();
2245       fb_ = com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer.getDefaultInstance();
2246     }
2247     @Override
isInitialized()2248     public final boolean isInitialized() {
2249       if (!hasContextId) return false;
2250       if (!hasStartTime) return false;
2251       if (!hasDuration) return false;
2252       if (!hasFunction) return false;
2253       for (com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType element : getArgsList()) {
2254         if (!element.isInitialized()) return false;
2255       }
2256       if (hasReturnValue()) {
2257         if (!getReturnValue().isInitialized()) return false;
2258       }
2259       if (hasFb()) {
2260         if (!getFb().isInitialized()) return false;
2261       }
2262       return true;
2263     }
2264 
2265     @Override
writeTo(com.google.protobuf.CodedOutputStream output)2266     public void writeTo(com.google.protobuf.CodedOutputStream output)
2267                         throws java.io.IOException {
2268       getSerializedSize();
2269       if (hasContextId()) {
2270         output.writeInt32(1, getContextId());
2271       }
2272       if (hasStartTime()) {
2273         output.writeInt64(2, getStartTime());
2274       }
2275       if (hasDuration()) {
2276         output.writeInt32(3, getDuration());
2277       }
2278       if (hasFunction()) {
2279         output.writeEnum(4, getFunction().getNumber());
2280       }
2281       for (com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType element : getArgsList()) {
2282         output.writeMessage(5, element);
2283       }
2284       if (hasReturnValue()) {
2285         output.writeMessage(6, getReturnValue());
2286       }
2287       if (hasFb()) {
2288         output.writeMessage(7, getFb());
2289       }
2290       if (hasThreadtime()) {
2291         output.writeInt32(8, getThreadtime());
2292       }
2293     }
2294 
2295     private int memoizedSerializedSize = -1;
2296     @Override
getSerializedSize()2297     public int getSerializedSize() {
2298       int size = memoizedSerializedSize;
2299       if (size != -1) return size;
2300 
2301       size = 0;
2302       if (hasContextId()) {
2303         size += com.google.protobuf.CodedOutputStream
2304           .computeInt32Size(1, getContextId());
2305       }
2306       if (hasStartTime()) {
2307         size += com.google.protobuf.CodedOutputStream
2308           .computeInt64Size(2, getStartTime());
2309       }
2310       if (hasDuration()) {
2311         size += com.google.protobuf.CodedOutputStream
2312           .computeInt32Size(3, getDuration());
2313       }
2314       if (hasFunction()) {
2315         size += com.google.protobuf.CodedOutputStream
2316           .computeEnumSize(4, getFunction().getNumber());
2317       }
2318       for (com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType element : getArgsList()) {
2319         size += com.google.protobuf.CodedOutputStream
2320           .computeMessageSize(5, element);
2321       }
2322       if (hasReturnValue()) {
2323         size += com.google.protobuf.CodedOutputStream
2324           .computeMessageSize(6, getReturnValue());
2325       }
2326       if (hasFb()) {
2327         size += com.google.protobuf.CodedOutputStream
2328           .computeMessageSize(7, getFb());
2329       }
2330       if (hasThreadtime()) {
2331         size += com.google.protobuf.CodedOutputStream
2332           .computeInt32Size(8, getThreadtime());
2333       }
2334       memoizedSerializedSize = size;
2335       return size;
2336     }
2337 
parseFrom( com.google.protobuf.ByteString data)2338     public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage parseFrom(
2339         com.google.protobuf.ByteString data)
2340         throws com.google.protobuf.InvalidProtocolBufferException {
2341       return newBuilder().mergeFrom(data).buildParsed();
2342     }
parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)2343     public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage parseFrom(
2344         com.google.protobuf.ByteString data,
2345         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2346         throws com.google.protobuf.InvalidProtocolBufferException {
2347       return newBuilder().mergeFrom(data, extensionRegistry)
2348                .buildParsed();
2349     }
parseFrom(byte[] data)2350     public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage parseFrom(byte[] data)
2351         throws com.google.protobuf.InvalidProtocolBufferException {
2352       return newBuilder().mergeFrom(data).buildParsed();
2353     }
parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)2354     public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage parseFrom(
2355         byte[] data,
2356         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2357         throws com.google.protobuf.InvalidProtocolBufferException {
2358       return newBuilder().mergeFrom(data, extensionRegistry)
2359                .buildParsed();
2360     }
parseFrom(java.io.InputStream input)2361     public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage parseFrom(java.io.InputStream input)
2362         throws java.io.IOException {
2363       return newBuilder().mergeFrom(input).buildParsed();
2364     }
parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)2365     public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage parseFrom(
2366         java.io.InputStream input,
2367         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2368         throws java.io.IOException {
2369       return newBuilder().mergeFrom(input, extensionRegistry)
2370                .buildParsed();
2371     }
parseDelimitedFrom(java.io.InputStream input)2372     public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage parseDelimitedFrom(java.io.InputStream input)
2373         throws java.io.IOException {
2374       Builder builder = newBuilder();
2375       if (builder.mergeDelimitedFrom(input)) {
2376         return builder.buildParsed();
2377       } else {
2378         return null;
2379       }
2380     }
parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)2381     public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage parseDelimitedFrom(
2382         java.io.InputStream input,
2383         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2384         throws java.io.IOException {
2385       Builder builder = newBuilder();
2386       if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
2387         return builder.buildParsed();
2388       } else {
2389         return null;
2390       }
2391     }
parseFrom( com.google.protobuf.CodedInputStream input)2392     public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage parseFrom(
2393         com.google.protobuf.CodedInputStream input)
2394         throws java.io.IOException {
2395       return newBuilder().mergeFrom(input).buildParsed();
2396     }
parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)2397     public static com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage parseFrom(
2398         com.google.protobuf.CodedInputStream input,
2399         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2400         throws java.io.IOException {
2401       return newBuilder().mergeFrom(input, extensionRegistry)
2402                .buildParsed();
2403     }
2404 
newBuilder()2405     public static Builder newBuilder() { return Builder.create(); }
2406     @Override
newBuilderForType()2407     public Builder newBuilderForType() { return newBuilder(); }
newBuilder(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage prototype)2408     public static Builder newBuilder(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage prototype) {
2409       return newBuilder().mergeFrom(prototype);
2410     }
2411     @Override
toBuilder()2412     public Builder toBuilder() { return newBuilder(this); }
2413 
2414     public static final class Builder extends
2415         com.google.protobuf.GeneratedMessageLite.Builder<
2416           com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage, Builder> {
2417       private com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage result;
2418 
2419       // Construct using com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.newBuilder()
Builder()2420       private Builder() {}
2421 
create()2422       private static Builder create() {
2423         Builder builder = new Builder();
2424         builder.result = new com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage();
2425         return builder;
2426       }
2427 
2428       @Override
internalGetResult()2429     protected com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage internalGetResult() {
2430         return result;
2431       }
2432 
2433       @Override
clear()2434     public Builder clear() {
2435         if (result == null) {
2436           throw new IllegalStateException(
2437             "Cannot call clear() after build().");
2438         }
2439         result = new com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage();
2440         return this;
2441       }
2442 
2443       @Override
clone()2444     public Builder clone() {
2445         return create().mergeFrom(result);
2446       }
2447 
2448       @Override
getDefaultInstanceForType()2449     public com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage getDefaultInstanceForType() {
2450         return com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.getDefaultInstance();
2451       }
2452 
2453       @Override
isInitialized()2454     public boolean isInitialized() {
2455         return result.isInitialized();
2456       }
2457       @Override
build()2458     public com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage build() {
2459         if (result != null && !isInitialized()) {
2460           throw newUninitializedMessageException(result);
2461         }
2462         return buildPartial();
2463       }
2464 
buildParsed()2465       private com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage buildParsed()
2466           throws com.google.protobuf.InvalidProtocolBufferException {
2467         if (!isInitialized()) {
2468           throw newUninitializedMessageException(
2469             result).asInvalidProtocolBufferException();
2470         }
2471         return buildPartial();
2472       }
2473 
2474       @Override
buildPartial()2475     public com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage buildPartial() {
2476         if (result == null) {
2477           throw new IllegalStateException(
2478             "build() has already been called on this Builder.");
2479         }
2480         if (result.args_ != java.util.Collections.EMPTY_LIST) {
2481           result.args_ =
2482             java.util.Collections.unmodifiableList(result.args_);
2483         }
2484         com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage returnMe = result;
2485         result = null;
2486         return returnMe;
2487       }
2488 
2489       @Override
mergeFrom(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage other)2490     public Builder mergeFrom(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage other) {
2491         if (other == com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.getDefaultInstance()) return this;
2492         if (other.hasContextId()) {
2493           setContextId(other.getContextId());
2494         }
2495         if (other.hasStartTime()) {
2496           setStartTime(other.getStartTime());
2497         }
2498         if (other.hasDuration()) {
2499           setDuration(other.getDuration());
2500         }
2501         if (other.hasFunction()) {
2502           setFunction(other.getFunction());
2503         }
2504         if (!other.args_.isEmpty()) {
2505           if (result.args_.isEmpty()) {
2506             result.args_ = new java.util.ArrayList<com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType>();
2507           }
2508           result.args_.addAll(other.args_);
2509         }
2510         if (other.hasReturnValue()) {
2511           mergeReturnValue(other.getReturnValue());
2512         }
2513         if (other.hasFb()) {
2514           mergeFb(other.getFb());
2515         }
2516         if (other.hasThreadtime()) {
2517           setThreadtime(other.getThreadtime());
2518         }
2519         return this;
2520       }
2521 
2522       @Override
mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)2523     public Builder mergeFrom(
2524           com.google.protobuf.CodedInputStream input,
2525           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2526           throws java.io.IOException {
2527         while (true) {
2528           int tag = input.readTag();
2529           switch (tag) {
2530             case 0:
2531               return this;
2532             default: {
2533               if (!parseUnknownField(input, extensionRegistry, tag)) {
2534                 return this;
2535               }
2536               break;
2537             }
2538             case 8: {
2539               setContextId(input.readInt32());
2540               break;
2541             }
2542             case 16: {
2543               setStartTime(input.readInt64());
2544               break;
2545             }
2546             case 24: {
2547               setDuration(input.readInt32());
2548               break;
2549             }
2550             case 32: {
2551               int rawValue = input.readEnum();
2552               com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.Function value = com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.Function.valueOf(rawValue);
2553               if (value != null) {
2554                 setFunction(value);
2555               }
2556               break;
2557             }
2558             case 42: {
2559               com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType.Builder subBuilder = com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType.newBuilder();
2560               input.readMessage(subBuilder, extensionRegistry);
2561               addArgs(subBuilder.buildPartial());
2562               break;
2563             }
2564             case 50: {
2565               com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType.Builder subBuilder = com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType.newBuilder();
2566               if (hasReturnValue()) {
2567                 subBuilder.mergeFrom(getReturnValue());
2568               }
2569               input.readMessage(subBuilder, extensionRegistry);
2570               setReturnValue(subBuilder.buildPartial());
2571               break;
2572             }
2573             case 58: {
2574               com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer.Builder subBuilder = com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer.newBuilder();
2575               if (hasFb()) {
2576                 subBuilder.mergeFrom(getFb());
2577               }
2578               input.readMessage(subBuilder, extensionRegistry);
2579               setFb(subBuilder.buildPartial());
2580               break;
2581             }
2582             case 64: {
2583               setThreadtime(input.readInt32());
2584               break;
2585             }
2586           }
2587         }
2588       }
2589 
2590 
2591       // required int32 context_id = 1;
hasContextId()2592       public boolean hasContextId() {
2593         return result.hasContextId();
2594       }
getContextId()2595       public int getContextId() {
2596         return result.getContextId();
2597       }
setContextId(int value)2598       public Builder setContextId(int value) {
2599         result.hasContextId = true;
2600         result.contextId_ = value;
2601         return this;
2602       }
clearContextId()2603       public Builder clearContextId() {
2604         result.hasContextId = false;
2605         result.contextId_ = 0;
2606         return this;
2607       }
2608 
2609       // required int64 start_time = 2;
hasStartTime()2610       public boolean hasStartTime() {
2611         return result.hasStartTime();
2612       }
getStartTime()2613       public long getStartTime() {
2614         return result.getStartTime();
2615       }
setStartTime(long value)2616       public Builder setStartTime(long value) {
2617         result.hasStartTime = true;
2618         result.startTime_ = value;
2619         return this;
2620       }
clearStartTime()2621       public Builder clearStartTime() {
2622         result.hasStartTime = false;
2623         result.startTime_ = 0L;
2624         return this;
2625       }
2626 
2627       // required int32 duration = 3;
hasDuration()2628       public boolean hasDuration() {
2629         return result.hasDuration();
2630       }
getDuration()2631       public int getDuration() {
2632         return result.getDuration();
2633       }
setDuration(int value)2634       public Builder setDuration(int value) {
2635         result.hasDuration = true;
2636         result.duration_ = value;
2637         return this;
2638       }
clearDuration()2639       public Builder clearDuration() {
2640         result.hasDuration = false;
2641         result.duration_ = 0;
2642         return this;
2643       }
2644 
2645       // required .android.gltrace.GLMessage.Function function = 4 [default = invalid];
hasFunction()2646       public boolean hasFunction() {
2647         return result.hasFunction();
2648       }
getFunction()2649       public com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.Function getFunction() {
2650         return result.getFunction();
2651       }
setFunction(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.Function value)2652       public Builder setFunction(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.Function value) {
2653         if (value == null) {
2654           throw new NullPointerException();
2655         }
2656         result.hasFunction = true;
2657         result.function_ = value;
2658         return this;
2659       }
clearFunction()2660       public Builder clearFunction() {
2661         result.hasFunction = false;
2662         result.function_ = com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.Function.invalid;
2663         return this;
2664       }
2665 
2666       // repeated .android.gltrace.GLMessage.DataType args = 5;
getArgsList()2667       public java.util.List<com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType> getArgsList() {
2668         return java.util.Collections.unmodifiableList(result.args_);
2669       }
getArgsCount()2670       public int getArgsCount() {
2671         return result.getArgsCount();
2672       }
getArgs(int index)2673       public com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType getArgs(int index) {
2674         return result.getArgs(index);
2675       }
setArgs(int index, com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType value)2676       public Builder setArgs(int index, com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType value) {
2677         if (value == null) {
2678           throw new NullPointerException();
2679         }
2680         result.args_.set(index, value);
2681         return this;
2682       }
setArgs(int index, com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType.Builder builderForValue)2683       public Builder setArgs(int index, com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType.Builder builderForValue) {
2684         result.args_.set(index, builderForValue.build());
2685         return this;
2686       }
addArgs(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType value)2687       public Builder addArgs(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType value) {
2688         if (value == null) {
2689           throw new NullPointerException();
2690         }
2691         if (result.args_.isEmpty()) {
2692           result.args_ = new java.util.ArrayList<com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType>();
2693         }
2694         result.args_.add(value);
2695         return this;
2696       }
addArgs(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType.Builder builderForValue)2697       public Builder addArgs(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType.Builder builderForValue) {
2698         if (result.args_.isEmpty()) {
2699           result.args_ = new java.util.ArrayList<com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType>();
2700         }
2701         result.args_.add(builderForValue.build());
2702         return this;
2703       }
addAllArgs( java.lang.Iterable<? extends com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType> values)2704       public Builder addAllArgs(
2705           java.lang.Iterable<? extends com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType> values) {
2706         if (result.args_.isEmpty()) {
2707           result.args_ = new java.util.ArrayList<com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType>();
2708         }
2709         super.addAll(values, result.args_);
2710         return this;
2711       }
clearArgs()2712       public Builder clearArgs() {
2713         result.args_ = java.util.Collections.emptyList();
2714         return this;
2715       }
2716 
2717       // optional .android.gltrace.GLMessage.DataType returnValue = 6;
hasReturnValue()2718       public boolean hasReturnValue() {
2719         return result.hasReturnValue();
2720       }
getReturnValue()2721       public com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType getReturnValue() {
2722         return result.getReturnValue();
2723       }
setReturnValue(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType value)2724       public Builder setReturnValue(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType value) {
2725         if (value == null) {
2726           throw new NullPointerException();
2727         }
2728         result.hasReturnValue = true;
2729         result.returnValue_ = value;
2730         return this;
2731       }
setReturnValue(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType.Builder builderForValue)2732       public Builder setReturnValue(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType.Builder builderForValue) {
2733         result.hasReturnValue = true;
2734         result.returnValue_ = builderForValue.build();
2735         return this;
2736       }
mergeReturnValue(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType value)2737       public Builder mergeReturnValue(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType value) {
2738         if (result.hasReturnValue() &&
2739             result.returnValue_ != com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType.getDefaultInstance()) {
2740           result.returnValue_ =
2741             com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType.newBuilder(result.returnValue_).mergeFrom(value).buildPartial();
2742         } else {
2743           result.returnValue_ = value;
2744         }
2745         result.hasReturnValue = true;
2746         return this;
2747       }
clearReturnValue()2748       public Builder clearReturnValue() {
2749         result.hasReturnValue = false;
2750         result.returnValue_ = com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType.getDefaultInstance();
2751         return this;
2752       }
2753 
2754       // optional .android.gltrace.GLMessage.FrameBuffer fb = 7;
hasFb()2755       public boolean hasFb() {
2756         return result.hasFb();
2757       }
getFb()2758       public com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer getFb() {
2759         return result.getFb();
2760       }
setFb(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer value)2761       public Builder setFb(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer value) {
2762         if (value == null) {
2763           throw new NullPointerException();
2764         }
2765         result.hasFb = true;
2766         result.fb_ = value;
2767         return this;
2768       }
setFb(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer.Builder builderForValue)2769       public Builder setFb(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer.Builder builderForValue) {
2770         result.hasFb = true;
2771         result.fb_ = builderForValue.build();
2772         return this;
2773       }
mergeFb(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer value)2774       public Builder mergeFb(com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer value) {
2775         if (result.hasFb() &&
2776             result.fb_ != com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer.getDefaultInstance()) {
2777           result.fb_ =
2778             com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer.newBuilder(result.fb_).mergeFrom(value).buildPartial();
2779         } else {
2780           result.fb_ = value;
2781         }
2782         result.hasFb = true;
2783         return this;
2784       }
clearFb()2785       public Builder clearFb() {
2786         result.hasFb = false;
2787         result.fb_ = com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.FrameBuffer.getDefaultInstance();
2788         return this;
2789       }
2790 
2791       // optional int32 threadtime = 8;
hasThreadtime()2792       public boolean hasThreadtime() {
2793         return result.hasThreadtime();
2794       }
getThreadtime()2795       public int getThreadtime() {
2796         return result.getThreadtime();
2797       }
setThreadtime(int value)2798       public Builder setThreadtime(int value) {
2799         result.hasThreadtime = true;
2800         result.threadtime_ = value;
2801         return this;
2802       }
clearThreadtime()2803       public Builder clearThreadtime() {
2804         result.hasThreadtime = false;
2805         result.threadtime_ = 0;
2806         return this;
2807       }
2808 
2809       // @@protoc_insertion_point(builder_scope:android.gltrace.GLMessage)
2810     }
2811 
2812     static {
2813       defaultInstance = new GLMessage(true);
com.android.ide.eclipse.gltrace.GLProtoBuf.internalForceInit()2814       com.android.ide.eclipse.gltrace.GLProtoBuf.internalForceInit();
defaultInstance.initFields()2815       defaultInstance.initFields();
2816     }
2817 
2818     // @@protoc_insertion_point(class_scope:android.gltrace.GLMessage)
2819   }
2820 
2821 
2822   static {
2823   }
2824 
internalForceInit()2825   public static void internalForceInit() {}
2826 
2827   // @@protoc_insertion_point(outer_class_scope)
2828 }
2829