Lines Matching defs:data
3 // Protocol Buffers - Google's data interchange format
69 public function __construct($data = NULL)
75 $this->initWithDescriptor($data);
78 if (is_array($data)) {
79 $this->mergeFromArray($data);
80 } else if (!empty($data)) {
340 $data = NULL;
341 if (!$input->readRaw($length, $data)) {
343 "Unexpected EOF inside length delimited data.");
763 * @param string $data Binary protobuf data.
765 * @throws \Exception Invalid data.
767 public function mergeFromString($data)
769 $input = new CodedInputStream($data);
781 * @param string $data Json protobuf data.
783 * @throws \Exception Invalid data.
785 public function mergeFromJsonString($data, $ignore_unknown = false)
787 $input = new RawInputStream($data);
948 "Invalid data type for int32 field");
952 "Invalid data type for int32 field");
970 "Invalid data type for uint32 field");
974 "Invalid data type for int32 field");
989 "Invalid data type for int64 field");
993 "Invalid data type for int64 field");
1011 "Invalid data type for int64 field");
1015 "Invalid data type for int64 field");
1045 * This method will trigger an error if it is passed data that cannot
1047 * must receive data that is either a string or a StringValue object.
1546 * @return string Serialized binary protobuf data.
1557 * @return string Serialized json protobuf data.