public class Writer
extends Object
-
Constructor Summary
Constructors
-
Method Summary
static void
write(byte[] value,
com.google.protobuf.CodedOutputStream out)
static void
write(Message value,
com.google.protobuf.CodedOutputStream out)
static void
write(Numeric value,
com.google.protobuf.CodedOutputStream out)
static void
static void
write(Boolean value,
com.google.protobuf.CodedOutputStream out)
static void
write(Double value,
com.google.protobuf.CodedOutputStream out)
static void
write(Float value,
com.google.protobuf.CodedOutputStream out)
static void
write(Integer number,
byte[] value,
com.google.protobuf.CodedOutputStream out)
static void
write(Integer value,
com.google.protobuf.CodedOutputStream out)
static void
static void
static void
static void
static void
static void
static void
static void
static <M> void
static <T> void
static <K,
V> void
write(Integer number,
Map<K,V> value,
com.google.protobuf.CodedOutputStream out,
BiConsumer<Integer,K> keySerializer,
BiConsumer<Integer,V> valueSerializer,
Function<K,Integer> keySizeComputer,
Function<V,Integer> valueSizeComputer)
static void
write(Long value,
com.google.protobuf.CodedOutputStream out)
static void
write(String value,
com.google.protobuf.CodedOutputStream out)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
write
public static void write(Boolean value,
com.google.protobuf.CodedOutputStream out)
-
write
public static void write(Integer value,
com.google.protobuf.CodedOutputStream out)
-
write
public static void write(Long value,
com.google.protobuf.CodedOutputStream out)
-
write
public static void write(Float value,
com.google.protobuf.CodedOutputStream out)
-
write
public static void write(Double value,
com.google.protobuf.CodedOutputStream out)
-
write
public static void write(Numeric value,
com.google.protobuf.CodedOutputStream out)
-
write
public static void write(String value,
com.google.protobuf.CodedOutputStream out)
-
write
public static void write(byte[] value,
com.google.protobuf.CodedOutputStream out)
-
write
public static void write(Message value,
com.google.protobuf.CodedOutputStream out)
-
write
public static void write(Integer number,
Boolean value,
com.google.protobuf.CodedOutputStream out)
-
write
public static void write(Integer number,
Integer value,
com.google.protobuf.CodedOutputStream out)
-
write
public static void write(Integer number,
Long value,
com.google.protobuf.CodedOutputStream out)
-
write
public static void write(Integer number,
Float value,
com.google.protobuf.CodedOutputStream out)
-
write
public static void write(Integer number,
Double value,
com.google.protobuf.CodedOutputStream out)
-
write
public static void write(Integer number,
Numeric value,
com.google.protobuf.CodedOutputStream out)
-
write
public static void write(Integer number,
String value,
com.google.protobuf.CodedOutputStream out)
-
write
public static void write(Integer number,
byte[] value,
com.google.protobuf.CodedOutputStream out)
-
write
public static void write(Integer number,
Message value,
com.google.protobuf.CodedOutputStream out)
-
write
public static void write(Numeric numeric,
Message value,
com.google.protobuf.CodedOutputStream out)
-
-
write
public static <T> void write(Integer number,
List<T> value,
com.google.protobuf.CodedOutputStream out,
BiConsumer<T,com.google.protobuf.CodedOutputStream> serializer,
Function<T,Integer> sizeComputer)
-
write
public static <K,
V> void write(Integer number,
Map<K,V> value,
com.google.protobuf.CodedOutputStream out,
BiConsumer<Integer,K> keySerializer,
BiConsumer<Integer,V> valueSerializer,
Function<K,Integer> keySizeComputer,
Function<V,Integer> valueSizeComputer)