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