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