public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (mapParam_ == null) { mapParam_ = new global::Apollo.RelativeMap.MapGenerationParam(); } input.ReadMessage(mapParam_); break; } case 18: { if (navigationLane_ == null) { navigationLane_ = new global::Apollo.RelativeMap.NavigationLaneConfig(); } input.ReadMessage(navigationLane_); break; } } } }
public void MergeFrom(RelativeMapConfig other) { if (other == null) { return; } if (other.mapParam_ != null) { if (mapParam_ == null) { mapParam_ = new global::Apollo.RelativeMap.MapGenerationParam(); } MapParam.MergeFrom(other.MapParam); } if (other.navigationLane_ != null) { if (navigationLane_ == null) { navigationLane_ = new global::Apollo.RelativeMap.NavigationLaneConfig(); } NavigationLane.MergeFrom(other.NavigationLane); } }