package androidx.datastore.preferences.protobuf; import androidx.datastore.preferences.protobuf.MapEntryLite; import java.io.IOException; import java.util.List; import java.util.Map; /* loaded from: classes.dex */ interface Writer { public enum FieldOrder { ASCENDING, DESCENDING } FieldOrder fieldOrder(); void writeBool(int i, boolean z) throws IOException; void writeBoolList(int i, List list, boolean z) throws IOException; void writeBytes(int i, ByteString byteString) throws IOException; void writeBytesList(int i, List list) throws IOException; void writeDouble(int i, double d) throws IOException; void writeDoubleList(int i, List list, boolean z) throws IOException; @Deprecated void writeEndGroup(int i) throws IOException; void writeEnum(int i, int i2) throws IOException; void writeEnumList(int i, List list, boolean z) throws IOException; void writeFixed32(int i, int i2) throws IOException; void writeFixed32List(int i, List list, boolean z) throws IOException; void writeFixed64(int i, long j) throws IOException; void writeFixed64List(int i, List list, boolean z) throws IOException; void writeFloat(int i, float f) throws IOException; void writeFloatList(int i, List list, boolean z) throws IOException; @Deprecated void writeGroup(int i, Object obj) throws IOException; @Deprecated void writeGroup(int i, Object obj, Schema schema) throws IOException; @Deprecated void writeGroupList(int i, List list) throws IOException; @Deprecated void writeGroupList(int i, List list, Schema schema) throws IOException; void writeInt32(int i, int i2) throws IOException; void writeInt32List(int i, List list, boolean z) throws IOException; void writeInt64(int i, long j) throws IOException; void writeInt64List(int i, List list, boolean z) throws IOException; void writeMap(int i, MapEntryLite.Metadata metadata, Map map) throws IOException; void writeMessage(int i, Object obj) throws IOException; void writeMessage(int i, Object obj, Schema schema) throws IOException; void writeMessageList(int i, List list) throws IOException; void writeMessageList(int i, List list, Schema schema) throws IOException; void writeMessageSetItem(int i, Object obj) throws IOException; void writeSFixed32(int i, int i2) throws IOException; void writeSFixed32List(int i, List list, boolean z) throws IOException; void writeSFixed64(int i, long j) throws IOException; void writeSFixed64List(int i, List list, boolean z) throws IOException; void writeSInt32(int i, int i2) throws IOException; void writeSInt32List(int i, List list, boolean z) throws IOException; void writeSInt64(int i, long j) throws IOException; void writeSInt64List(int i, List list, boolean z) throws IOException; @Deprecated void writeStartGroup(int i) throws IOException; void writeString(int i, String str) throws IOException; void writeStringList(int i, List list) throws IOException; void writeUInt32(int i, int i2) throws IOException; void writeUInt32List(int i, List list, boolean z) throws IOException; void writeUInt64(int i, long j) throws IOException; void writeUInt64List(int i, List list, boolean z) throws IOException; }