void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (camera_ == null) { Camera = new global::Camera(); } input.ReadMessage(Camera); break; } case 18: { points_.AddEntriesFrom(ref input, _repeated_points_codec); break; } case 24: { State = (global::TrackingState)input.ReadEnum(); break; } } } }
public void MergeFrom(Request other) { if (other == null) { return; } if (other.UserId != 0UL) { UserId = other.UserId; } if (other.camera_ != null) { if (camera_ == null) { Camera = new global::Camera(); } Camera.MergeFrom(other.Camera); } if (other.frame_ != null) { if (frame_ == null) { Frame = new global::PNGFrame(); } Frame.MergeFrom(other.Frame); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(TrackResult other) { if (other == null) { return; } if (other.camera_ != null) { if (camera_ == null) { Camera = new global::Camera(); } Camera.MergeFrom(other.Camera); } points_.Add(other.points_); if (other.State != global::TrackingState.NoImagesYet) { State = other.State; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { UserId = input.ReadUInt64(); break; } case 18: { if (camera_ == null) { Camera = new global::Camera(); } input.ReadMessage(Camera); break; } case 26: { if (frame_ == null) { Frame = new global::PNGFrame(); } input.ReadMessage(Frame); break; } } } #endif }
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { UserId = input.ReadUInt64(); break; } case 18: { if (camera_ == null) { Camera = new global::Camera(); } input.ReadMessage(Camera); break; } case 26: { if (frame_ == null) { Frame = new global::PNGFrame(); } input.ReadMessage(Frame); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (camera_ == null) { Camera = new global::Camera(); } input.ReadMessage(Camera); break; } case 18: { points_.AddEntriesFrom(input, _repeated_points_codec); break; } case 24: { State = (global::TrackingState)input.ReadEnum(); break; } } } #endif }