public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { Name = input.ReadString(); break; } case 18: { if (polygon_ == null) { polygon_ = new global::Apollo.Hdmap.Polygon(); } input.ReadMessage(polygon_); break; } case 25: { SpeedLimit = input.ReadDouble(); 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(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(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 (polygon_ == null) { polygon_ = new global::Apollo.Hdmap.Polygon(); } input.ReadMessage(polygon_); break; } case 26: { overlapId_.AddEntriesFrom(input, _repeated_overlapId_codec); break; } case 33: { Heading = input.ReadDouble(); break; } } } }
public void MergeFrom(SpeedControl other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.polygon_ != null) { if (polygon_ == null) { polygon_ = new global::Apollo.Hdmap.Polygon(); } Polygon.MergeFrom(other.Polygon); } if (other.SpeedLimit != 0D) { SpeedLimit = other.SpeedLimit; } }
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_); }