public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (id_ == null) { id_ = new global::Apollo.Hdmap.Id(); } input.ReadMessage(id_); break; } case 18: { stopLine_.AddEntriesFrom(input, _repeated_stopLine_codec); break; } case 26: { overlapId_.AddEntriesFrom(input, _repeated_overlapId_codec); break; } } } }
public void MergeFrom(Signal other) { if (other == null) { return; } if (other.id_ != null) { if (id_ == null) { id_ = new global::Apollo.Hdmap.Id(); } Id.MergeFrom(other.Id); } if (other.boundary_ != null) { if (boundary_ == null) { boundary_ = new global::Apollo.Hdmap.Polygon(); } Boundary.MergeFrom(other.Boundary); } subsignal_.Add(other.subsignal_); overlapId_.Add(other.overlapId_); if (other.Type != 0) { Type = other.Type; } stopLine_.Add(other.stopLine_); }
public void MergeFrom(Road other) { if (other == null) { return; } if (other.id_ != null) { if (id_ == null) { id_ = new global::Apollo.Hdmap.Id(); } Id.MergeFrom(other.Id); } section_.Add(other.section_); if (other.junctionId_ != null) { if (junctionId_ == null) { junctionId_ = new global::Apollo.Hdmap.Id(); } JunctionId.MergeFrom(other.JunctionId); } if (other.Type != 0) { Type = other.Type; } }
public void MergeFrom(Subsignal other) { if (other == null) { return; } if (other.id_ != null) { if (id_ == null) { id_ = new global::Apollo.Hdmap.Id(); } Id.MergeFrom(other.Id); } if (other.Type != 0) { Type = other.Type; } if (other.location_ != null) { if (location_ == null) { location_ = new global::Apollo.Common.PointENU(); } Location.MergeFrom(other.Location); } }
public void MergeFrom(ParkingSpace other) { if (other == null) { return; } if (other.id_ != null) { if (id_ == null) { id_ = new global::Apollo.Hdmap.Id(); } Id.MergeFrom(other.Id); } if (other.polygon_ != null) { if (polygon_ == null) { polygon_ = new global::Apollo.Hdmap.Polygon(); } Polygon.MergeFrom(other.Polygon); } overlapId_.Add(other.overlapId_); if (other.Heading != 0D) { Heading = other.Heading; } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (id_ == null) { id_ = new global::Apollo.Hdmap.Id(); } input.ReadMessage(id_); break; } case 18: { if (boundary_ == null) { boundary_ = new global::Apollo.Hdmap.Polygon(); } input.ReadMessage(boundary_); break; } case 26: { subsignal_.AddEntriesFrom(input, _repeated_subsignal_codec); break; } case 34: { overlapId_.AddEntriesFrom(input, _repeated_overlapId_codec); break; } case 40: { type_ = (global::Apollo.Hdmap.Signal.Types.Type)input.ReadEnum(); break; } case 50: { stopLine_.AddEntriesFrom(input, _repeated_stopLine_codec); break; } } } }
public void MergeFrom(RoadROIBoundary other) { if (other == null) { return; } if (other.id_ != null) { if (id_ == null) { id_ = new global::Apollo.Hdmap.Id(); } Id.MergeFrom(other.Id); } roadBoundaries_.Add(other.roadBoundaries_); }
public void MergeFrom(YieldSign other) { if (other == null) { return; } if (other.id_ != null) { if (id_ == null) { id_ = new global::Apollo.Hdmap.Id(); } Id.MergeFrom(other.Id); } stopLine_.Add(other.stopLine_); overlapId_.Add(other.overlapId_); }
public void MergeFrom(SpeedBump other) { if (other == null) { return; } if (other.id_ != null) { if (id_ == null) { id_ = new global::Apollo.Hdmap.Id(); } Id.MergeFrom(other.Id); } overlapId_.Add(other.overlapId_); position_.Add(other.position_); }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (id_ == null) { id_ = new global::Apollo.Hdmap.Id(); } input.ReadMessage(id_); break; } case 18: { section_.AddEntriesFrom(input, _repeated_section_codec); break; } case 26: { if (junctionId_ == null) { junctionId_ = new global::Apollo.Hdmap.Id(); } input.ReadMessage(junctionId_); break; } case 32: { type_ = (global::Apollo.Hdmap.Road.Types.Type)input.ReadEnum(); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (id_ == null) { id_ = new global::Apollo.Hdmap.Id(); } input.ReadMessage(id_); break; } case 16: { type_ = (global::Apollo.Hdmap.Subsignal.Types.Type)input.ReadEnum(); break; } case 26: { if (location_ == null) { location_ = new global::Apollo.Common.PointENU(); } input.ReadMessage(location_); break; } } } }
public void MergeFrom(Junction other) { if (other == null) { return; } if (other.id_ != null) { if (id_ == null) { id_ = new global::Apollo.Hdmap.Id(); } Id.MergeFrom(other.Id); } if (other.polygon_ != null) { if (polygon_ == null) { polygon_ = new global::Apollo.Hdmap.Polygon(); } Polygon.MergeFrom(other.Polygon); } overlapId_.Add(other.overlapId_); }
public void MergeFrom(RoadSection other) { if (other == null) { return; } if (other.id_ != null) { if (id_ == null) { id_ = new global::Apollo.Hdmap.Id(); } Id.MergeFrom(other.Id); } laneId_.Add(other.laneId_); if (other.boundary_ != null) { if (boundary_ == null) { boundary_ = new global::Apollo.Hdmap.RoadBoundary(); } Boundary.MergeFrom(other.Boundary); } }