public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (position_ == null) { position_ = new global::Apollo.Common.Pose(); } input.ReadMessage(position_); break; } case 18: { if (size_ == null) { size_ = new global::Apollo.Common.Vector3(); } input.ReadMessage(size_); break; } } } }
public void MergeFrom(BoundingBox3D other) { if (other == null) { return; } if (other.position_ != null) { if (position_ == null) { position_ = new global::Apollo.Common.Pose(); } Position.MergeFrom(other.Position); } if (other.size_ != null) { if (size_ == null) { size_ = new global::Apollo.Common.Vector3(); } Size.MergeFrom(other.Size); } }