Home
last modified time | relevance | path

Searched refs:ProtoBufType (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/src/com/google/common/io/protocol/
DProtoBuf.java65 private ProtoBufType msgType;
79 public ProtoBuf(ProtoBufType type) { in ProtoBuf()
95 return new ProtoBuf((ProtoBufType) getType().getData(tag)); in createGroup()
166 return new ProtoBuf((ProtoBufType) msgType.getData(tag)); in newProtoBufForTag()
180 return ((Boolean) getObject(tag, ProtoBufType.TYPE_BOOL)) in getBool()
188 return ((Boolean) getObject(tag, index, ProtoBufType.TYPE_BOOL)) in getBool()
196 return (byte[]) getObject(tag, ProtoBufType.TYPE_DATA); in getBytes()
203 return (byte[]) getObject(tag, index, ProtoBufType.TYPE_DATA); in getBytes()
210 return (int) ((Long) getObject(tag, ProtoBufType.TYPE_INT32)).longValue(); in getInt()
218 ProtoBufType.TYPE_INT32)).longValue(); in getInt()
[all …]
DProtoBufType.java13 public class ProtoBufType { class
53 public ProtoBufType() { in ProtoBufType() method in ProtoBufType
60 public ProtoBufType(String typeName) { in ProtoBufType() method in ProtoBufType
76 public ProtoBufType addElement(int optionsAndType, int tag, Object data) { in addElement()
139 ProtoBufType other = (ProtoBufType) object; in equals()
DProtoBufUtil.java154 public static int readNextProtoBuf(ProtoBufType umbrellaType, in readNextProtoBuf()
166 result.setType((ProtoBufType) umbrellaType.getData(tag)); in readNextProtoBuf()
183 public static ProtoBuf readProtoBufResponse(ProtoBufType protoBufType, in readProtoBufResponse()