1 // Generated by the protocol buffer compiler. DO NOT EDIT! 2 // source: debugger_message.proto 3 4 package com.android.ide.eclipse.gldebugger; 5 6 public final class DebuggerMessage { 7 private DebuggerMessage() {} 8 public static void registerAllExtensions( 9 com.google.protobuf.ExtensionRegistryLite registry) { 10 } 11 public static final class Message extends 12 com.google.protobuf.GeneratedMessageLite { 13 // Use Message.newBuilder() to construct. 14 private Message() { 15 initFields(); 16 } 17 private Message(boolean noInit) {} 18 19 private static final Message defaultInstance; 20 public static Message getDefaultInstance() { 21 return defaultInstance; 22 } 23 24 public Message getDefaultInstanceForType() { 25 return defaultInstance; 26 } 27 28 public enum Function 29 implements com.google.protobuf.Internal.EnumLite { 30 glActiveTexture(0, 0), 31 glAttachShader(1, 1), 32 glBindAttribLocation(2, 2), 33 glBindBuffer(3, 3), 34 glBindFramebuffer(4, 4), 35 glBindRenderbuffer(5, 5), 36 glBindTexture(6, 6), 37 glBlendColor(7, 7), 38 glBlendEquation(8, 8), 39 glBlendEquationSeparate(9, 9), 40 glBlendFunc(10, 10), 41 glBlendFuncSeparate(11, 11), 42 glBufferData(12, 12), 43 glBufferSubData(13, 13), 44 glCheckFramebufferStatus(14, 14), 45 glClear(15, 15), 46 glClearColor(16, 16), 47 glClearDepthf(17, 17), 48 glClearStencil(18, 18), 49 glColorMask(19, 19), 50 glCompileShader(20, 20), 51 glCompressedTexImage2D(21, 21), 52 glCompressedTexSubImage2D(22, 22), 53 glCopyTexImage2D(23, 23), 54 glCopyTexSubImage2D(24, 24), 55 glCreateProgram(25, 25), 56 glCreateShader(26, 26), 57 glCullFace(27, 27), 58 glDeleteBuffers(28, 28), 59 glDeleteFramebuffers(29, 29), 60 glDeleteProgram(30, 30), 61 glDeleteRenderbuffers(31, 31), 62 glDeleteShader(32, 32), 63 glDeleteTextures(33, 33), 64 glDepthFunc(34, 34), 65 glDepthMask(35, 35), 66 glDepthRangef(36, 36), 67 glDetachShader(37, 37), 68 glDisable(38, 38), 69 glDisableVertexAttribArray(39, 39), 70 glDrawArrays(40, 40), 71 glDrawElements(41, 41), 72 glEnable(42, 42), 73 glEnableVertexAttribArray(43, 43), 74 glFinish(44, 44), 75 glFlush(45, 45), 76 glFramebufferRenderbuffer(46, 46), 77 glFramebufferTexture2D(47, 47), 78 glFrontFace(48, 48), 79 glGenBuffers(49, 49), 80 glGenerateMipmap(50, 50), 81 glGenFramebuffers(51, 51), 82 glGenRenderbuffers(52, 52), 83 glGenTextures(53, 53), 84 glGetActiveAttrib(54, 54), 85 glGetActiveUniform(55, 55), 86 glGetAttachedShaders(56, 56), 87 glGetAttribLocation(57, 57), 88 glGetBooleanv(58, 58), 89 glGetBufferParameteriv(59, 59), 90 glGetError(60, 60), 91 glGetFloatv(61, 61), 92 glGetFramebufferAttachmentParameteriv(62, 62), 93 glGetIntegerv(63, 63), 94 glGetProgramiv(64, 64), 95 glGetProgramInfoLog(65, 65), 96 glGetRenderbufferParameteriv(66, 66), 97 glGetShaderiv(67, 67), 98 glGetShaderInfoLog(68, 68), 99 glGetShaderPrecisionFormat(69, 69), 100 glGetShaderSource(70, 70), 101 glGetString(71, 71), 102 glGetTexParameterfv(72, 72), 103 glGetTexParameteriv(73, 73), 104 glGetUniformfv(74, 74), 105 glGetUniformiv(75, 75), 106 glGetUniformLocation(76, 76), 107 glGetVertexAttribfv(77, 77), 108 glGetVertexAttribiv(78, 78), 109 glGetVertexAttribPointerv(79, 79), 110 glHint(80, 80), 111 glIsBuffer(81, 81), 112 glIsEnabled(82, 82), 113 glIsFramebuffer(83, 83), 114 glIsProgram(84, 84), 115 glIsRenderbuffer(85, 85), 116 glIsShader(86, 86), 117 glIsTexture(87, 87), 118 glLineWidth(88, 88), 119 glLinkProgram(89, 89), 120 glPixelStorei(90, 90), 121 glPolygonOffset(91, 91), 122 glReadPixels(92, 92), 123 glReleaseShaderCompiler(93, 93), 124 glRenderbufferStorage(94, 94), 125 glSampleCoverage(95, 95), 126 glScissor(96, 96), 127 glShaderBinary(97, 97), 128 glShaderSource(98, 98), 129 glStencilFunc(99, 99), 130 glStencilFuncSeparate(100, 100), 131 glStencilMask(101, 101), 132 glStencilMaskSeparate(102, 102), 133 glStencilOp(103, 103), 134 glStencilOpSeparate(104, 104), 135 glTexImage2D(105, 105), 136 glTexParameterf(106, 106), 137 glTexParameterfv(107, 107), 138 glTexParameteri(108, 108), 139 glTexParameteriv(109, 109), 140 glTexSubImage2D(110, 110), 141 glUniform1f(111, 111), 142 glUniform1fv(112, 112), 143 glUniform1i(113, 113), 144 glUniform1iv(114, 114), 145 glUniform2f(115, 115), 146 glUniform2fv(116, 116), 147 glUniform2i(117, 117), 148 glUniform2iv(118, 118), 149 glUniform3f(119, 119), 150 glUniform3fv(120, 120), 151 glUniform3i(121, 121), 152 glUniform3iv(122, 122), 153 glUniform4f(123, 123), 154 glUniform4fv(124, 124), 155 glUniform4i(125, 125), 156 glUniform4iv(126, 126), 157 glUniformMatrix2fv(127, 127), 158 glUniformMatrix3fv(128, 128), 159 glUniformMatrix4fv(129, 129), 160 glUseProgram(130, 130), 161 glValidateProgram(131, 131), 162 glVertexAttrib1f(132, 132), 163 glVertexAttrib1fv(133, 133), 164 glVertexAttrib2f(134, 134), 165 glVertexAttrib2fv(135, 135), 166 glVertexAttrib3f(136, 136), 167 glVertexAttrib3fv(137, 137), 168 glVertexAttrib4f(138, 138), 169 glVertexAttrib4fv(139, 139), 170 glVertexAttribPointer(140, 140), 171 glViewport(141, 141), 172 eglGetDisplay(142, 142), 173 eglInitialize(143, 143), 174 eglTerminate(144, 144), 175 eglGetConfigs(145, 145), 176 eglChooseConfig(146, 146), 177 eglGetConfigAttrib(147, 147), 178 eglCreateWindowSurface(148, 148), 179 eglCreatePixmapSurface(149, 149), 180 eglCreatePbufferSurface(150, 150), 181 eglDestroySurface(151, 151), 182 eglQuerySurface(152, 152), 183 eglCreateContext(153, 153), 184 eglDestroyContext(154, 154), 185 eglMakeCurrent(155, 155), 186 eglGetCurrentContext(156, 156), 187 eglGetCurrentSurface(157, 157), 188 eglGetCurrentDisplay(158, 158), 189 eglQueryContext(159, 159), 190 eglWaitGL(160, 160), 191 eglWaitNative(161, 161), 192 eglSwapBuffers(162, 162), 193 eglCopyBuffers(163, 163), 194 eglGetError(164, 164), 195 eglQueryString(165, 165), 196 eglGetProcAddress(166, 166), 197 eglSurfaceAttrib(167, 167), 198 eglBindTexImage(168, 168), 199 eglReleaseTexImage(169, 169), 200 eglSwapInterval(170, 170), 201 eglBindAPI(171, 171), 202 eglQueryAPI(172, 172), 203 eglWaitClient(173, 173), 204 eglReleaseThread(174, 174), 205 eglCreatePbufferFromClientBuffer(175, 175), 206 eglLockSurfaceKHR(176, 176), 207 eglUnlockSurfaceKHR(177, 177), 208 eglCreateImageKHR(178, 178), 209 eglDestroyImageKHR(179, 179), 210 eglCreateSyncKHR(180, 180), 211 eglDestroySyncKHR(181, 181), 212 eglClientWaitSyncKHR(182, 182), 213 eglGetSyncAttribKHR(183, 183), 214 eglSetSwapRectangleANDROID(184, 184), 215 eglGetRenderBufferANDROID(185, 185), 216 ACK(186, 186), 217 NEG(187, 187), 218 CONTINUE(188, 188), 219 SKIP(189, 189), 220 SETPROP(190, 190), 221 ; 222 223 224 public final int getNumber() { return value; } 225 226 public static Function valueOf(int value) { 227 switch (value) { 228 case 0: return glActiveTexture; 229 case 1: return glAttachShader; 230 case 2: return glBindAttribLocation; 231 case 3: return glBindBuffer; 232 case 4: return glBindFramebuffer; 233 case 5: return glBindRenderbuffer; 234 case 6: return glBindTexture; 235 case 7: return glBlendColor; 236 case 8: return glBlendEquation; 237 case 9: return glBlendEquationSeparate; 238 case 10: return glBlendFunc; 239 case 11: return glBlendFuncSeparate; 240 case 12: return glBufferData; 241 case 13: return glBufferSubData; 242 case 14: return glCheckFramebufferStatus; 243 case 15: return glClear; 244 case 16: return glClearColor; 245 case 17: return glClearDepthf; 246 case 18: return glClearStencil; 247 case 19: return glColorMask; 248 case 20: return glCompileShader; 249 case 21: return glCompressedTexImage2D; 250 case 22: return glCompressedTexSubImage2D; 251 case 23: return glCopyTexImage2D; 252 case 24: return glCopyTexSubImage2D; 253 case 25: return glCreateProgram; 254 case 26: return glCreateShader; 255 case 27: return glCullFace; 256 case 28: return glDeleteBuffers; 257 case 29: return glDeleteFramebuffers; 258 case 30: return glDeleteProgram; 259 case 31: return glDeleteRenderbuffers; 260 case 32: return glDeleteShader; 261 case 33: return glDeleteTextures; 262 case 34: return glDepthFunc; 263 case 35: return glDepthMask; 264 case 36: return glDepthRangef; 265 case 37: return glDetachShader; 266 case 38: return glDisable; 267 case 39: return glDisableVertexAttribArray; 268 case 40: return glDrawArrays; 269 case 41: return glDrawElements; 270 case 42: return glEnable; 271 case 43: return glEnableVertexAttribArray; 272 case 44: return glFinish; 273 case 45: return glFlush; 274 case 46: return glFramebufferRenderbuffer; 275 case 47: return glFramebufferTexture2D; 276 case 48: return glFrontFace; 277 case 49: return glGenBuffers; 278 case 50: return glGenerateMipmap; 279 case 51: return glGenFramebuffers; 280 case 52: return glGenRenderbuffers; 281 case 53: return glGenTextures; 282 case 54: return glGetActiveAttrib; 283 case 55: return glGetActiveUniform; 284 case 56: return glGetAttachedShaders; 285 case 57: return glGetAttribLocation; 286 case 58: return glGetBooleanv; 287 case 59: return glGetBufferParameteriv; 288 case 60: return glGetError; 289 case 61: return glGetFloatv; 290 case 62: return glGetFramebufferAttachmentParameteriv; 291 case 63: return glGetIntegerv; 292 case 64: return glGetProgramiv; 293 case 65: return glGetProgramInfoLog; 294 case 66: return glGetRenderbufferParameteriv; 295 case 67: return glGetShaderiv; 296 case 68: return glGetShaderInfoLog; 297 case 69: return glGetShaderPrecisionFormat; 298 case 70: return glGetShaderSource; 299 case 71: return glGetString; 300 case 72: return glGetTexParameterfv; 301 case 73: return glGetTexParameteriv; 302 case 74: return glGetUniformfv; 303 case 75: return glGetUniformiv; 304 case 76: return glGetUniformLocation; 305 case 77: return glGetVertexAttribfv; 306 case 78: return glGetVertexAttribiv; 307 case 79: return glGetVertexAttribPointerv; 308 case 80: return glHint; 309 case 81: return glIsBuffer; 310 case 82: return glIsEnabled; 311 case 83: return glIsFramebuffer; 312 case 84: return glIsProgram; 313 case 85: return glIsRenderbuffer; 314 case 86: return glIsShader; 315 case 87: return glIsTexture; 316 case 88: return glLineWidth; 317 case 89: return glLinkProgram; 318 case 90: return glPixelStorei; 319 case 91: return glPolygonOffset; 320 case 92: return glReadPixels; 321 case 93: return glReleaseShaderCompiler; 322 case 94: return glRenderbufferStorage; 323 case 95: return glSampleCoverage; 324 case 96: return glScissor; 325 case 97: return glShaderBinary; 326 case 98: return glShaderSource; 327 case 99: return glStencilFunc; 328 case 100: return glStencilFuncSeparate; 329 case 101: return glStencilMask; 330 case 102: return glStencilMaskSeparate; 331 case 103: return glStencilOp; 332 case 104: return glStencilOpSeparate; 333 case 105: return glTexImage2D; 334 case 106: return glTexParameterf; 335 case 107: return glTexParameterfv; 336 case 108: return glTexParameteri; 337 case 109: return glTexParameteriv; 338 case 110: return glTexSubImage2D; 339 case 111: return glUniform1f; 340 case 112: return glUniform1fv; 341 case 113: return glUniform1i; 342 case 114: return glUniform1iv; 343 case 115: return glUniform2f; 344 case 116: return glUniform2fv; 345 case 117: return glUniform2i; 346 case 118: return glUniform2iv; 347 case 119: return glUniform3f; 348 case 120: return glUniform3fv; 349 case 121: return glUniform3i; 350 case 122: return glUniform3iv; 351 case 123: return glUniform4f; 352 case 124: return glUniform4fv; 353 case 125: return glUniform4i; 354 case 126: return glUniform4iv; 355 case 127: return glUniformMatrix2fv; 356 case 128: return glUniformMatrix3fv; 357 case 129: return glUniformMatrix4fv; 358 case 130: return glUseProgram; 359 case 131: return glValidateProgram; 360 case 132: return glVertexAttrib1f; 361 case 133: return glVertexAttrib1fv; 362 case 134: return glVertexAttrib2f; 363 case 135: return glVertexAttrib2fv; 364 case 136: return glVertexAttrib3f; 365 case 137: return glVertexAttrib3fv; 366 case 138: return glVertexAttrib4f; 367 case 139: return glVertexAttrib4fv; 368 case 140: return glVertexAttribPointer; 369 case 141: return glViewport; 370 case 142: return eglGetDisplay; 371 case 143: return eglInitialize; 372 case 144: return eglTerminate; 373 case 145: return eglGetConfigs; 374 case 146: return eglChooseConfig; 375 case 147: return eglGetConfigAttrib; 376 case 148: return eglCreateWindowSurface; 377 case 149: return eglCreatePixmapSurface; 378 case 150: return eglCreatePbufferSurface; 379 case 151: return eglDestroySurface; 380 case 152: return eglQuerySurface; 381 case 153: return eglCreateContext; 382 case 154: return eglDestroyContext; 383 case 155: return eglMakeCurrent; 384 case 156: return eglGetCurrentContext; 385 case 157: return eglGetCurrentSurface; 386 case 158: return eglGetCurrentDisplay; 387 case 159: return eglQueryContext; 388 case 160: return eglWaitGL; 389 case 161: return eglWaitNative; 390 case 162: return eglSwapBuffers; 391 case 163: return eglCopyBuffers; 392 case 164: return eglGetError; 393 case 165: return eglQueryString; 394 case 166: return eglGetProcAddress; 395 case 167: return eglSurfaceAttrib; 396 case 168: return eglBindTexImage; 397 case 169: return eglReleaseTexImage; 398 case 170: return eglSwapInterval; 399 case 171: return eglBindAPI; 400 case 172: return eglQueryAPI; 401 case 173: return eglWaitClient; 402 case 174: return eglReleaseThread; 403 case 175: return eglCreatePbufferFromClientBuffer; 404 case 176: return eglLockSurfaceKHR; 405 case 177: return eglUnlockSurfaceKHR; 406 case 178: return eglCreateImageKHR; 407 case 179: return eglDestroyImageKHR; 408 case 180: return eglCreateSyncKHR; 409 case 181: return eglDestroySyncKHR; 410 case 182: return eglClientWaitSyncKHR; 411 case 183: return eglGetSyncAttribKHR; 412 case 184: return eglSetSwapRectangleANDROID; 413 case 185: return eglGetRenderBufferANDROID; 414 case 186: return ACK; 415 case 187: return NEG; 416 case 188: return CONTINUE; 417 case 189: return SKIP; 418 case 190: return SETPROP; 419 default: return null; 420 } 421 } 422 423 public static com.google.protobuf.Internal.EnumLiteMap<Function> 424 internalGetValueMap() { 425 return internalValueMap; 426 } 427 private static com.google.protobuf.Internal.EnumLiteMap<Function> 428 internalValueMap = 429 new com.google.protobuf.Internal.EnumLiteMap<Function>() { 430 public Function findValueByNumber(int number) { 431 return Function.valueOf(number) 432 ; } 433 }; 434 435 private final int index; 436 private final int value; 437 private Function(int index, int value) { 438 this.index = index; 439 this.value = value; 440 } 441 442 // @@protoc_insertion_point(enum_scope:com.android.glesv2debugger.Message.Function) 443 } 444 445 public enum Type 446 implements com.google.protobuf.Internal.EnumLite { 447 BeforeCall(0, 0), 448 AfterCall(1, 1), 449 AfterGeneratedCall(2, 2), 450 Response(3, 3), 451 CompleteCall(4, 4), 452 ; 453 454 455 public final int getNumber() { return value; } 456 457 public static Type valueOf(int value) { 458 switch (value) { 459 case 0: return BeforeCall; 460 case 1: return AfterCall; 461 case 2: return AfterGeneratedCall; 462 case 3: return Response; 463 case 4: return CompleteCall; 464 default: return null; 465 } 466 } 467 468 public static com.google.protobuf.Internal.EnumLiteMap<Type> 469 internalGetValueMap() { 470 return internalValueMap; 471 } 472 private static com.google.protobuf.Internal.EnumLiteMap<Type> 473 internalValueMap = 474 new com.google.protobuf.Internal.EnumLiteMap<Type>() { 475 public Type findValueByNumber(int number) { 476 return Type.valueOf(number) 477 ; } 478 }; 479 480 private final int index; 481 private final int value; 482 private Type(int index, int value) { 483 this.index = index; 484 this.value = value; 485 } 486 487 // @@protoc_insertion_point(enum_scope:com.android.glesv2debugger.Message.Type) 488 } 489 490 public enum DataType 491 implements com.google.protobuf.Internal.EnumLite { 492 ReferencedImage(0, 0), 493 NonreferencedImage(1, 1), 494 ; 495 496 497 public final int getNumber() { return value; } 498 499 public static DataType valueOf(int value) { 500 switch (value) { 501 case 0: return ReferencedImage; 502 case 1: return NonreferencedImage; 503 default: return null; 504 } 505 } 506 507 public static com.google.protobuf.Internal.EnumLiteMap<DataType> 508 internalGetValueMap() { 509 return internalValueMap; 510 } 511 private static com.google.protobuf.Internal.EnumLiteMap<DataType> 512 internalValueMap = 513 new com.google.protobuf.Internal.EnumLiteMap<DataType>() { 514 public DataType findValueByNumber(int number) { 515 return DataType.valueOf(number) 516 ; } 517 }; 518 519 private final int index; 520 private final int value; 521 private DataType(int index, int value) { 522 this.index = index; 523 this.value = value; 524 } 525 526 // @@protoc_insertion_point(enum_scope:com.android.glesv2debugger.Message.DataType) 527 } 528 529 public enum Prop 530 implements com.google.protobuf.Internal.EnumLite { 531 CaptureDraw(0, 0), 532 TimeMode(1, 1), 533 ExpectResponse(2, 2), 534 CaptureSwap(3, 3), 535 GLConstant(4, 4), 536 ; 537 538 539 public final int getNumber() { return value; } 540 541 public static Prop valueOf(int value) { 542 switch (value) { 543 case 0: return CaptureDraw; 544 case 1: return TimeMode; 545 case 2: return ExpectResponse; 546 case 3: return CaptureSwap; 547 case 4: return GLConstant; 548 default: return null; 549 } 550 } 551 552 public static com.google.protobuf.Internal.EnumLiteMap<Prop> 553 internalGetValueMap() { 554 return internalValueMap; 555 } 556 private static com.google.protobuf.Internal.EnumLiteMap<Prop> 557 internalValueMap = 558 new com.google.protobuf.Internal.EnumLiteMap<Prop>() { 559 public Prop findValueByNumber(int number) { 560 return Prop.valueOf(number) 561 ; } 562 }; 563 564 private final int index; 565 private final int value; 566 private Prop(int index, int value) { 567 this.index = index; 568 this.value = value; 569 } 570 571 // @@protoc_insertion_point(enum_scope:com.android.glesv2debugger.Message.Prop) 572 } 573 574 // required int32 context_id = 1; 575 public static final int CONTEXT_ID_FIELD_NUMBER = 1; 576 private boolean hasContextId; 577 private int contextId_ = 0; 578 public boolean hasContextId() { return hasContextId; } 579 public int getContextId() { return contextId_; } 580 581 // required .com.android.glesv2debugger.Message.Function function = 2 [default = NEG]; 582 public static final int FUNCTION_FIELD_NUMBER = 2; 583 private boolean hasFunction; 584 private com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.Function function_; 585 public boolean hasFunction() { return hasFunction; } 586 public com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.Function getFunction() { return function_; } 587 588 // required .com.android.glesv2debugger.Message.Type type = 3; 589 public static final int TYPE_FIELD_NUMBER = 3; 590 private boolean hasType; 591 private com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.Type type_; 592 public boolean hasType() { return hasType; } 593 public com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.Type getType() { return type_; } 594 595 // required bool expect_response = 4; 596 public static final int EXPECT_RESPONSE_FIELD_NUMBER = 4; 597 private boolean hasExpectResponse; 598 private boolean expectResponse_ = false; 599 public boolean hasExpectResponse() { return hasExpectResponse; } 600 public boolean getExpectResponse() { return expectResponse_; } 601 602 // optional int32 ret = 5; 603 public static final int RET_FIELD_NUMBER = 5; 604 private boolean hasRet; 605 private int ret_ = 0; 606 public boolean hasRet() { return hasRet; } 607 public int getRet() { return ret_; } 608 609 // optional int32 arg0 = 6; 610 public static final int ARG0_FIELD_NUMBER = 6; 611 private boolean hasArg0; 612 private int arg0_ = 0; 613 public boolean hasArg0() { return hasArg0; } 614 public int getArg0() { return arg0_; } 615 616 // optional int32 arg1 = 7; 617 public static final int ARG1_FIELD_NUMBER = 7; 618 private boolean hasArg1; 619 private int arg1_ = 0; 620 public boolean hasArg1() { return hasArg1; } 621 public int getArg1() { return arg1_; } 622 623 // optional int32 arg2 = 8; 624 public static final int ARG2_FIELD_NUMBER = 8; 625 private boolean hasArg2; 626 private int arg2_ = 0; 627 public boolean hasArg2() { return hasArg2; } 628 public int getArg2() { return arg2_; } 629 630 // optional int32 arg3 = 9; 631 public static final int ARG3_FIELD_NUMBER = 9; 632 private boolean hasArg3; 633 private int arg3_ = 0; 634 public boolean hasArg3() { return hasArg3; } 635 public int getArg3() { return arg3_; } 636 637 // optional int32 arg4 = 16; 638 public static final int ARG4_FIELD_NUMBER = 16; 639 private boolean hasArg4; 640 private int arg4_ = 0; 641 public boolean hasArg4() { return hasArg4; } 642 public int getArg4() { return arg4_; } 643 644 // optional int32 arg5 = 17; 645 public static final int ARG5_FIELD_NUMBER = 17; 646 private boolean hasArg5; 647 private int arg5_ = 0; 648 public boolean hasArg5() { return hasArg5; } 649 public int getArg5() { return arg5_; } 650 651 // optional int32 arg6 = 18; 652 public static final int ARG6_FIELD_NUMBER = 18; 653 private boolean hasArg6; 654 private int arg6_ = 0; 655 public boolean hasArg6() { return hasArg6; } 656 public int getArg6() { return arg6_; } 657 658 // optional int32 arg7 = 19; 659 public static final int ARG7_FIELD_NUMBER = 19; 660 private boolean hasArg7; 661 private int arg7_ = 0; 662 public boolean hasArg7() { return hasArg7; } 663 public int getArg7() { return arg7_; } 664 665 // optional int32 arg8 = 20; 666 public static final int ARG8_FIELD_NUMBER = 20; 667 private boolean hasArg8; 668 private int arg8_ = 0; 669 public boolean hasArg8() { return hasArg8; } 670 public int getArg8() { return arg8_; } 671 672 // optional bytes data = 10; 673 public static final int DATA_FIELD_NUMBER = 10; 674 private boolean hasData; 675 private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; 676 public boolean hasData() { return hasData; } 677 public com.google.protobuf.ByteString getData() { return data_; } 678 679 // optional .com.android.glesv2debugger.Message.DataType data_type = 23; 680 public static final int DATA_TYPE_FIELD_NUMBER = 23; 681 private boolean hasDataType; 682 private com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.DataType dataType_; 683 public boolean hasDataType() { return hasDataType; } 684 public com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.DataType getDataType() { return dataType_; } 685 686 // optional int32 pixel_format = 24; 687 public static final int PIXEL_FORMAT_FIELD_NUMBER = 24; 688 private boolean hasPixelFormat; 689 private int pixelFormat_ = 0; 690 public boolean hasPixelFormat() { return hasPixelFormat; } 691 public int getPixelFormat() { return pixelFormat_; } 692 693 // optional int32 pixel_type = 25; 694 public static final int PIXEL_TYPE_FIELD_NUMBER = 25; 695 private boolean hasPixelType; 696 private int pixelType_ = 0; 697 public boolean hasPixelType() { return hasPixelType; } 698 public int getPixelType() { return pixelType_; } 699 700 // optional int32 image_width = 26; 701 public static final int IMAGE_WIDTH_FIELD_NUMBER = 26; 702 private boolean hasImageWidth; 703 private int imageWidth_ = 0; 704 public boolean hasImageWidth() { return hasImageWidth; } 705 public int getImageWidth() { return imageWidth_; } 706 707 // optional int32 image_height = 27; 708 public static final int IMAGE_HEIGHT_FIELD_NUMBER = 27; 709 private boolean hasImageHeight; 710 private int imageHeight_ = 0; 711 public boolean hasImageHeight() { return hasImageHeight; } 712 public int getImageHeight() { return imageHeight_; } 713 714 // optional float time = 11; 715 public static final int TIME_FIELD_NUMBER = 11; 716 private boolean hasTime; 717 private float time_ = 0F; 718 public boolean hasTime() { return hasTime; } 719 public float getTime() { return time_; } 720 721 // optional .com.android.glesv2debugger.Message.Prop prop = 21; 722 public static final int PROP_FIELD_NUMBER = 21; 723 private boolean hasProp; 724 private com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.Prop prop_; 725 public boolean hasProp() { return hasProp; } 726 public com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.Prop getProp() { return prop_; } 727 728 // optional float clock = 22; 729 public static final int CLOCK_FIELD_NUMBER = 22; 730 private boolean hasClock; 731 private float clock_ = 0F; 732 public boolean hasClock() { return hasClock; } 733 public float getClock() { return clock_; } 734 735 private void initFields() { 736 function_ = com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.Function.NEG; 737 type_ = com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.Type.BeforeCall; 738 dataType_ = com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.DataType.ReferencedImage; 739 prop_ = com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.Prop.CaptureDraw; 740 } 741 public final boolean isInitialized() { 742 if (!hasContextId) return false; 743 if (!hasFunction) return false; 744 if (!hasType) return false; 745 if (!hasExpectResponse) return false; 746 return true; 747 } 748 749 public void writeTo(com.google.protobuf.CodedOutputStream output) 750 throws java.io.IOException { 751 getSerializedSize(); 752 if (hasContextId()) { 753 output.writeInt32(1, getContextId()); 754 } 755 if (hasFunction()) { 756 output.writeEnum(2, getFunction().getNumber()); 757 } 758 if (hasType()) { 759 output.writeEnum(3, getType().getNumber()); 760 } 761 if (hasExpectResponse()) { 762 output.writeBool(4, getExpectResponse()); 763 } 764 if (hasRet()) { 765 output.writeInt32(5, getRet()); 766 } 767 if (hasArg0()) { 768 output.writeInt32(6, getArg0()); 769 } 770 if (hasArg1()) { 771 output.writeInt32(7, getArg1()); 772 } 773 if (hasArg2()) { 774 output.writeInt32(8, getArg2()); 775 } 776 if (hasArg3()) { 777 output.writeInt32(9, getArg3()); 778 } 779 if (hasData()) { 780 output.writeBytes(10, getData()); 781 } 782 if (hasTime()) { 783 output.writeFloat(11, getTime()); 784 } 785 if (hasArg4()) { 786 output.writeInt32(16, getArg4()); 787 } 788 if (hasArg5()) { 789 output.writeInt32(17, getArg5()); 790 } 791 if (hasArg6()) { 792 output.writeInt32(18, getArg6()); 793 } 794 if (hasArg7()) { 795 output.writeInt32(19, getArg7()); 796 } 797 if (hasArg8()) { 798 output.writeInt32(20, getArg8()); 799 } 800 if (hasProp()) { 801 output.writeEnum(21, getProp().getNumber()); 802 } 803 if (hasClock()) { 804 output.writeFloat(22, getClock()); 805 } 806 if (hasDataType()) { 807 output.writeEnum(23, getDataType().getNumber()); 808 } 809 if (hasPixelFormat()) { 810 output.writeInt32(24, getPixelFormat()); 811 } 812 if (hasPixelType()) { 813 output.writeInt32(25, getPixelType()); 814 } 815 if (hasImageWidth()) { 816 output.writeInt32(26, getImageWidth()); 817 } 818 if (hasImageHeight()) { 819 output.writeInt32(27, getImageHeight()); 820 } 821 } 822 823 private int memoizedSerializedSize = -1; 824 public int getSerializedSize() { 825 int size = memoizedSerializedSize; 826 if (size != -1) return size; 827 828 size = 0; 829 if (hasContextId()) { 830 size += com.google.protobuf.CodedOutputStream 831 .computeInt32Size(1, getContextId()); 832 } 833 if (hasFunction()) { 834 size += com.google.protobuf.CodedOutputStream 835 .computeEnumSize(2, getFunction().getNumber()); 836 } 837 if (hasType()) { 838 size += com.google.protobuf.CodedOutputStream 839 .computeEnumSize(3, getType().getNumber()); 840 } 841 if (hasExpectResponse()) { 842 size += com.google.protobuf.CodedOutputStream 843 .computeBoolSize(4, getExpectResponse()); 844 } 845 if (hasRet()) { 846 size += com.google.protobuf.CodedOutputStream 847 .computeInt32Size(5, getRet()); 848 } 849 if (hasArg0()) { 850 size += com.google.protobuf.CodedOutputStream 851 .computeInt32Size(6, getArg0()); 852 } 853 if (hasArg1()) { 854 size += com.google.protobuf.CodedOutputStream 855 .computeInt32Size(7, getArg1()); 856 } 857 if (hasArg2()) { 858 size += com.google.protobuf.CodedOutputStream 859 .computeInt32Size(8, getArg2()); 860 } 861 if (hasArg3()) { 862 size += com.google.protobuf.CodedOutputStream 863 .computeInt32Size(9, getArg3()); 864 } 865 if (hasData()) { 866 size += com.google.protobuf.CodedOutputStream 867 .computeBytesSize(10, getData()); 868 } 869 if (hasTime()) { 870 size += com.google.protobuf.CodedOutputStream 871 .computeFloatSize(11, getTime()); 872 } 873 if (hasArg4()) { 874 size += com.google.protobuf.CodedOutputStream 875 .computeInt32Size(16, getArg4()); 876 } 877 if (hasArg5()) { 878 size += com.google.protobuf.CodedOutputStream 879 .computeInt32Size(17, getArg5()); 880 } 881 if (hasArg6()) { 882 size += com.google.protobuf.CodedOutputStream 883 .computeInt32Size(18, getArg6()); 884 } 885 if (hasArg7()) { 886 size += com.google.protobuf.CodedOutputStream 887 .computeInt32Size(19, getArg7()); 888 } 889 if (hasArg8()) { 890 size += com.google.protobuf.CodedOutputStream 891 .computeInt32Size(20, getArg8()); 892 } 893 if (hasProp()) { 894 size += com.google.protobuf.CodedOutputStream 895 .computeEnumSize(21, getProp().getNumber()); 896 } 897 if (hasClock()) { 898 size += com.google.protobuf.CodedOutputStream 899 .computeFloatSize(22, getClock()); 900 } 901 if (hasDataType()) { 902 size += com.google.protobuf.CodedOutputStream 903 .computeEnumSize(23, getDataType().getNumber()); 904 } 905 if (hasPixelFormat()) { 906 size += com.google.protobuf.CodedOutputStream 907 .computeInt32Size(24, getPixelFormat()); 908 } 909 if (hasPixelType()) { 910 size += com.google.protobuf.CodedOutputStream 911 .computeInt32Size(25, getPixelType()); 912 } 913 if (hasImageWidth()) { 914 size += com.google.protobuf.CodedOutputStream 915 .computeInt32Size(26, getImageWidth()); 916 } 917 if (hasImageHeight()) { 918 size += com.google.protobuf.CodedOutputStream 919 .computeInt32Size(27, getImageHeight()); 920 } 921 memoizedSerializedSize = size; 922 return size; 923 } 924 925 public static com.android.ide.eclipse.gldebugger.DebuggerMessage.Message parseFrom( 926 com.google.protobuf.ByteString data) 927 throws com.google.protobuf.InvalidProtocolBufferException { 928 return newBuilder().mergeFrom(data).buildParsed(); 929 } 930 public static com.android.ide.eclipse.gldebugger.DebuggerMessage.Message parseFrom( 931 com.google.protobuf.ByteString data, 932 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 933 throws com.google.protobuf.InvalidProtocolBufferException { 934 return newBuilder().mergeFrom(data, extensionRegistry) 935 .buildParsed(); 936 } 937 public static com.android.ide.eclipse.gldebugger.DebuggerMessage.Message parseFrom(byte[] data) 938 throws com.google.protobuf.InvalidProtocolBufferException { 939 return newBuilder().mergeFrom(data).buildParsed(); 940 } 941 public static com.android.ide.eclipse.gldebugger.DebuggerMessage.Message parseFrom( 942 byte[] data, 943 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 944 throws com.google.protobuf.InvalidProtocolBufferException { 945 return newBuilder().mergeFrom(data, extensionRegistry) 946 .buildParsed(); 947 } 948 public static com.android.ide.eclipse.gldebugger.DebuggerMessage.Message parseFrom(java.io.InputStream input) 949 throws java.io.IOException { 950 return newBuilder().mergeFrom(input).buildParsed(); 951 } 952 public static com.android.ide.eclipse.gldebugger.DebuggerMessage.Message parseFrom( 953 java.io.InputStream input, 954 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 955 throws java.io.IOException { 956 return newBuilder().mergeFrom(input, extensionRegistry) 957 .buildParsed(); 958 } 959 public static com.android.ide.eclipse.gldebugger.DebuggerMessage.Message parseDelimitedFrom(java.io.InputStream input) 960 throws java.io.IOException { 961 Builder builder = newBuilder(); 962 if (builder.mergeDelimitedFrom(input)) { 963 return builder.buildParsed(); 964 } else { 965 return null; 966 } 967 } 968 public static com.android.ide.eclipse.gldebugger.DebuggerMessage.Message parseDelimitedFrom( 969 java.io.InputStream input, 970 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 971 throws java.io.IOException { 972 Builder builder = newBuilder(); 973 if (builder.mergeDelimitedFrom(input, extensionRegistry)) { 974 return builder.buildParsed(); 975 } else { 976 return null; 977 } 978 } 979 public static com.android.ide.eclipse.gldebugger.DebuggerMessage.Message parseFrom( 980 com.google.protobuf.CodedInputStream input) 981 throws java.io.IOException { 982 return newBuilder().mergeFrom(input).buildParsed(); 983 } 984 public static com.android.ide.eclipse.gldebugger.DebuggerMessage.Message parseFrom( 985 com.google.protobuf.CodedInputStream input, 986 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 987 throws java.io.IOException { 988 return newBuilder().mergeFrom(input, extensionRegistry) 989 .buildParsed(); 990 } 991 992 public static Builder newBuilder() { return Builder.create(); } 993 public Builder newBuilderForType() { return newBuilder(); } 994 public static Builder newBuilder(com.android.ide.eclipse.gldebugger.DebuggerMessage.Message prototype) { 995 return newBuilder().mergeFrom(prototype); 996 } 997 public Builder toBuilder() { return newBuilder(this); } 998 999 public static final class Builder extends 1000 com.google.protobuf.GeneratedMessageLite.Builder< 1001 com.android.ide.eclipse.gldebugger.DebuggerMessage.Message, Builder> { 1002 private com.android.ide.eclipse.gldebugger.DebuggerMessage.Message result; 1003 1004 // Construct using com.android.glesv2debugger.DebuggerMessage.Message.newBuilder() 1005 private Builder() {} 1006 1007 private static Builder create() { 1008 Builder builder = new Builder(); 1009 builder.result = new com.android.ide.eclipse.gldebugger.DebuggerMessage.Message(); 1010 return builder; 1011 } 1012 1013 @Override 1014 protected com.android.ide.eclipse.gldebugger.DebuggerMessage.Message internalGetResult() { 1015 return result; 1016 } 1017 1018 public Builder clear() { 1019 if (result == null) { 1020 throw new IllegalStateException( 1021 "Cannot call clear() after build()."); 1022 } 1023 result = new com.android.ide.eclipse.gldebugger.DebuggerMessage.Message(); 1024 return this; 1025 } 1026 1027 @Override 1028 public Builder clone() { 1029 return create().mergeFrom(result); 1030 } 1031 1032 @Override 1033 public com.android.ide.eclipse.gldebugger.DebuggerMessage.Message getDefaultInstanceForType() { 1034 return com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.getDefaultInstance(); 1035 } 1036 1037 public boolean isInitialized() { 1038 return result.isInitialized(); 1039 } 1040 public com.android.ide.eclipse.gldebugger.DebuggerMessage.Message build() { 1041 if (result != null && !isInitialized()) { 1042 throw newUninitializedMessageException(result); 1043 } 1044 return buildPartial(); 1045 } 1046 1047 private com.android.ide.eclipse.gldebugger.DebuggerMessage.Message buildParsed() 1048 throws com.google.protobuf.InvalidProtocolBufferException { 1049 if (!isInitialized()) { 1050 throw newUninitializedMessageException( 1051 result).asInvalidProtocolBufferException(); 1052 } 1053 return buildPartial(); 1054 } 1055 1056 public com.android.ide.eclipse.gldebugger.DebuggerMessage.Message buildPartial() { 1057 if (result == null) { 1058 throw new IllegalStateException( 1059 "build() has already been called on this Builder."); 1060 } 1061 com.android.ide.eclipse.gldebugger.DebuggerMessage.Message returnMe = result; 1062 result = null; 1063 return returnMe; 1064 } 1065 1066 @Override 1067 public Builder mergeFrom(com.android.ide.eclipse.gldebugger.DebuggerMessage.Message other) { 1068 if (other == com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.getDefaultInstance()) return this; 1069 if (other.hasContextId()) { 1070 setContextId(other.getContextId()); 1071 } 1072 if (other.hasFunction()) { 1073 setFunction(other.getFunction()); 1074 } 1075 if (other.hasType()) { 1076 setType(other.getType()); 1077 } 1078 if (other.hasExpectResponse()) { 1079 setExpectResponse(other.getExpectResponse()); 1080 } 1081 if (other.hasRet()) { 1082 setRet(other.getRet()); 1083 } 1084 if (other.hasArg0()) { 1085 setArg0(other.getArg0()); 1086 } 1087 if (other.hasArg1()) { 1088 setArg1(other.getArg1()); 1089 } 1090 if (other.hasArg2()) { 1091 setArg2(other.getArg2()); 1092 } 1093 if (other.hasArg3()) { 1094 setArg3(other.getArg3()); 1095 } 1096 if (other.hasArg4()) { 1097 setArg4(other.getArg4()); 1098 } 1099 if (other.hasArg5()) { 1100 setArg5(other.getArg5()); 1101 } 1102 if (other.hasArg6()) { 1103 setArg6(other.getArg6()); 1104 } 1105 if (other.hasArg7()) { 1106 setArg7(other.getArg7()); 1107 } 1108 if (other.hasArg8()) { 1109 setArg8(other.getArg8()); 1110 } 1111 if (other.hasData()) { 1112 setData(other.getData()); 1113 } 1114 if (other.hasDataType()) { 1115 setDataType(other.getDataType()); 1116 } 1117 if (other.hasPixelFormat()) { 1118 setPixelFormat(other.getPixelFormat()); 1119 } 1120 if (other.hasPixelType()) { 1121 setPixelType(other.getPixelType()); 1122 } 1123 if (other.hasImageWidth()) { 1124 setImageWidth(other.getImageWidth()); 1125 } 1126 if (other.hasImageHeight()) { 1127 setImageHeight(other.getImageHeight()); 1128 } 1129 if (other.hasTime()) { 1130 setTime(other.getTime()); 1131 } 1132 if (other.hasProp()) { 1133 setProp(other.getProp()); 1134 } 1135 if (other.hasClock()) { 1136 setClock(other.getClock()); 1137 } 1138 return this; 1139 } 1140 1141 @Override 1142 public Builder mergeFrom( 1143 com.google.protobuf.CodedInputStream input, 1144 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1145 throws java.io.IOException { 1146 while (true) { 1147 int tag = input.readTag(); 1148 switch (tag) { 1149 case 0: 1150 return this; 1151 default: { 1152 if (!parseUnknownField(input, extensionRegistry, tag)) { 1153 return this; 1154 } 1155 break; 1156 } 1157 case 8: { 1158 setContextId(input.readInt32()); 1159 break; 1160 } 1161 case 16: { 1162 int rawValue = input.readEnum(); 1163 com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.Function value = com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.Function.valueOf(rawValue); 1164 if (value != null) { 1165 setFunction(value); 1166 } 1167 break; 1168 } 1169 case 24: { 1170 int rawValue = input.readEnum(); 1171 com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.Type value = com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.Type.valueOf(rawValue); 1172 if (value != null) { 1173 setType(value); 1174 } 1175 break; 1176 } 1177 case 32: { 1178 setExpectResponse(input.readBool()); 1179 break; 1180 } 1181 case 40: { 1182 setRet(input.readInt32()); 1183 break; 1184 } 1185 case 48: { 1186 setArg0(input.readInt32()); 1187 break; 1188 } 1189 case 56: { 1190 setArg1(input.readInt32()); 1191 break; 1192 } 1193 case 64: { 1194 setArg2(input.readInt32()); 1195 break; 1196 } 1197 case 72: { 1198 setArg3(input.readInt32()); 1199 break; 1200 } 1201 case 82: { 1202 setData(input.readBytes()); 1203 break; 1204 } 1205 case 93: { 1206 setTime(input.readFloat()); 1207 break; 1208 } 1209 case 128: { 1210 setArg4(input.readInt32()); 1211 break; 1212 } 1213 case 136: { 1214 setArg5(input.readInt32()); 1215 break; 1216 } 1217 case 144: { 1218 setArg6(input.readInt32()); 1219 break; 1220 } 1221 case 152: { 1222 setArg7(input.readInt32()); 1223 break; 1224 } 1225 case 160: { 1226 setArg8(input.readInt32()); 1227 break; 1228 } 1229 case 168: { 1230 int rawValue = input.readEnum(); 1231 com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.Prop value = com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.Prop.valueOf(rawValue); 1232 if (value != null) { 1233 setProp(value); 1234 } 1235 break; 1236 } 1237 case 181: { 1238 setClock(input.readFloat()); 1239 break; 1240 } 1241 case 184: { 1242 int rawValue = input.readEnum(); 1243 com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.DataType value = com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.DataType.valueOf(rawValue); 1244 if (value != null) { 1245 setDataType(value); 1246 } 1247 break; 1248 } 1249 case 192: { 1250 setPixelFormat(input.readInt32()); 1251 break; 1252 } 1253 case 200: { 1254 setPixelType(input.readInt32()); 1255 break; 1256 } 1257 case 208: { 1258 setImageWidth(input.readInt32()); 1259 break; 1260 } 1261 case 216: { 1262 setImageHeight(input.readInt32()); 1263 break; 1264 } 1265 } 1266 } 1267 } 1268 1269 1270 // required int32 context_id = 1; 1271 public boolean hasContextId() { 1272 return result.hasContextId(); 1273 } 1274 public int getContextId() { 1275 return result.getContextId(); 1276 } 1277 public Builder setContextId(int value) { 1278 result.hasContextId = true; 1279 result.contextId_ = value; 1280 return this; 1281 } 1282 public Builder clearContextId() { 1283 result.hasContextId = false; 1284 result.contextId_ = 0; 1285 return this; 1286 } 1287 1288 // required .com.android.glesv2debugger.Message.Function function = 2 [default = NEG]; 1289 public boolean hasFunction() { 1290 return result.hasFunction(); 1291 } 1292 public com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.Function getFunction() { 1293 return result.getFunction(); 1294 } 1295 public Builder setFunction(com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.Function value) { 1296 if (value == null) { 1297 throw new NullPointerException(); 1298 } 1299 result.hasFunction = true; 1300 result.function_ = value; 1301 return this; 1302 } 1303 public Builder clearFunction() { 1304 result.hasFunction = false; 1305 result.function_ = com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.Function.NEG; 1306 return this; 1307 } 1308 1309 // required .com.android.glesv2debugger.Message.Type type = 3; 1310 public boolean hasType() { 1311 return result.hasType(); 1312 } 1313 public com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.Type getType() { 1314 return result.getType(); 1315 } 1316 public Builder setType(com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.Type value) { 1317 if (value == null) { 1318 throw new NullPointerException(); 1319 } 1320 result.hasType = true; 1321 result.type_ = value; 1322 return this; 1323 } 1324 public Builder clearType() { 1325 result.hasType = false; 1326 result.type_ = com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.Type.BeforeCall; 1327 return this; 1328 } 1329 1330 // required bool expect_response = 4; 1331 public boolean hasExpectResponse() { 1332 return result.hasExpectResponse(); 1333 } 1334 public boolean getExpectResponse() { 1335 return result.getExpectResponse(); 1336 } 1337 public Builder setExpectResponse(boolean value) { 1338 result.hasExpectResponse = true; 1339 result.expectResponse_ = value; 1340 return this; 1341 } 1342 public Builder clearExpectResponse() { 1343 result.hasExpectResponse = false; 1344 result.expectResponse_ = false; 1345 return this; 1346 } 1347 1348 // optional int32 ret = 5; 1349 public boolean hasRet() { 1350 return result.hasRet(); 1351 } 1352 public int getRet() { 1353 return result.getRet(); 1354 } 1355 public Builder setRet(int value) { 1356 result.hasRet = true; 1357 result.ret_ = value; 1358 return this; 1359 } 1360 public Builder clearRet() { 1361 result.hasRet = false; 1362 result.ret_ = 0; 1363 return this; 1364 } 1365 1366 // optional int32 arg0 = 6; 1367 public boolean hasArg0() { 1368 return result.hasArg0(); 1369 } 1370 public int getArg0() { 1371 return result.getArg0(); 1372 } 1373 public Builder setArg0(int value) { 1374 result.hasArg0 = true; 1375 result.arg0_ = value; 1376 return this; 1377 } 1378 public Builder clearArg0() { 1379 result.hasArg0 = false; 1380 result.arg0_ = 0; 1381 return this; 1382 } 1383 1384 // optional int32 arg1 = 7; 1385 public boolean hasArg1() { 1386 return result.hasArg1(); 1387 } 1388 public int getArg1() { 1389 return result.getArg1(); 1390 } 1391 public Builder setArg1(int value) { 1392 result.hasArg1 = true; 1393 result.arg1_ = value; 1394 return this; 1395 } 1396 public Builder clearArg1() { 1397 result.hasArg1 = false; 1398 result.arg1_ = 0; 1399 return this; 1400 } 1401 1402 // optional int32 arg2 = 8; 1403 public boolean hasArg2() { 1404 return result.hasArg2(); 1405 } 1406 public int getArg2() { 1407 return result.getArg2(); 1408 } 1409 public Builder setArg2(int value) { 1410 result.hasArg2 = true; 1411 result.arg2_ = value; 1412 return this; 1413 } 1414 public Builder clearArg2() { 1415 result.hasArg2 = false; 1416 result.arg2_ = 0; 1417 return this; 1418 } 1419 1420 // optional int32 arg3 = 9; 1421 public boolean hasArg3() { 1422 return result.hasArg3(); 1423 } 1424 public int getArg3() { 1425 return result.getArg3(); 1426 } 1427 public Builder setArg3(int value) { 1428 result.hasArg3 = true; 1429 result.arg3_ = value; 1430 return this; 1431 } 1432 public Builder clearArg3() { 1433 result.hasArg3 = false; 1434 result.arg3_ = 0; 1435 return this; 1436 } 1437 1438 // optional int32 arg4 = 16; 1439 public boolean hasArg4() { 1440 return result.hasArg4(); 1441 } 1442 public int getArg4() { 1443 return result.getArg4(); 1444 } 1445 public Builder setArg4(int value) { 1446 result.hasArg4 = true; 1447 result.arg4_ = value; 1448 return this; 1449 } 1450 public Builder clearArg4() { 1451 result.hasArg4 = false; 1452 result.arg4_ = 0; 1453 return this; 1454 } 1455 1456 // optional int32 arg5 = 17; 1457 public boolean hasArg5() { 1458 return result.hasArg5(); 1459 } 1460 public int getArg5() { 1461 return result.getArg5(); 1462 } 1463 public Builder setArg5(int value) { 1464 result.hasArg5 = true; 1465 result.arg5_ = value; 1466 return this; 1467 } 1468 public Builder clearArg5() { 1469 result.hasArg5 = false; 1470 result.arg5_ = 0; 1471 return this; 1472 } 1473 1474 // optional int32 arg6 = 18; 1475 public boolean hasArg6() { 1476 return result.hasArg6(); 1477 } 1478 public int getArg6() { 1479 return result.getArg6(); 1480 } 1481 public Builder setArg6(int value) { 1482 result.hasArg6 = true; 1483 result.arg6_ = value; 1484 return this; 1485 } 1486 public Builder clearArg6() { 1487 result.hasArg6 = false; 1488 result.arg6_ = 0; 1489 return this; 1490 } 1491 1492 // optional int32 arg7 = 19; 1493 public boolean hasArg7() { 1494 return result.hasArg7(); 1495 } 1496 public int getArg7() { 1497 return result.getArg7(); 1498 } 1499 public Builder setArg7(int value) { 1500 result.hasArg7 = true; 1501 result.arg7_ = value; 1502 return this; 1503 } 1504 public Builder clearArg7() { 1505 result.hasArg7 = false; 1506 result.arg7_ = 0; 1507 return this; 1508 } 1509 1510 // optional int32 arg8 = 20; 1511 public boolean hasArg8() { 1512 return result.hasArg8(); 1513 } 1514 public int getArg8() { 1515 return result.getArg8(); 1516 } 1517 public Builder setArg8(int value) { 1518 result.hasArg8 = true; 1519 result.arg8_ = value; 1520 return this; 1521 } 1522 public Builder clearArg8() { 1523 result.hasArg8 = false; 1524 result.arg8_ = 0; 1525 return this; 1526 } 1527 1528 // optional bytes data = 10; 1529 public boolean hasData() { 1530 return result.hasData(); 1531 } 1532 public com.google.protobuf.ByteString getData() { 1533 return result.getData(); 1534 } 1535 public Builder setData(com.google.protobuf.ByteString value) { 1536 if (value == null) { 1537 throw new NullPointerException(); 1538 } 1539 result.hasData = true; 1540 result.data_ = value; 1541 return this; 1542 } 1543 public Builder clearData() { 1544 result.hasData = false; 1545 result.data_ = getDefaultInstance().getData(); 1546 return this; 1547 } 1548 1549 // optional .com.android.glesv2debugger.Message.DataType data_type = 23; 1550 public boolean hasDataType() { 1551 return result.hasDataType(); 1552 } 1553 public com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.DataType getDataType() { 1554 return result.getDataType(); 1555 } 1556 public Builder setDataType(com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.DataType value) { 1557 if (value == null) { 1558 throw new NullPointerException(); 1559 } 1560 result.hasDataType = true; 1561 result.dataType_ = value; 1562 return this; 1563 } 1564 public Builder clearDataType() { 1565 result.hasDataType = false; 1566 result.dataType_ = com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.DataType.ReferencedImage; 1567 return this; 1568 } 1569 1570 // optional int32 pixel_format = 24; 1571 public boolean hasPixelFormat() { 1572 return result.hasPixelFormat(); 1573 } 1574 public int getPixelFormat() { 1575 return result.getPixelFormat(); 1576 } 1577 public Builder setPixelFormat(int value) { 1578 result.hasPixelFormat = true; 1579 result.pixelFormat_ = value; 1580 return this; 1581 } 1582 public Builder clearPixelFormat() { 1583 result.hasPixelFormat = false; 1584 result.pixelFormat_ = 0; 1585 return this; 1586 } 1587 1588 // optional int32 pixel_type = 25; 1589 public boolean hasPixelType() { 1590 return result.hasPixelType(); 1591 } 1592 public int getPixelType() { 1593 return result.getPixelType(); 1594 } 1595 public Builder setPixelType(int value) { 1596 result.hasPixelType = true; 1597 result.pixelType_ = value; 1598 return this; 1599 } 1600 public Builder clearPixelType() { 1601 result.hasPixelType = false; 1602 result.pixelType_ = 0; 1603 return this; 1604 } 1605 1606 // optional int32 image_width = 26; 1607 public boolean hasImageWidth() { 1608 return result.hasImageWidth(); 1609 } 1610 public int getImageWidth() { 1611 return result.getImageWidth(); 1612 } 1613 public Builder setImageWidth(int value) { 1614 result.hasImageWidth = true; 1615 result.imageWidth_ = value; 1616 return this; 1617 } 1618 public Builder clearImageWidth() { 1619 result.hasImageWidth = false; 1620 result.imageWidth_ = 0; 1621 return this; 1622 } 1623 1624 // optional int32 image_height = 27; 1625 public boolean hasImageHeight() { 1626 return result.hasImageHeight(); 1627 } 1628 public int getImageHeight() { 1629 return result.getImageHeight(); 1630 } 1631 public Builder setImageHeight(int value) { 1632 result.hasImageHeight = true; 1633 result.imageHeight_ = value; 1634 return this; 1635 } 1636 public Builder clearImageHeight() { 1637 result.hasImageHeight = false; 1638 result.imageHeight_ = 0; 1639 return this; 1640 } 1641 1642 // optional float time = 11; 1643 public boolean hasTime() { 1644 return result.hasTime(); 1645 } 1646 public float getTime() { 1647 return result.getTime(); 1648 } 1649 public Builder setTime(float value) { 1650 result.hasTime = true; 1651 result.time_ = value; 1652 return this; 1653 } 1654 public Builder clearTime() { 1655 result.hasTime = false; 1656 result.time_ = 0F; 1657 return this; 1658 } 1659 1660 // optional .com.android.glesv2debugger.Message.Prop prop = 21; 1661 public boolean hasProp() { 1662 return result.hasProp(); 1663 } 1664 public com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.Prop getProp() { 1665 return result.getProp(); 1666 } 1667 public Builder setProp(com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.Prop value) { 1668 if (value == null) { 1669 throw new NullPointerException(); 1670 } 1671 result.hasProp = true; 1672 result.prop_ = value; 1673 return this; 1674 } 1675 public Builder clearProp() { 1676 result.hasProp = false; 1677 result.prop_ = com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.Prop.CaptureDraw; 1678 return this; 1679 } 1680 1681 // optional float clock = 22; 1682 public boolean hasClock() { 1683 return result.hasClock(); 1684 } 1685 public float getClock() { 1686 return result.getClock(); 1687 } 1688 public Builder setClock(float value) { 1689 result.hasClock = true; 1690 result.clock_ = value; 1691 return this; 1692 } 1693 public Builder clearClock() { 1694 result.hasClock = false; 1695 result.clock_ = 0F; 1696 return this; 1697 } 1698 1699 // @@protoc_insertion_point(builder_scope:com.android.glesv2debugger.Message) 1700 } 1701 1702 static { 1703 defaultInstance = new Message(true); 1704 com.android.ide.eclipse.gldebugger.DebuggerMessage.internalForceInit(); 1705 defaultInstance.initFields(); 1706 } 1707 1708 // @@protoc_insertion_point(class_scope:com.android.glesv2debugger.Message) 1709 } 1710 1711 1712 static { 1713 } 1714 1715 public static void internalForceInit() {} 1716 1717 // @@protoc_insertion_point(outer_class_scope) 1718 } 1719