@Override public Time readFrom(Input input) throws IOException { return new Time(input.readFixed64()); }
@Override public Time readFrom(Input input) throws IOException { return new Time(input.readFixed64()); }
@Override public long readFixed64() throws IOException { return input.readFixed64(); }
@Override public void transfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeFixed64(number, input.readFixed64(), repeated); }
@Override public void transfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeFixed64(number, input.readFixed64(), repeated); }
@Override public Date readFrom(Input input) throws IOException { return new Date(input.readFixed64()); }
@Override public Date readFrom(Input input) throws IOException { return new Date(input.readFixed64()); }
@Override public Date readFrom(Input input) throws IOException { return new Date(input.readFixed64()); }
@Override public void transfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeFixed64(number, input.readFixed64(), repeated); }
@Override public void transfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeFixed64(number, input.readFixed64(), repeated); }
@Override public void transfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeFixed64(number, input.readFixed64(), repeated); }
if (message.someFixed64 == null) message.someFixed64 = new ArrayList<Long>(); message.someFixed64.add(input.readFixed64()); break; default:
@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(); Date[] array = new Date[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++] = new Date(input.readFixed64()); 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(); Date[] array = new Date[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++] = new Date(input.readFixed64()); 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 void mergeFrom(Input input, UnsignedNumbers message) throws IOException { for (int number = input.readFieldNumber(this); ; number = input.readFieldNumber(this)) { switch (number) { case 0: return; case 1: message.uint32 = input.readUInt32(); break; case 2: message.uint64 = input.readUInt64(); break; case 3: message.fixed32 = input.readFixed32(); break; case 4: message.fixed64 = input.readFixed64(); break; default: input.handleUnknownField(number, this); } } }
break; case 14: message.someFixed64 = input.readFixed64(); break; case 15:
@Override public Object readFrom(Input input) throws IOException { return input.readFixed64(); }
@Override public Time readFrom(Input input) throws IOException { return new Time(input.readFixed64()); }
@Override public void transfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeFixed64(number, input.readFixed64(), repeated); }
@Override public void mergeFrom(Input input, Object message) throws IOException { setter.set(message, input.readFixed64()); }