@Override public ByteString readBytes() throws IOException { return input.readBytes(); }
@Override public void readBytes(final ByteBuffer bb) throws IOException { input.readBytes(bb); }
@Override public ByteString readFrom(Input input) throws IOException { return input.readBytes(); }
@Override public ByteString readFrom(Input input) throws IOException { return input.readBytes(); }
@Override public ByteString readFrom(Input input) throws IOException { return input.readBytes(); }
if (message.someBytes == null) message.someBytes = new ArrayList<ByteString>(); message.someBytes.add(input.readBytes()); break; case 6:
@Override public Object readFrom(Input input, Object owner) throws IOException { if (ID_ARRAY_LEN != input.readFieldNumber(this)) throw new ProtostuffException("Corrupt input."); final int len = input.readInt32(); ByteString[] array = new ByteString[len]; if (input instanceof GraphInput) { // update the actual reference. ((GraphInput) input).updateLast(array, owner); } for (int i = 0; i < len;) { switch (input.readFieldNumber(this)) { case ID_ARRAY_DATA: array[i++] = input.readBytes(); break; case ID_ARRAY_NULLCOUNT: i += input.readUInt32(); break; default: throw new ProtostuffException("Corrupt input."); } } if (0 != input.readFieldNumber(this)) throw new ProtostuffException("Corrupt input."); return array; }
@Override public Object readFrom(Input input, Object owner) throws IOException { if (ID_ARRAY_LEN != input.readFieldNumber(this)) throw new ProtostuffException("Corrupt input."); final int len = input.readInt32(); ByteString[] array = new ByteString[len]; if (input instanceof GraphInput) { // update the actual reference. ((GraphInput) input).updateLast(array, owner); } for (int i = 0; i < len;) { switch (input.readFieldNumber(this)) { case ID_ARRAY_DATA: array[i++] = input.readBytes(); break; case ID_ARRAY_NULLCOUNT: i += input.readUInt32(); break; default: throw new ProtostuffException("Corrupt input."); } } if (0 != input.readFieldNumber(this)) throw new ProtostuffException("Corrupt input."); return array; }
break; case 5: message.someBytes = input.readBytes(); break; case 6:
public void mergeFrom(Input input, SourceWrapper message) throws IOException { for(int number = input.readFieldNumber(this);; number = input.readFieldNumber(this)) { switch(number) { case 0: return; case 1: message.bytes = input.readBytes(); break; default: input.handleUnknownField(number, this); } } }
public void mergeFrom(Input input, CompleteRpcMessage message) throws IOException { for(int number = input.readFieldNumber(this);; number = input.readFieldNumber(this)) { switch(number) { case 0: return; case 1: message.header = input.mergeObject(message.header, RpcHeader.getSchema()); break; case 2: message.protobufBody = input.readBytes(); break; case 3: message.rawBody = input.readBytes(); break; default: input.handleUnknownField(number, this); } } }
public void mergeFrom(Input input, PreparedStatementHandle message) throws IOException { for(int number = input.readFieldNumber(this);; number = input.readFieldNumber(this)) { switch(number) { case 0: return; case 1: message.serverInfo = input.readBytes(); break; default: input.handleUnknownField(number, this); } } }
public void mergeFrom(Input input, UserAuth message) throws IOException { for(int number = input.readFieldNumber(this);; number = input.readFieldNumber(this)) { switch(number) { case 0: return; case 1: message.uid = input.mergeObject(message.uid, UID.getSchema()) ; break; case 2: message.prefix = input.readBytes(); break; case 3: message.authKey = input.readBytes(); break; default: input.handleUnknownField(number, this); } } }
public void mergeFrom(Input input, DatasetField message) throws IOException { for(int number = input.readFieldNumber(this);; number = input.readFieldNumber(this)) { switch(number) { case 0: return; case 1: message.fieldName = input.readString(); break; case 2: message.fieldSchema = input.readBytes(); break; default: input.handleUnknownField(number, this); } } }
public void mergeFrom(Input input, ExtraInfo message) throws IOException { for(int number = input.readFieldNumber(this);; number = input.readFieldNumber(this)) { switch(number) { case 0: return; case 1: message.name = input.readString(); break; case 2: message.data = input.readBytes(); break; default: input.handleUnknownField(number, this); } } }
public void mergeFrom(Input input, FabricMessage message) throws IOException { for(int number = input.readFieldNumber(this);; number = input.readFieldNumber(this)) { switch(number) { case 0: return; case 1: message.protocolId = input.readInt32(); break; case 2: message.innerRpcType = input.readInt32(); break; case 3: message.message = input.readBytes(); break; default: input.handleUnknownField(number, this); } } }
public void mergeFrom(Input input, SchedulingInfo message) throws IOException { for(int number = input.readFieldNumber(this);; number = input.readFieldNumber(this)) { switch(number) { case 0: return; case 1: message.queueId = input.readString(); break; case 2: message.workloadClass = WorkloadClass.valueOf(input.readEnum()); break; case 3: message.additionalInfo = input.readBytes(); break; default: input.handleUnknownField(number, this); } } }
public void mergeFrom(Input input, ConfigurationEntry message) throws IOException { for(int number = input.readFieldNumber(this);; number = input.readFieldNumber(this)) { switch(number) { case 0: return; case 1: message.type = input.readString(); break; case 2: message.value = input.readBytes(); break; case 3: message.version = input.readInt64(); break; case 4: message.tag = input.readString(); break; default: input.handleUnknownField(number, this); } } }
public void mergeFrom(Input input, SharedData message) throws IOException { for(int number = input.readFieldNumber(this);; number = input.readFieldNumber(this)) { switch(number) { case 0: return; case 1: message.majorFragmentId = input.readInt32(); break; case 2: message.operatorId = input.readInt32(); break; case 3: message.name = input.readString(); break; case 4: message.value = input.readBytes(); break; default: input.handleUnknownField(number, this); } } }
public void mergeFrom(Input input, PhysicalDataset message) throws IOException { for(int number = input.readFieldNumber(this);; number = input.readFieldNumber(this)) { switch(number) { case 0: return; case 1: message.formatSettings = input.mergeObject(message.formatSettings, com.dremio.service.namespace.file.proto.FileConfig.getSchema()) ; break; case 2: message.deprecatedDatasetSchema = input.readBytes(); break; case 3: message.isAppendOnly = input.readBool(); break; case 4: message.accelerationSettings = input.mergeObject(message.accelerationSettings, AccelerationSettings.getSchema()) ; break; case 5: message.allowApproxStats = input.readBool(); break; default: input.handleUnknownField(number, this); } } }