31 package com.google.protobuf;
33 import java.io.IOException;
34 import java.util.List;
54 void writeSFixed32(
int fieldNumber,
int value)
throws IOException;
57 void writeInt64(
int fieldNumber,
long value)
throws IOException;
60 void writeSFixed64(
int fieldNumber,
long value)
throws IOException;
63 void writeFloat(
int fieldNumber,
float value)
throws IOException;
66 void writeDouble(
int fieldNumber,
double value)
throws IOException;
69 void writeEnum(
int fieldNumber,
int value)
throws IOException;
72 void writeUInt64(
int fieldNumber,
long value)
throws IOException;
75 void writeInt32(
int fieldNumber,
int value)
throws IOException;
78 void writeFixed64(
int fieldNumber,
long value)
throws IOException;
81 void writeFixed32(
int fieldNumber,
int value)
throws IOException;
84 void writeBool(
int fieldNumber,
boolean value)
throws IOException;
93 void writeUInt32(
int fieldNumber,
int value)
throws IOException;
96 void writeSInt32(
int fieldNumber,
int value)
throws IOException;
99 void writeSInt64(
int fieldNumber,
long value)
throws IOException;
102 void writeMessage(
int fieldNumber, Object
value)
throws IOException;
105 void writeMessage(
int fieldNumber, Object
value, Schema schema)
throws IOException;
113 void writeGroup(
int fieldNumber, Object
value)
throws IOException;
121 void writeGroup(
int fieldNumber, Object
value, Schema schema)
throws IOException;
129 void writeStartGroup(
int fieldNumber)
throws IOException;
137 void writeEndGroup(
int fieldNumber)
throws IOException;
140 void writeInt32List(
int fieldNumber, List<Integer>
value,
boolean packed)
throws IOException;
143 void writeFixed32List(
int fieldNumber, List<Integer>
value,
boolean packed)
throws IOException;
146 void writeInt64List(
int fieldNumber, List<Long>
value,
boolean packed)
throws IOException;
149 void writeUInt64List(
int fieldNumber, List<Long>
value,
boolean packed)
throws IOException;
152 void writeFixed64List(
int fieldNumber, List<Long>
value,
boolean packed)
throws IOException;
155 void writeFloatList(
int fieldNumber, List<Float>
value,
boolean packed)
throws IOException;
158 void writeDoubleList(
int fieldNumber, List<Double>
value,
boolean packed)
throws IOException;
161 void writeEnumList(
int fieldNumber, List<Integer>
value,
boolean packed)
throws IOException;
164 void writeBoolList(
int fieldNumber, List<Boolean>
value,
boolean packed)
throws IOException;
167 void writeStringList(
int fieldNumber, List<String>
value)
throws IOException;
170 void writeBytesList(
int fieldNumber, List<ByteString>
value)
throws IOException;
173 void writeUInt32List(
int fieldNumber, List<Integer>
value,
boolean packed)
throws IOException;
176 void writeSFixed32List(
int fieldNumber, List<Integer>
value,
boolean packed)
throws IOException;
179 void writeSFixed64List(
int fieldNumber, List<Long>
value,
boolean packed)
throws IOException;
182 void writeSInt32List(
int fieldNumber, List<Integer>
value,
boolean packed)
throws IOException;
185 void writeSInt64List(
int fieldNumber, List<Long>
value,
boolean packed)
throws IOException;
188 void writeMessageList(
int fieldNumber, List<?>
value)
throws IOException;
191 void writeMessageList(
int fieldNumber, List<?>
value, Schema schema)
throws IOException;
199 void writeGroupList(
int fieldNumber, List<?>
value)
throws IOException;
207 void writeGroupList(
int fieldNumber, List<?>
value, Schema schema)
throws IOException;
214 void writeMessageSetItem(
int fieldNumber, Object
value)
throws IOException;