public void mergeFrom(Input input, FragmentRecordBatch message) throws IOException { for (int number = input.readFieldNumber(this); ; number = input.readFieldNumber(this)) { switch (number) { case 0: return; case 1: message.handle = input.mergeObject(message.handle, FragmentHandle.getSchema()); break; case 2: message.sendingMajorFragmentId = input.readInt32(); break; case 3: message.sendingMinorFragmentId = input.readInt32(); break; case 4: message.def = input.mergeObject(message.def, RecordBatchDef.getSchema()); break; case 5: message.isLastBatch = input.readBool(); break; case 6: message.isOutOfMemory = input.readBool(); break; default: input.handleUnknownField(number, this); } } }
public void mergeFrom(Input input, Interval message) throws IOException { for (int number = input.readFieldNumber(this); ; number = input.readFieldNumber(this)) { switch (number) { case 0: return; case 1: message.lowerincluded = input.readBool(); break; case 2: message.upperincluded = input.readBool(); break; case 3: message.lowerunbounded = input.readBool(); break; case 4: message.upperunbounded = input.readBool(); break; default: input.handleUnknownField(number, this); } } }
public void mergeFrom(Input input, UserToBitHandshake message) throws IOException { for (int number = input.readFieldNumber(this); ; number = input.readFieldNumber(this)) { switch (number) { case 0: return; case 1: message.channel = RpcChannel.valueOf(input.readEnum()); break; case 2: message.supportListening = input.readBool(); break; case 3: message.rpcVersion = input.readInt32(); break; case 4: message.credentials = input.mergeObject(message.credentials, UserCredentials.getSchema()); break; case 5: message.properties = input.mergeObject(message.properties, UserProperties.getSchema()); break; case 6: message.supportComplexTypes = input.readBool(); break; case 7: message.supportTimeout = input.readBool(); break; case 8: message.clientInfos = input.mergeObject(message.clientInfos, RpcEndpointInfos.getSchema()); break; default: input.handleUnknownField(number, this); } } }