@Override public long readInt64() throws IOException { return input.readInt64(); }
@Override public Long readFrom(Input input) throws IOException { return Long.valueOf(input.readInt64()); }
@Override public Long readFrom(Input input) throws IOException { return Long.valueOf(input.readInt64()); }
@Override public Long readFrom(Input input) throws IOException { return Long.valueOf(input.readInt64()); }
@Override public void transfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeInt64(number, input.readInt64(), repeated); }
@Override public void transfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeInt64(number, input.readInt64(), repeated); }
@Override public void transfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeInt64(number, input.readInt64(), repeated); }
protected Object readPrimitiveFrom(Input input, Object owner, int len) throws IOException { long[] array = new long[len]; if (input instanceof GraphInput) { // update the actual reference. ((GraphInput) input).updateLast(array, owner); } for (int i = 0; i < len; i++) { if (ID_ARRAY_DATA != input.readFieldNumber(this)) throw new ProtostuffException("Corrupt input."); array[i] = input.readInt64(); } if (0 != input.readFieldNumber(this)) throw new ProtostuffException("Corrupt input."); return array; }
protected Object readPrimitiveFrom(Input input, Object owner, int len) throws IOException { long[] array = new long[len]; if (input instanceof GraphInput) { // update the actual reference. ((GraphInput) input).updateLast(array, owner); } for (int i = 0; i < len; i++) { if (ID_ARRAY_DATA != input.readFieldNumber(this)) throw new ProtostuffException("Corrupt input."); array[i] = input.readInt64(); } if (0 != input.readFieldNumber(this)) throw new ProtostuffException("Corrupt input."); return array; }
protected Object readBoxedFrom(Input input, Object owner, int len) throws IOException { final Long[] array = new Long[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.readInt64(); 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; }
protected Object readBoxedFrom(Input input, Object owner, int len) throws IOException { final Long[] array = new Long[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.readInt64(); 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; }
if (message.someLong == null) message.someLong = new ArrayList<Long>(); message.someLong.add(input.readInt64()); break; default:
@Override public void mergeFrom(Input input, PojoWithBiggerByteArray message) throws IOException { for (int number = input.readFieldNumber(this);; number = input.readFieldNumber(this)) { switch (number) { case 0: return; case 1: message.id = input.readInt32(); break; case 2: message.b = input.readByteArray(); break; case 3: message.ts = input.readInt64(); break; default: input.handleUnknownField(number, this); } } }
@Override public void mergeFrom(Input input, Baz message) throws IOException { for (int number = input.readFieldNumber(this);; number = input.readFieldNumber(this)) { switch (number) { case 0: return; case 1: message.id = input.readInt32(); break; case 2: message.name = input.readString(); break; case 3: message.timestamp = input.readInt64(); break; default: input.handleUnknownField(number, this); } } }
break; case 11: message.someInt64 = input.readInt64(); break; case 12:
break; case 9: message.someLong = input.readInt64(); break; default:
@Override public Object readFrom(Input input) throws IOException { return input.readInt64(); }
@Override public void mergeFrom(Input input, Object message) throws IOException { setter.set(message, input.readInt64()); }
public void mergeFrom(Input input, SearchConfiguration message) throws IOException { for(int number = input.readFieldNumber(this);; number = input.readFieldNumber(this)) { switch(number) { case 0: return; case 1: message.lastWakeupTime = input.readInt64(); break; default: input.handleUnknownField(number, this); } } }
public void mergeFrom(Input input, HashAggSpill message) throws IOException { for(int number = input.readFieldNumber(this);; number = input.readFieldNumber(this)) { switch(number) { case 0: return; case 1: message.memoryUse = input.readInt64(); break; default: input.handleUnknownField(number, this); } } }