31 package com.google.protobuf;
33 import java.io.IOException;
34 import java.util.List;
42 int READ_DONE = Integer.MAX_VALUE;
47 boolean shouldDiscardUnknownFields();
57 int getFieldNumber() throws IOException;
73 boolean skipField() throws IOException;
79 double readDouble() throws IOException;
85 float readFloat() throws IOException;
91 long readUInt64() throws IOException;
97 long readInt64() throws IOException;
103 int readInt32() throws IOException;
109 long readFixed64() throws IOException;
115 int readFixed32() throws IOException;
121 boolean readBool() throws IOException;
128 String readString() throws IOException;
135 String readStringRequireUtf8() throws IOException;
138 <
T>
T readMessageBySchemaWithCheck(Schema<
T> schema, ExtensionRegistryLite extensionRegistry)
145 <
T>
T readMessage(Class<
T> clazz, ExtensionRegistryLite extensionRegistry) throws IOException;
154 <
T>
T readGroup(Class<
T> clazz, ExtensionRegistryLite extensionRegistry) throws IOException;
158 <
T>
T readGroupBySchemaWithCheck(Schema<
T> schema, ExtensionRegistryLite extensionRegistry)
165 ByteString readBytes() throws IOException;
171 int readUInt32() throws IOException;
177 int readEnum() throws IOException;
183 int readSFixed32() throws IOException;
189 long readSFixed64() throws IOException;
195 int readSInt32() throws IOException;
201 long readSInt64() throws IOException;
209 void readDoubleList(List<
Double>
target) throws IOException;
217 void readFloatList(List<
Float>
target) throws IOException;
225 void readUInt64List(List<Long>
target) throws IOException;
233 void readInt64List(List<Long>
target) throws IOException;
241 void readInt32List(List<Integer>
target) throws IOException;
249 void readFixed64List(List<Long>
target) throws IOException;
257 void readFixed32List(List<Integer>
target) throws IOException;
265 void readBoolList(List<Boolean>
target) throws IOException;
272 void readStringList(List<String>
target) throws IOException;
280 void readStringListRequireUtf8(List<String>
target) throws IOException;
288 <
T>
void readMessageList(
289 List<
T>
target, Schema<
T> schema, ExtensionRegistryLite extensionRegistry) throws IOException;
291 <
T>
void readMessageList(
292 List<
T>
target, Class<
T> targetType, ExtensionRegistryLite extensionRegistry)
303 <
T>
void readGroupList(
304 List<
T>
target, Class<
T> targetType, ExtensionRegistryLite extensionRegistry)
308 <
T>
void readGroupList(
309 List<
T>
target, Schema<
T> targetType, ExtensionRegistryLite extensionRegistry)
317 void readBytesList(List<ByteString>
target) throws IOException;
325 void readUInt32List(List<Integer>
target) throws IOException;
333 void readEnumList(List<Integer>
target) throws IOException;
341 void readSFixed32List(List<Integer>
target) throws IOException;
349 void readSFixed64List(List<Long>
target) throws IOException;
357 void readSInt32List(List<Integer>
target) throws IOException;
365 void readSInt64List(List<Long>
target) throws IOException;
376 MapEntryLite.Metadata<
K, V> mapDefaultEntry,
377 ExtensionRegistryLite extensionRegistry)