protobuf package. Others should not use this class directly.
| Modifier and Type | Class and Description |
|---|---|
| public static interface | Internal.BooleanList
A |
| public static interface | Internal.DoubleList
A |
| public static interface | Internal.EnumLite
Interface for an enum value or value descriptor, to be used in FieldSet. |
| public static interface | Internal.EnumLiteMap<T extends Internal.
Interface for an object which maps integers to |
| public static interface | Internal.EnumVerifier
Interface for an object which verifies integers are in range. |
| public static interface | Internal.FloatList
A |
| public static interface | Internal.IntList
A |
| public static class | |
| public static interface | Internal.LongList
A |
| public static class | Internal.MapAdapter<K, V, RealValue>
Wrap around a |
| public static interface | Internal.ProtobufList<E>
Extends |
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| public static final byte[] | EMPTY_BYTE_ARRAY
An empty byte array constant used in generated code. |
| public static final ByteBuffer | EMPTY_BYTE_BUFFER
An empty byte array constant used in generated code. |
| public static final CodedInputStream | EMPTY_CODED_INPUT_STREAM
An empty coded input stream constant used in generated code. |
| pack-priv static final Charset | |
| pack-priv static final Charset |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static byte[] | byteArrayDefaultValue(String bytes)
Helper called by generated code to construct default values for bytes fields. |
| public static ByteBuffer | byteBufferDefaultValue(String bytes)
Helper called by generated code to construct default values for bytes fields. |
| public static ByteString | bytesDefaultValue(String bytes)
Helper called by generated code to construct default values for bytes fields. |
| pack-priv static <T> T | |
| pack-priv static <T> T | checkNotNull(T obj, String message)
Throws an appropriate |
| public static ByteBuffer | copyByteBuffer(ByteBuffer source)
Create a new ByteBuffer and copy all the content of |
| public static boolean | equals(List<byte[]> a, List<byte[]> b)
Helper method for implementing |
| public static boolean | equalsByteBuffer(ByteBuffer a, ByteBuffer b)
Helper method for implementing |
| public static boolean | equalsByteBuffer(List<ByteBuffer> a, List<ByteBuffer> b)
Helper method for implementing |
| public static <T extends MessageLite> T | |
| public static int | |
| public static int | |
| public static int | |
| pack-priv static int | hashCode(byte[] bytes, int offset, int length)
Helper method for implementing |
| public static int | hashCodeByteBuffer(List<ByteBuffer> list)
Helper method for implementing |
| public static int | hashCodeByteBuffer(ByteBuffer bytes)
Helper method for implementing |
| public static int | |
| public static int | hashEnumList(List<? extends Internal.
Helper method for implementing |
| public static int | |
| public static boolean | Returns: whether the byte array is round trippablethe string to check byteString)Helper called by generated code to determine if a byte array is a valid UTF-8 encoded string such that the original bytes can be converted to a String object and then back to a byte array round tripping the bytes without loss. |
| public static boolean | |
| pack-priv static Object | |
| pack-priv static int | partialHash(int h, byte[] bytes, int offset, int length)
Helper method for continuously hashing bytes. |
| public static String | stringDefaultValue(String bytes)
Helper called by generated code to construct default values for string fields. |
| public static byte[] | |
| public static String |